-
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
Segment Requests are not being cancelled/aborted on custom retryParameters #922
Comments
+1 |
@joeyparrish Hi Joey, can u help us? Please |
+1 |
When I set the timeout low (for my fast connection, this is 100ms), I definitely see requests being canceled and retried. For VOD, this eventually leads to a timeout error and no more retries. For live, the player keeps trying based on the Is the issue that requests aren't being canceled? Or that we (based on How are you setting your retryParameters? The // In your own app:
player.configure({
streaming: {
retryParameters: { timeout: 100 }
}
});
// In the JS console of the demo, before clicking the Load button:
debugConfig = {
streaming: {
retryParameters: { timeout: 100 }
}
}; This would result in an error log of player.configure({
retryParameters: { timeout: 100 }
}); If you are using a compiled build, you are missing those error logs. Does any of this help? |
I've also tagged you all in #960, in which I've proposed a general solution to retry behavior. Separate from this timeout issue, your feedback on my proposal would be very welcome. Thanks! |
Thanks @joeyparrish we'll be posting our feedback there! |
Have you read the FAQ and checked for duplicate issues:
Yes
What version of Shaka Player are you using:
2.1.4
Can you reproduce the issue with our latest release version:
Yes
Can you reproduce the issue with the latest code from
master
:Not tried
Are you using the demo app or your own custom app:
Works on demo app
If custom app, can you reproduce the issue using our demo app:
Yes
What browser and OS are you using:
Firefox/Chrome
What are the manifest and license server URIs:
(you can send the URIs to [email protected] instead, but please use GitHub and the template for the rest)
What did you do?
use this config for streaming retry parameters:
What did you expect to happen?
Segment requests that take longer than 1s should be cancelled/aborted and retried 'till maxAttempts
are met.
What actually happened?
Requests aren't cancelled [on non live content] and are retried, somehow this puts the player on loop
The text was updated successfully, but these errors were encountered: