|
YAACC - UPNP Client and Server
|
An estimate of the server clock for a client that only shows progress (a controller): the offset server - client, from bursts of client/time and server/time (spec, "Clock Synchronization").
More...

An estimate of the server clock for a client that only shows progress (a controller): the offset server - client, from bursts of client/time and server/time (spec, "Clock Synchronization").
Of each burst only the measurement with the lowest max_error above zero is used; successive bursts are smoothed, and a residual larger than three times the error starts a new baseline (the specification's adaptive cutoff). This is not the Kalman filter of the specification, which an audio player needs for sample accurate sync: a display is right to a few milliseconds with it. Pure; one thread.