mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-15 16:06:41 +03:00
5ee6a4d2f5
Previously we relied on an event triggered by the video itself which was launched 4 to 60 times per second, which meant that we had an update (in the worst case) of 250ms. Now we use a timer that is triggered every 25ms, which considerably reduces the delay. This is important so as not to show anything from the original ad's live.