NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
Recordings improvements (#12417)
Nicolas Mowend08fe170f24a
diff --git a/web/src/components/player/HlsVideoPlayer.tsx b/web/src/components/player/HlsVideoPlayer.tsxindex d66ed4b53b..2eb6b878cd 100644--- a/web/src/components/player/HlsVideoPlayer.tsx+++ b/web/src/components/player/HlsVideoPlayer.tsx@@ -110,6 +110,8 @@ export default function HlsVideoPlayer({if (!hlsRef.current) {hlsRef.current = new Hls();hlsRef.current.attachMedia(videoRef.current);+ } else {+ hlsRef.current.detachMedia();}hlsRef.current.loadSource(currentSource);diff --git a/web/src/components/player/dynamic/DynamicVideoPlayer.tsx b/web/src/components/player/dynamic/DynamicVideoPlayer.tsxindex 2f347404f5..3f82cd3523 100644--- a/web/src/components/player/dynamic/DynamicVideoPlayer.tsx+++ b/web/src/components/player/dynamic/DynamicVideoPlayer.tsx@@ -204,7 +204,6 @@ export default function DynamicVideoPlayer({clearTimeout(loadingTimeout);}- setIsLoading(false);setNoRecording(false);}}setFullResolution={setFullResolution}