[Live-devel] Want to receive packet directly not file.
Ross Finlayson
finlayson at live555.com
Sat Jun 11 08:22:43 PDT 2011
>I am making a RTSP Client player with using the liveMedia library.
>My reference code is openRTSP, but it receives the RTP data in a File.
>
>I want to receive the RTP data(raw or Payload OK) directly and
>will put the decoder directly.
>
>I saw AuxilliaryReadHandler() for this, but I read somewhere this
>function is not good and it will be removed soon.
>
>Please tell me how to do it.
Use the "-v" option (to output video-only to stdout), or the "-a"
option (to output audio only to stdout), and then pipe it to a
decoder application (that reads from stdin).
If you can't do this, you'll need to write your own "MediaSink"
subclass, and use that instead.
--
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
More information about the live-devel
mailing list