[vlc-devel] Re: [Patch] RTP reordering - dropping of old/duplicate packets

Mark Moriarty mfmbusiness at earthlink.net
Thu Sep 29 23:20:07 CEST 2005

Be careful about anything reordering RTP -- the whole idea is Real Time --
adding buffers is bad juju for people who rely on it to be just that. 

-----Original Message-----
From: vlc-devel-bounce at videolan.org [mailto:vlc-devel-bounce at videolan.org]
On Behalf Of Marian Durkovic
Sent: Thursday, September 29, 2005 10:10 AM
To: vlc-devel at videolan.org
Subject: [vlc-devel] [Patch] RTP reordering - dropping of old/duplicate

Hi all,

  I've added a bit of code to the UDP/RTP input, which assures that old or
duplicate RTP packets are trashed. When the network performs packet
reordering, only one discontinuity happens instead of 3 before - since the
old packet is trashed. If multiple copies of the same packet are received,
only one is used and all the others are trashed.

  This is still not the full solution, since in case of packet reordering
this code is not able to restore the correct order and still creates one
discontinuity. But to avoid this, some kind of buffer needs to be
implemented, which would be able to hold the early packets until the correct
one arrives.

  Please find the patch in the attachment.

	With kind regards,


----                                                                  ----
----   Marian Durkovic                       network  manager         ----
----                                                                  ----
----   Slovak Technical University           Tel: +421 2 524 51 301   ----
----   Computer Centre, Nam. Slobody 17      Fax: +421 2 524 94 351   ----
----   812 43 Bratislava, Slovak Republic    E-mail/sip: md at bts.sk    ----
----                                                                  ----

This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html

More information about the vlc-devel mailing list