netclock: Add round-trip-limit parameter
authorCarlos Rafael Giani <dv@pseudoterminal.org>
Tue, 26 Nov 2013 10:56:46 +0000 (11:56 +0100)
committerJan Schmidt <jan@centricular.com>
Wed, 27 Nov 2013 07:15:20 +0000 (18:15 +1100)
commit1ce704d45d96bd016835e4b2adf92f0a288260b6
treeb8fc22ce7b3481a3230412ba460d0f1f2a42a7cc
parent2a720d2e557d608f5da7411c638452dfbf6f38a9
netclock: Add round-trip-limit parameter

Sometimes, packets might take a very long time to return. Such packets
usually are way too late and destabilize the regression with their
obsolete data. On Wi-Fi, round-trips of over 7 seconds have been observed.

If the limit is set to a nonzero value, packets with a round-trip period
larger than the limit are ignored.

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
https://bugzilla.gnome.org/show_bug.cgi?id=712385
libs/gst/net/gstnetclientclock.c