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

Live reload level switch and error handling improvements #5317

Merged
merged 1 commit into from Mar 22, 2023

Conversation

robwalch
Copy link
Collaborator

This PR will...

  • Maintain live reload pace after level switch
  • Only define deliveryDirectives when when blocking reload is available (correct error handling)
  • Retry main playlist on status 0 when navigator.onLine is false (this policy is not extended to audio and subtitle track media playlists)

Why is this Pull Request needed?

On level switch the reload interval was being added to the already scheduled time for next reload, which could skip reloads after level switch.

Related issues:

#5282
#5306

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

- Maintain reload pace after level switch
- Only define deliveryDirectives when when blocking reload is available (correct error handling)
- Retry on status 0 when navigator.onLine is false
@kevleyski
Copy link
Collaborator

Quick test with 3 ABR variants seems ok for me with canBlockReload

@robwalch robwalch merged commit 98b38ab into master Mar 22, 2023
@robwalch robwalch deleted the bugfix/live-reload-switch-and-http-status-0 branch March 22, 2023 00:52
robwalch added a commit that referenced this pull request Aug 31, 2023
@robwalch robwalch mentioned this pull request Sep 1, 2023
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.

None yet

3 participants