mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-17 16:26:39 +03:00
04f3009346
Playback stalls on Tizen can be corrected by pausing and playing again. For Tizen and similar platforms, this is superior to the old way of seeking to unstall playback, because seeking is expensive on those platforms. To facilitate pausing and playing again instead of seeking, a stallSkip value of 0 will trigger the pause/play workaround instead of the seeking workaround. Further, we will make this the default on Tizen, WebOS, and Chromecast. An internal detail which is changing is that GapJumpingController will now call StallDetector first and inhibit gap jumping when the stall detector has something to do, rather than the other way around. This allows the StallDetector to be in charge of deciding what is buffered, rather than having to pass GapJumpingController's interpretation of buffered ranges first. Fixes #2620 Change-Id: I5ad7aad42aa185b2837c830970e54218b4e55a21