Player stuck at state src-equals
when loading mp3 in bad network condition, and won't be able to execute unload
#6664
Labels
Milestone
Have you read the FAQ and checked for duplicate open issues?
Yes.
If the problem is related to FairPlay, have you read the tutorial?
Not related to FairPlay.
What version of Shaka Player are you using?
4.8.5
Can you reproduce the issue with our latest release version?
Yes
Can you reproduce the issue with the latest code from
main
?Yes
Are you using the demo app or your own custom app?
My own custom app
If custom app, can you reproduce the issue using our demo app?
Haven't been able to run the demo app yet.
What browser and OS are you using?
MacOS Sonoma 14.4.1 Google Chrome
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
N/A
What are the manifest and license server URIs?
Not able to share
What configuration are you using? What is the output of
player.getConfiguration()
?default
What did you do?
player.load(url, 0)
with url to be likehttps://www.xyz.com/test.mp3
src-equals
state and cannot executeunload
commandWhat did you expect to happen?
unload
or reset state automatically when timeout like 30sWhat actually happened?
Here is the log we got in test:
It seems player runs
srcEqualsInner_
, but this promise just neither resolved or rejected, so the mutex lock was always hold bysrcEqualsInner_
https://github.com/shaka-project/shaka-player/blob/v4.8.5/lib/player.js#L1531 , and whenunload
or newload
is called, none of them can get the lock to move on.Are you planning send a PR to fix it?
Not yet, seek for help to see if there is a good way to fix it
The text was updated successfully, but these errors were encountered: