netclientclock: Filter RTTs based on the median of the last RTTs before considering...
authorSebastian Dröge <sebastian@centricular.com>
Sat, 6 Jun 2015 12:31:16 +0000 (14:31 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Sat, 6 Jun 2015 12:31:16 +0000 (14:31 +0200)
commitf7a7a569cd2df4f4697f8a6fb6d9f9b3dcf1372b
tree69d7086db0dc87ff9b24b2c287a8e1d8445ab841
parent42b16c9e3c4cf5752ed011684c5c040f2a225d54
netclientclock: Filter RTTs based on the median of the last RTTs before considering them at all

This improves accuracy on wifi or similar networks, where the RTT can go very
high up for a single observation every now and then. Without filtering them
away completely, they would still still modify the average RTT, and thus all
clock estimations.
libs/gst/net/gstnetclientclock.c