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

Pannaman, Jonathan Jonathan.Pannaman at espn.com
Thu Oct 1 15:30:14 PDT 2009


Sorry I wrote that having not looked at the library for a while, reviewing it today however I have some different questions.

The motivation for the question was thinking there was a method that I called to hand over a buffer with a 7xTS packet in it, my concern was that if I did that would I have to control the flow so as not to overrun the framers buffer. In the sample I have though it looks like the MPEG2TransportStreamFramer pulls data from a FramedSource.

My question then is do I have to create a FramedSource derived class and which methods do I have to implement/override? If you can point me at a example of this it would be great.

Thanks


Jon Pannaman


________________________________
From: live-devel-bounces at ns.live555.com [mailto:live-devel-bounces at ns.live555.com] On Behalf Of Ross Finlayson
Sent: Wednesday, September 30, 2009 10:35 PM
To: LIVE555 Streaming Media - development & use
Subject: Re: [Live-devel] TS over UDP (or RTP)

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?

I don't really understand your question.

Just set up a standard LIVE555 data chain:
        your-7-transport-packet-source -> MPEG2TransportStreamFramer -> SimpleRTPSink

Because of the "MPEG2TransportStreamFramer" object, data will end up getting 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/20091001/b1143717/attachment.html>


More information about the live-devel mailing list