[Live-devel] TS over UDP (or RTP)

Ross Finlayson finlayson at live555.com
Wed Sep 30 21:47:49 PDT 2009


>I would like to use the live library to integrate the reliable 
>sending function into my DS filter but can't work out the right way 
>to do this. Can anyone give me an example or direction on the right 
>way to do this. The main thing I struggle with if how to determine 
>the timing of sending the data., Do I need to look at PTS and DTS 
>timestamps? Or can I do something simpler?

Yes, you can feed your Transport Stream data (after you've 
accumulated it into groups of 7 Transport Packets) into a 
"MPEG2TransportStreamFramer" object.  You can then feed this into 
your "RTPSink" (a "SimpleRTPSink").

The "MPEG2TransportStreamFramer" will figure out a proper duration 
for each chunk of data, so that it gets streamed at an appropriate 
rate.
-- 

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/20090930/830e4f2c/attachment.html>


More information about the live-devel mailing list