Use webrtc if mse is unsupported

This commit is contained in:
Nicolas Mowen 2024-07-03 06:30:42 -06:00 committed by GitHub
parent 784b701cc5
commit 6a91c00701
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -159,12 +159,8 @@ export default function LivePlayer({
/> />
); );
} else { } else {
player = ( onError("mse-decode");
<div className="w-5xl text-center text-sm"> player = null;
MSE is only supported on iOS 17.1+. You'll need to update if available
or use jsmpeg / webRTC streams. See the docs for more info.
</div>
);
} }
} else if (liveMode == "jsmpeg") { } else if (liveMode == "jsmpeg") {
if (cameraActive || !showStillWithoutActivity) { if (cameraActive || !showStillWithoutActivity) {