[Live-devel] Using openRTP for receiving MPEG TS

Ross Finlayson finlayson at live555.com
Tue Jul 22 14:55:48 PDT 2014


> I am able to use the openRTSP client for receiving H.264 and MP4 data from an IP camera fine, but cannot seem to find a way to receive MPEG TS from the same camera.  Is this a supported feature of openRTSP?

No.

However, you could write your own RTSP client (perhaps using the "testRTSPClient" demo application as a model) that feeds the incoming video and audio data streams into a Transport Stream.  It would do this by first creating a "MPEG2TransportStreamFromESSource", then - using the "addNewVideoSource()" and "addNewAudioSource()" member functions - adding each of the input streams to it.  You could then feed the "MPEG2TransportStreamFromESSource" object into a "FileSink" (or some other 'sink' object, if you wish), and then call "startPlaying()" on that.


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20140722/7335fdd3/attachment.html>


More information about the live-devel mailing list