Skip to content

Feature request: mux-video should retry on 412 Not Playable #531

@par5er

Description

@par5er

<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
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions