NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
Use camera name instead of stream_name for jsmpeg players (#12219)
Josh Hawkinsf050c7b37df3
diff --git a/web/src/components/player/LivePlayer.tsx b/web/src/components/player/LivePlayer.tsxindex 8ccb1b45fd..1343e8aaed 100644--- a/web/src/components/player/LivePlayer.tsx+++ b/web/src/components/player/LivePlayer.tsx@@ -171,7 +171,7 @@ export default function LivePlayer({player = (<JSMpegPlayerclassName="flex justify-center overflow-hidden rounded-lg md:rounded-2xl"- camera={cameraConfig.live.stream_name}+ camera={cameraConfig.name}width={cameraConfig.detect.width}height={cameraConfig.detect.height}playbackEnabled={cameraActive || !showStillWithoutActivity}diff --git a/web/src/components/player/MsePlayer.tsx b/web/src/components/player/MsePlayer.tsxindex c2769cd940..317520f57a 100644--- a/web/src/components/player/MsePlayer.tsx+++ b/web/src/components/player/MsePlayer.tsx@@ -384,6 +384,7 @@ function MSEPlayer({onPlaying?.();}}muted={!audioEnabled}+ onPause={() => videoRef.current?.play()}onProgress={() => {if ((isSafari || isIOS) && !safariPlaying) {setSafariPlaying(true);