mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-01-21 00:06:44 +01:00
Always use mse unless webrtc is requrested (#11605)
This commit is contained in:
parent
5513addab8
commit
61f79afae9
@ -35,7 +35,6 @@ import {
|
|||||||
isDesktop,
|
isDesktop,
|
||||||
isIOS,
|
isIOS,
|
||||||
isMobile,
|
isMobile,
|
||||||
isSafari,
|
|
||||||
isTablet,
|
isTablet,
|
||||||
useMobileOrientation,
|
useMobileOrientation,
|
||||||
} from "react-device-detect";
|
} from "react-device-detect";
|
||||||
@ -198,7 +197,7 @@ export default function LiveCameraView({
|
|||||||
});
|
});
|
||||||
|
|
||||||
const preferredLiveMode = useMemo(() => {
|
const preferredLiveMode = useMemo(() => {
|
||||||
if (isSafari || mic) {
|
if (mic) {
|
||||||
return "webrtc";
|
return "webrtc";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user