[Live-devel] RTP header in an MPEG2-TS

Ross Finlayson finlayson at live555.com
Mon Nov 5 04:54:24 PST 2012


> I have an encapsulated MPEG2-TS input stream with RTP header.

By this I assume you mean that your input stream consists of RTP packets containing MPEG-2 TS data.


> Is LiveMedia able to parse such stream? Can it extract those RTP headers and return the stream without them?

Yes.  Note, for example, the code for the "testMPEG2TransportReceiver" demo application, which does this - it receives a stream of RTP packets that contain MPEG-2 Transport Stream data, and writes the Transport Stream data to a file.

See "testProgs/testMPEG2TransportReceiver.cpp".  Of course, to use it on your stream, you'll probably need to change "sessionAddressStr" and "rtpPortNum".


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/20121105/7ddd867e/attachment.html>


More information about the live-devel mailing list