forked from Github/frigate
Add exports message and default to webrtc on < iOS 17.1 (#12281)
This commit is contained in:
@@ -222,6 +222,10 @@ export default function LiveCameraView({
|
||||
return "jsmpeg";
|
||||
}
|
||||
|
||||
if (!("MediaSource" in window || "ManagedMediaSource" in window)) {
|
||||
return "webrtc";
|
||||
}
|
||||
|
||||
return "mse";
|
||||
}, [lowBandwidth, mic, webRTC, isRestreamed]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user