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

Pannaman, Jonathan Jonathan.Pannaman at espn.com
Wed Sep 30 22:29:38 PDT 2009


Can I do this as soon as I get a block and as fast as a for loop will pass off the 7xTS packets. In other words will the Framer buffer until it needs to go?

Thanks

Jon

________________________________
From: live-devel-bounces at ns.live555.com
To: LIVE555 Streaming Media - development & use
Sent: Thu Oct 01 00:47:49 2009
Subject: Re: [Live-devel] TS over UDP (or RTP)

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/

________________________________
Please consider the environment before printing this e-mail.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20090930/67271b90/attachment.html>


More information about the live-devel mailing list