Repository navigation
Fix HLS startup when the first content steering pathway fails - #1623
Open
yucheng-du wants to merge 1 commit into
Open
yucheng-du wants to merge 1 commit into
yucheng-du wants to merge 1 commit into
Conversation
|
💖 Thanks for opening this pull request! 💖 Things that will help get your PR across the finish line:
We get a lot of pull requests on this repo, so please be patient and we will get back to you as soon as we can. |
This branch has not been deployed
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.
Description
Fixes #1621. If the default HLS pathway fails before playback starts, VHS can now load the media playlist from another CDN. The published 3.17.6 player stopped after the first 404 and never requested a segment.
Specific Changes proposed
Request HLS steering alongside the first media playlist. When the last rendition on a pathway fails, select the next available pathway using the server's priority list, or the playlist order while the steering response is pending. If only one pathway remains, retry it after the usual delay. Use the default five-minute penalty before the first steering response supplies a TTL.
I played a local H.264/AAC stream in Chrome, Firefox and WebKit. All three recovered when the playlist failed before or after the steering response, when the steering server was offline, and when the backup initially failed too. Both live and VOD played. The Karma suite passed in Chrome (1,441 tests) and Firefox (1,434).
Requirements Checklist
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.