[Live-devel] RTP header in an MPEG2-TS
Zahira Ammarguellat
zammargu at marvell.com
Thu Dec 6 09:22:31 PST 2012
Hello Ross,
Can you please tell me where exactly in testMPEG2TransportReceiver, the RTP headers are extracted? Or where the RTP packets are transmitted to the user without RTP headers?
Thanks,
-Zahira
From: live-devel-bounces at ns.live555.com [mailto:live-devel-bounces at ns.live555.com] On Behalf Of Ross Finlayson
Sent: Monday, November 05, 2012 7:54 AM
To: LIVE555 Streaming Media - development & use
Subject: Re: [Live-devel] RTP header in an MPEG2-TS
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/20121206/5f86d395/attachment-0001.html>
More information about the live-devel
mailing list