[Live-devel] How to directly play the received audio?

Ross Finlayson finlayson at live555.com
Sat Apr 22 23:59:38 PDT 2006


At 03:44 PM 4/22/2006, you wrote:
>Hi folks,
>I'm new here and I've a very basic question

That's OK, but please ask it once only.

>- I 'grepped' the archives for
>this but couldnt get results - Is it possible to play the streaming audio
>that I receive directly on the computer rather than write it to a file or
>stdout?

Yes, but you need audio decoder/player software.

If you have audio decoder/player software that reads from 'stdin', 
then you can just pipe the output of "openRTSP -a" into it.

Otherwise, you will need to write your own 'sink' class (a subclass 
of "MediaSink") that decodes and plays the audio.


	Ross Finlayson
	Live Networks, Inc. (LIVE555.COM)
	<http://www.live555.com/>



More information about the live-devel mailing list