[Live-devel] fPlayTimePerFrame

sunil sunil cbitsunil at gmail.com
Fri Sep 26 22:46:02 PDT 2008


Hi Ross,
Thanks for the reply.
One more question!!
After receiving the data at the receiver side software, do I need to
manipulate
the timestamp value or any other field in TS packet for the TV decoder to
work properly.

Sunil.

On Fri, Sep 26, 2008 at 10:40 PM, Ross Finlayson <finlayson at live555.com>wrote:

> At 04:02 AM 9/26/2008, you wrote:
>
>> yeah thats true.But how can I get playTimePerFrame value so that I can
>> pass it to "createNew".May be this is a basic question.
>> But I am a newbie.
>> do I need to  calculate playTimePerFrame  from the TS file.
>>
>
> If you are streaming a Transort Stream file then you *do not* pass a
> "playTimePerFrame" parameter to "ByteStreamFileSource::createNew()".  This
> is because each (188-byte) Transport Stream packet *does not* have a fixed
> duration.  Instead, we use a separate "MPEG2TransportStreamFramer" object to
> compute, on the fly, the duration of each Transport Stream packet.
>
> If you are streaming a Transport Stream file, you should not modify the
> existing code - it already works.
>
>
>
>        Ross Finlayson
>        Live Networks, Inc. (LIVE555.COM <http://live555.com/>)
>        <http://www.live555.com/>
>
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20080927/f2d6a628/attachment.html>


More information about the live-devel mailing list