[Live-devel] Live555 MPEG2 Transport Stream packet loss

Ross Finlayson finlayson at live555.com
Mon Apr 30 12:49:39 PDT 2007


>We are wondering if either TS or RTP provide some means of forward error
>correction

No, not at present.  However, there is ongoing work in the IETF (the 
"FECFRAME" working group) towards standardizing FEC on media streams. 
(This FEC would occur just above the UDP level, so could be applied 
to raw-UDP Transport Streams, as well as RTP streams (of any payload 
type).)

>Re: Are you watching the video in real time or just recording it?  you
>could use openRTSP to record the video stream and see if it helps at all to
>do this.  in openRTSP you can adjust the amount of time to wait for a late
>packet.

Not really.  If incoming packets are not being reordered on the 
network, then the RTP reception code (regardless of the application) 
will wait indefinitely for RTP packets to arrive; there is no concept 
of a 'late' packet.

If packets *are* being reordered on the network (a rare occurrence), 
then the code will wait up to a certain time (default: 100ms) for a 
'late' packet to arrive.  You can change this time, but note, once 
again, that it is relevant only if packets are arriving out of order 
- which rarely happens.
-- 

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


More information about the live-devel mailing list