[Bug 761812] netclientclock: Only use observations with a RTT smaller than the median

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Feb 10 10:51:25 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=761812

--- Comment #1 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Created attachment 320778
  --> https://bugzilla.gnome.org/attachment.cgi?id=320778&action=edit
WIP: netclientclock: Only use observations with a RTT smaller than the median

The idea is that observations with lower RTT are more accurate.

Use a sliding window of 64 observations but only take those for the linear
regression that have a RTT smaller than the median. This hopefully simplifies
this code a lot while at the same time improving the clock accuracy.

Previously we had complicated filtering logic that was based on a running
average RTT, median of the last 9 observations and discontinuity checking for
the applied observations. This should be unnecessary now.

This needs careful testing under various scenarios.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list