mirror of
https://github.com/livekit/livekit.git
synced 2026-03-30 15:35:41 +00:00
As expectedTS is tied to first packet and first packet adjustment may not have happened, refTS being ahead is not a bad thing. In one example, - first packet was late - a layer switch happened around 110ms later - in that time, 190ms worth of media was forwarded - but first packet adjustment did not happen yet - so at that layer switch, expected was behind - choosing ref at that switch is the right thing