Open par5er opened 1 year ago
Thanks for opening @par5er
A 412 error occurs:
preparing
stateidle
stateIn both those scenarios, we don't know when or if the asset will be playable. How long would you expect it to keep retrying for before giving up?
As of today, what we suggest is that in your application you keep track of when an Asset becomes "ready"
and when a Live Stream becomes "active"
. Those are the states when playback should be attempted, and you can get notified via webhooks so that you only initialize the player when the Asset / Live Stream is in a playable state. Are you attempting to play an Asset or Live Stream before it's in one of those states?
Hello. My two cents on this. My application handles the status change through webhooks. In a way I always thought this is kind of wrong if using your webplayer. I'm expecting it to be notified by you when the livestream is active and automatically retry loading the video.
However, the player does not retry if the video/livestream if Mux sends
412 Not Playable
.Currently I do the following:
But it would be helpful to have builtin support for this