Paused-but-seeking video buffer hole gap jump support #4667
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR will...
This PR will enabled the "seeked" event to complete on paused videos that are seeking to a new timepoint, by supporting buffer hold gap jumps videos that have occasional gaps.
Both the UPV Paella Player and the Jellyfin Web players
pause
the video prior to doing a seek. Both players are experiencing frozen seek events with HLS.js 1.1.3-1.1.5Why is this Pull Request needed?
Videos are freezing up when seeking and in paused state (when they hit a bad buffer that needs a gap jump).
Are there any points in the code the reviewer needs to double check?
Please verify that it makes sense that the playhead is indeed moving, or needs to move, when the video is actively seeking to a new time point, although the video is in paused state, the playhead still needs to jump for the seek to succeed.
Resolves issues:
It resolves Issue #4367
Here is an example log