Description
Have you read the Tutorials?
Yes
Have you read the FAQ and checked for duplicate open issues?
Yes
If the question is related to FairPlay, have you read the tutorial?
N/A
What version of Shaka Player are you using?
4.4.0
What browser and OS are you using?
Chrome, Mac OS Sequoia 15.1.1
Please ask your question
Hello, I am trying to detect when the player has stalled and will not recover in order to display an error message. Based on the current network errors, I do not see how shaka notifies that this situation has been reached.
I tried detecting network errors, It looks like ATTEMPTS_EXHAUSTED
would be dispatched when player is stalled and run out of attempts, but this is not dispatched as its an internal error. I also tried setting streaming.retryParameters.maxAttempts = 5
and counting the number of HTTP_ERROR
s thinking it would line up, but these do not match the number of retries, and the errors stop logging when there is buffer left.
I also see the docs have a page for StallDetector
, but did not provide any examples or documentation on how to use it.
Is there not a way to detect if max attempts is reached or that there is no buffer left and we are stalled? Is there a way I can surface the ATTEMPTS_EXHAUSTED
error to detect this case?