mirror of
https://github.com/livekit/livekit.git
synced 2026-11-23 02:29:22 +00:00
The probe controller, the probe packet group and the probe cluster store mono.Now() timestamps, but measure the time since them with time.Since. Since livekit/protocol#1439, mono.Now() has no monotonic reading, so time.Since takes the difference from the wall clock. After the wall clock steps, for example on an NTP correction, the settle wait and the probe pacing are off by the step for the rest of the process's life. Use mono.Now().Sub instead.