-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
feat: Raise fatal error on linear manifest request update failure #5138
feat: Raise fatal error on linear manifest request update failure #5138
Conversation
Incremental code coverage: 100.00% |
I'm not certain this is necessary. I think you should be able to get the effect you want from the streaming failure callback feature we already have. Are you familiar with that? |
The default behavior is to retry forever for live streams, but you can handle the error and decide whether or not to keep trying or to load something else, based on any criteria you like. |
Hi @joeyparrish, Thank you for your reply.
The |
To handle manifest updates using a similar callback system to streaming would be to add a callback inside I am happy to do that work and make that change if you wish (or handle it by raising the fatal error in this PR), whatever you want 👍 |
Ah, okay. I misunderstood. I will re-read the PR more carefully and get back to you. |
is there any chance that this could be included in the next 4.3.* iteration, if the 4.4.0 release is not the next one planned? |
"feat" changes (backward-compatible features) go into the next minor release number (4.4.0). Only backward-compatible bug fixes can be cherry-picked to an existing branch and bump the path release number (4.3.x). See https://semver.org/ We have a few issues to resolve before 4.4.0 will be released, but we are close. |
Background
We (Sky/Peacock) required the ability to try a different ad stitched manifest upon a manifest request update failure.
Solution
After the initial retry parameters (timeouts and retries) have been exhausted, error immediately and not continue to retry with the same manifest.