Re: TS over UDP (or RTP)
Pannaman, Jonathan <Jonathan.Pannaman <at> espn.com>
2009-10-01 22:30:14 GMT
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
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.
_______________________________________________
live-devel mailing list
live-devel <at> lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel