Always use mse unless webrtc is requrested (#11605)

This commit is contained in:
Nicolas Mowen 2024-05-28 16:35:36 -06:00 committed by GitHub
parent 5513addab8
commit 61f79afae9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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";
} }