Workaround Chrome silent coded frame eviction - #7807
Merged
robwalch merged 1 commit intoApr 17, 2026
Conversation
5 tasks
robwalch
force-pushed
the
bugfix/mp4-pts-overlap-chrome-coded-frame-eviction
branch
from
April 17, 2026 03:47
4782400 to
1b78235
Compare
…nts from buffer when PTS overlap is detected Resolves #6777
robwalch
force-pushed
the
bugfix/mp4-pts-overlap-chrome-coded-frame-eviction
branch
from
April 17, 2026 03:53
1b78235 to
507df1b
Compare
robwalch
added a commit
that referenced
this pull request
Apr 23, 2026
Fix handling of audio fragment parsing error prior to appending init-segment
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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...
Workaround Chrome silent coded frame eviction by removing later segments from buffer when PTS overlap is detected.
Group UA checks into a utility module.
Why is this Pull Request needed?
Chrome does not update buffered ranges in certain cases where coded frame eviction is performed due to presentation timestamps overlapping on append. Because of this, hls.js will not reload and re-append the segments with those frames. The HTMLVideoElement plays through these ranges without rendering any updates to the video. As a result video appears frozen until the next video keyframe.
Are there any points in the code the reviewer needs to double check?
Resolves issues:
Resolves #6777
Checklist