[Live-devel] Discarding out-of-order frames

Ross Finlayson finlayson at live555.com
Wed Feb 6 00:36:13 PST 2008


>while streaming MPEG2 or MPEG4, when do out-of-order or too late
>arriving frames get discarded?
>For example, I guess that an I-frame experiencing a delay of 1 second on
>its way will not be of use any more.
>I had a look at MultiFramedRTPSource and ReorderingPacketBuffer. Is
>ReorderingPacketBuffer's fThresholdTime the time after which an
>out-of-order arriving frame gets discarded?

Yes.  The default value is 100ms, but you can change this using the 
function "RTPSource:: setPacketReorderingThresholdTime()".

Note that this applies only to out-of-order packets.  Packets that 
are in order, but just 'slow', will always get delivered.
-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/


More information about the live-devel mailing list