diff --git a/web/src/components/player/LivePlayer.tsx b/web/src/components/player/LivePlayer.tsx index b73e7991c..a9cb33b2a 100644 --- a/web/src/components/player/LivePlayer.tsx +++ b/web/src/components/player/LivePlayer.tsx @@ -91,13 +91,21 @@ export default function LivePlayer({ // camera activity const { - enabled: cameraEnabled, + enabled: cameraWasEnabled, activeMotion, activeTracking, objects, offline, } = useCameraActivity(cameraConfig); + const cameraEnabled = useMemo(() => { + if (!cameraWasEnabled) { + return false; + } + + return cameraConfig.enabled; + }, [cameraConfig, cameraWasEnabled]); + const cameraActive = useMemo( () => !showStillWithoutActivity ||