Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix seeking into and over multiple EXT-X-GAP segments #6988

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

robwalch
Copy link
Collaborator

@robwalch robwalch commented Feb 1, 2025

This PR will...

Fix an issue where the gap-controller would not skip over buffer holes produced by EXT-X-GAP segments.

Why is this Pull Request needed?

getFwdBufferInfoAtPos was not properly stepping over EXT-X-GAP segments which prevented them from being re-added to the fragment tracker. _trySkipBufferHole in gap-controller depends on being able to step through gap segments in the tracker to skip over large buffer holes.

Are there any points in the code the reviewer needs to double check?

Additional changes will prevent skipping over a hole when an earlier audio or main segment is being loaded or a variant playlist is being loaded.

Resolves issues:

Fixes #6814

Checklist

  • changes have been done against master branch, and PR does not conflict
  • new unit / functional tests have been added (whenever applicable)
  • API or design changes are documented in API.md

@robwalch robwalch added this to the 1.6.0 milestone Feb 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Playback freezes when seeking back to time with EXT-X-GAPs
1 participant