mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-12 22:25:24 +03:00
Use webrtc if mse is unsupported
This commit is contained in:
parent
784b701cc5
commit
6a91c00701
@ -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) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user