[xiph-rtp] Fragmenting in RTP versus letting UDP fragment

Jack Moffitt jack at xiph.org
Sun Oct 31 10:54:08 PST 2004


> In terms of performance they are very similar. If UDP handles the
> fragmentation itself, the big logical packet is lost if any of the
> physical packets is lost. The same happens with RTP, because a packet
> is an undivisible unit of decoding, and thus if a part is lost, then
> one cannot decode anything. It could make sense to do some sort of
> "bitpeeling", so that if the second part of a Vorbis packet is lost,
> one can use the first to play an approximation of the intended sound.

No.  If a UDP packet fragment is lost, you've lost every fragment you've
received and must collect them all again.  If an RTP fragment is lost,
you need only receive the part you didn't get.  That's the whole point.

jack.


More information about the xiph-rtp mailing list