shaka-player: Safari rapid seek hangs stream
What version of Shaka Player are you using? 3.0.10 and 2.5.21
Can you reproduce the issue with our latest release version? Yes
Can you reproduce the issue with the latest code from master?
Yes
Are you using the demo app or your own custom app? Demo app
If custom app, can you reproduce the issue using our demo app? Yes
What browser and OS are you using? iPad mini 2 12.5.1 Chrome 87.0.4280.163 / Safari 12.5.2
What are the manifest and license server URIs? https://demo.unified-streaming.com/video/tears-of-steel/tears-of-steel-multiple-subtitles.ism/.m3u8 Tears of Steel (HLS, Subtitles) from All Content tab
What configuration are you using? What is the output of player.getConfiguration()?
https://shaka-player-demo.appspot.com/demo/#audiolang=en-GB;textlang=en-GB;uilang=en-GB;asset=https://demo.unified-streaming.com/video/tears-of-steel/tears-of-steel-multiple-subtitles.ism/.m3u8;panel=ALL_CONTENT;build=uncompiled;nativecontrols
Default configuration but with native controls
What did you do? Load the stream, on the native controls click fullscreen, seek a big chunk by dragging timeline (not by short incremental seek buttons)
What did you expect to happen? Player resumes after seeking a big chunk in fullscreen
What actually happened? After seeking on fullscreen player “freezes”, not resumes, there is no other way than cancelling fullscreen and seek again and click play to recover the player
More info As Safari / Chrome on iPad allows to play m3u8 directly, I tried to load this same stream and do the same behaviour (fullscreen + seek) and it works correctly there.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 6
- Comments: 16 (7 by maintainers)
Commits related to this issue
- Fix stall after seek on iOS. Shaka bug #3367 — committed to jamesbowcottvualto/shaka-player by jamesbowcottvualto 3 years ago
btw, seems listening onSeeked event and setting
document.querySelector(‘video’).playbackRate = 1
is a hacky solution for this
I just did some testing and the
hack seems to work for us as well. I have to set the playbackRate after the seeked event and also after the play event.