NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
save video dimensions in onLoadedData instead of onLoadedMetadata (#11545)
Josh Hawkins7a9ee63bd372
diff --git a/web/src/components/player/MsePlayer.tsx b/web/src/components/player/MsePlayer.tsxindex 6a41a93e6c..841b824dbe 100644--- a/web/src/components/player/MsePlayer.tsx+++ b/web/src/components/player/MsePlayer.tsx@@ -303,8 +303,10 @@ function MSEPlayer({className={className}playsInlinepreload="auto"- onLoadedData={onPlaying}- onLoadedMetadata={handleLoadedMetadata}+ onLoadedData={() => {+ handleLoadedMetadata?.();+ onPlaying?.();+ }}muted={!audioEnabled}onError={() => {if (wsRef.current) {