-
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
Stall detector cause the error "The play() request was interrupted by a call to pause()" on SmartTV #2920
Comments
Avoid pause request when play still in process.
Hi, any update on this issue - this is causing streams to halt on start and require user to press play again. |
Is this an actual exception? The log "a call to play was interrupted by a call to pause" isn't an error, it is just a rejected Promise from the |
We also have a polyfill to silence these noisy, useless logs already: https://github.com/google/shaka-player/blob/e3c01d827b83567b35de808803251b90ae7dd1f4/lib/polyfill/video_play_promise.js#L27-L44 |
Hi, @joeyparrish and @TheModMaker thanks for your response. |
The problem with waiting is we've seen stalls happen at the start before. Sometimes the media pipeline gets stuck at the start. There are a few configuration params you could change to make this better:
|
@TheModMaker It gets stuck before |
@TheModMaker what do you think about the fix I suggested? |
@Yuvalke, I apologize for leaving this issue for so long without updates. Is this still an issue for you? Did you try your suggestions above with |
Hi @joeyparrish, I saw issues solved around this config for SmartTV so I want to keep your logic working, I implemented a quick fix configure |
Can you test with v4.3.4? Thanks! |
Closing due to inactivity. If this is still an issue for you or if you have further questions, the OP can ask shaka-bot to reopen it by including |
Have you read the FAQ and checked for duplicate open issues?
Yes.
What version of Shaka Player are you using?
3.0.5
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?
Didn't try the demo app on the TV.
What browser and OS are you using?
SmartTV - LG and Samsung.
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
Tizen 4.
What are the manifest and license server URIs?
What did you do?
call play() and before play promise resolved stall detector request for pause and cause the DOM exception.
What did you expect to happen?
play promise will resolve.
What actually happened?
Getting error from play promise.
The text was updated successfully, but these errors were encountered: