Description
<mux-video>
will automatically handle recoverable errors that happen during video playback. This is particularly handy for live streams that may experience disconnects.
However, the player does not retry if the video/livestream if Mux sends 412 Not Playable
.
Currently I do the following:
videoRef.addEventListener('error', () => {
setTimeout(() => {
videoRef.playbackId = 'dummy'
videoRef.playbackId = actualPlaybackId // artificially trigger reload by changing playbackId
}, 1000)
})
But it would be helpful to have builtin support for this
Metadata
Metadata
Assignees
Labels
No labels