rtpjitterbuffer: Detect whether to assume equidistant spacing when loss
authorStian Selnes <stian@pexip.com>
Fri, 5 Aug 2016 10:51:59 +0000 (12:51 +0200)
committerOlivier CrĂȘte <olivier.crete@collabora.com>
Wed, 14 Sep 2016 23:37:50 +0000 (19:37 -0400)
commitf8238f0a9f927cbfa57720b599e56535ad6c3d25
treecef8e4f55c85208450eefbbb2d5f1021dc30b74c
parent2eb73838168e1cac9ea23430b3e288cc63101e6e
rtpjitterbuffer: Detect whether to assume equidistant spacing when loss

Assuming equidistant packet spacing when that's not true leads to more
loss than necessary in the case of reordering and jitter. Typically this
is true for video where one frame often consists of multiple packets
with the same rtp timestamp. In this case it's better to assume that the
missing packets have the same timestamp as the last received packet, so
that the scheduled lost timer does not time out too early causing the
packets to be considered lost even though they may arrive in time.

https://bugzilla.gnome.org/show_bug.cgi?id=769768
gst/rtpmanager/gstrtpjitterbuffer.c
tests/check/elements/rtpjitterbuffer.c