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

Never back-track on first fragment to avoid loop loading #5613

Merged
merged 1 commit into from
Jul 3, 2023

Conversation

robwalch
Copy link
Collaborator

This PR will...

Skip backtracking on first segment.

Why is this Pull Request needed?

Calling this.backtrack on first segment can cause loop loading because the loaded media is rejected in favor of loading an earlier segment in hopes of finding an IDR frame that begins before the playhead position.

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

Resolves issues:

Fixes #5609

@robwalch robwalch added this to the 1.4.8 milestone Jun 30, 2023
@robwalch robwalch merged commit 713995b into master Jul 3, 2023
@robwalch robwalch deleted the bugfix/holes-on-first-no-backtrack branch July 3, 2023 17:59
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.

Infinite loop loading first fragment with a hole
1 participant