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

@@ -138,6 +138,7 @@ export default function LivePlayer({
iOSCompatFullScreen={iOSCompatFullScreen}
onPlaying={() => setLiveReady(true)}
pip={pip}
onError={onError}
/>
);
} else if (liveMode == "mse") {