GNOME Bugzilla – Bug 349656
jitterbuffer in GstBaseRtp fails to handle rtp seqnum rollover
Last modified: 2006-08-02 17:06:20 UTC
RTP uses a 16bit monotonically increasing sequence number for packet ordering. Because this counter is small, it rolls over fairly quickly, but the GstBaseRtp class does not handle this correctly (it always orders lower sequence numbers as being earlier). Also, this jitterbuffer in GstBaseRtp is enabled by default. When discussing this issue with the GstBaseRtp author/maintainer, he said that it shouldn't be enabled by default. A patch that fixes both issues follows.
Created attachment 70066 [details] [review] The patch fixing both issues
Patch by: Marcel Moreaux <marcelm at luon dot net> * gst-libs/gst/rtp/gstbasertpdepayload.c: (gst_base_rtp_depayload_add_to_queue): * gst-libs/gst/rtp/gstbasertpdepayload.h: Handle RTP sequence number rollover. Disable jitterbuffer by default.