-
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
Change default timeout network requests #1578
Comments
Hi @shineyjames123! It looks like you skipped a question in the form: What are the manifest and license server URIs?: Without this information, we can't reproduce or fix your issue. Thanks! |
Actually, I think I may see the issue in your configuration: timeout: 0, // timeout in ms, after which we abort; 0 means never With a timeout of 0, a pending request will never be aborted and retried. Try changing this value. |
Thank you. Setting a timeout of 10000ms did help the player to recover from the "pending" state. |
I'm happy to help. It occurs to me that we should probably set a default of something other than Even better would be stall detection. I'll file a separate issue about that. |
Changing the default timeout is easy, but we will need to call this out in upgrade docs and release notes for v2.5, so that nobody is surprised by the new behavior and everyone can configure the timeout back to 0 if they wish. Proper stall detection has been filed as #1582. |
The old default was 0 (effectively infinite, no timeout). The new default is 30s. Closes: #1578
Have you read the FAQ and checked for duplicate open issues?:
What version of Shaka Player are you using?:
2.5.0-beta
Can you reproduce the issue with our latest release version?:
Yes
Can you reproduce the issue with the latest code from
master
?:Yes
Are you using the demo app or your own custom app?:
custom app
If custom app, can you reproduce the issue using our demo app?:
Not tried
What browser and OS are you using?:
Chrome browser in Android
What are the manifest and license server URIs?:
What did you do?
Initiate media playback of Widevine DRM content
What did you expect to happen?
Playback should continue
What actually happened?
Playback stalled after 20 minutes into playback.
Shaka player configuration:
The text was updated successfully, but these errors were encountered: