-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
403 errors are ignored #762
Comments
This should have been fixed in #620 such that there were no retries. I'm fairly sure the severity should be "recoverable", though. In the case of a license request failure, we don't know it's fatal. If there were multiple requests that covered the same keys (which can happen with some content), the failure of an initial license request would not be fatal. In the case of a failed renewal, a later renewal could still extend the license before the keys expire. Because of these things, I'm not sure there's any way for us to confidently label such a failure as "fatal". |
We will look into the retry issue. Thanks for the report! |
Hi Joey, thank you for detail logic explanation. I agree with you. I just want to add that my issue was with segment request (m4s). :-) There were some unit tests, but it seems the error leaks from HttpPlugin to other layer untested (StreamingEngine - handleNetworkError_). |
Do not infinitely retry on top of the retry-policy already defined by RetryParameters, especially for VOD. For live video the previous retry logic is still useful to be robust against clock-sync or asset availability issues. This commit adds a boolean configuration parameter, infiniteRetriesForLiveStreams, to allow the user to turn this behavior off even for live video. Fixes shaka-project#830 and shaka-project#762
Do not infinitely retry on top of the retry-policy already defined by RetryParameters, especially for VOD. For live video the previous retry logic is still useful to be robust against clock-sync or asset availability issues. This commit adds a boolean configuration parameter, infiniteRetriesForLiveStreams, to allow the user to turn this behavior off even for live video. Fixes shaka-project#830 and shaka-project#762
Do not infinitely retry on top of the retry-policy already defined by RetryParameters, especially for VOD. For live video the previous retry logic is still useful to be robust against clock-sync or asset availability issues. This commit adds a boolean configuration parameter, infiniteRetriesForLiveStreams, to allow the user to turn this behavior off even for live video. Fixes #830 and #762
Do not infinitely retry on top of the retry-policy already defined by RetryParameters, especially for VOD. For live video the previous retry logic is still useful to be robust against clock-sync or asset availability issues. This commit adds a boolean configuration parameter, infiniteRetriesForLiveStreams, to allow the user to turn this behavior off even for live video. Fixes #830 and #762
Cherry-picked to v2.1.3. |
Hi, last change is too generic and doesn't support real world scenarios, when you want to have robust solution:
As for the infinity - this works in case of playing buffered data, but after that can you show me user, who is looking 2 mins into rotating wheel? We are fighting with every 10ms latency.. There should be really something more helpfull on the API side - more real world.
Or if you are lazy, reload whole player at that position.. This doesn't help to server stats.. |
We allow specifying retry parameters in a player.configure({
streaming: {
retryParameters: {
maxAttempts: 20
}
}
}); Also, we still raise the We don't allow restarting retries after we have stopped. With the given change, we no longer retry forever for VOD, so a 403 error for VOD will stop playback. We could add a configuration to allow for infinite retries for VOD or add a call to start retrying again. |
@Ross-cz What kind of API are you interested in? Would having an |
Hi Jacob, I would prefer method player.retryStreamLoading(). This gives me freedom for UX logic implementation. |
HEAD
b
n
What did you expect to happen?
There should be no download retries and severity non-recoverable.
What actually happened?
Retries occurred and severity was overriden to recoverable inside method handleNetworkError_.
The text was updated successfully, but these errors were encountered: