Skip to content

NVR with realtime local object detection for IP cameras

Use webgl jsmpeg renderer for birdseye (#13592)

Josh Hawkins17fa83085166
diff --git a/web/src/components/player/JSMpegPlayer.tsx b/web/src/components/player/JSMpegPlayer.tsx
index 246fbf105e..401e858690 100644
--- a/web/src/components/player/JSMpegPlayer.tsx
+++ b/web/src/components/player/JSMpegPlayer.tsx
@@ -123,8 +123,8 @@ export default function JSMpegPlayer({
{
protocols: [],
audio: false,
- disableGl: true,
- disableWebAssembly: true,
+ disableGl: camera != "birdseye",
+ disableWebAssembly: camera != "birdseye",
videoBufferSize: 1024 * 1024 * 4,
onVideoDecode: () => {
if (!hasDataRef.current) {