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

Do not exit from stall detection when playhead is at or past end of buffer #5779

Merged
merged 1 commit into from
Aug 30, 2023

Conversation

robwalch
Copy link
Collaborator

This PR will...

Allow stalls to be reported when playhead at the edge or outside a buffered range.

Why is this Pull Request needed?

Playback doesn't always stall inside a buffered range. Typically it stalls at the end of one.

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

The code being moved is to prevent stalls from being reported and stall nudges from being performed while seeking. The issue was that some clients resolve seeking before media is buffered.

Resolves issues:

Resolves part of #5759

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.5.0 milestone Aug 30, 2023
@robwalch robwalch merged commit 847c2dc into master Aug 30, 2023
@robwalch robwalch deleted the bugfix/stalls-past-end-ignored branch August 30, 2023 21:42
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.

1 participant