Try webrtc when mse fails with decoding error (#11745)

* Try webrtc if enabled and mse fails with decoding error

* default to jsmpeg if webrtc times out

* check for mic first
This commit is contained in:
Josh Hawkins
2024-06-04 10:11:32 -05:00
committed by GitHub
parent 2875e84cb5
commit 3f0a954856
5 changed files with 73 additions and 22 deletions

View File

@@ -31,4 +31,4 @@ export type LiveStreamMetadata = {
consumers: LiveConsumerMetadata[];
};
export type LivePlayerError = "stalled" | "startup";
export type LivePlayerError = "stalled" | "startup" | "mse-decode";