hls.js icon indicating copy to clipboard operation
hls.js copied to clipboard

Question: Proper way of addressing latency at rate change and seek for Safari?

Open bes opened this issue 1 month ago • 0 comments

Hello, my colleagues and I enjoyed the IETF HLS Interest Day!

At the Q&A you mentioned using rate changes & seeking to sync up multi-view playback, which is what we are doing. It works great in Chrome and Firefox - we have at most 2 frames of difference between the players.

In Safari there is a nondeterministic rate change and seek latency that is unique per video player / stream, which makes it extremely challenging to play video in sync.

We actually have two different approaches - in Chrome and Firefox we do a simple controller loop that adjusts rate & seeks, which works surprisingly well. In Safari we do something way more advanced, but we normally still end up 100ms to 500ms from the ideal.

Ironically, Safari is the "worst performer" on its own platform! What's the best strategy to adress this shortcoming of Safari?

bes avatar Nov 02 '25 20:11 bes