NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
Catch empty bytes (#14521)
Nicolas Mowend715a8c290b8
diff --git a/frigate/api/media.py b/frigate/api/media.pyindex d0561bb2c8..d6f6304df9 100644--- a/frigate/api/media.py+++ b/frigate/api/media.py@@ -461,7 +461,7 @@ def recording_clip() as ffmpeg:while True:data = ffmpeg.stdout.read(1024)- if data is not None:+ if data is not None and len(data) > 0:yield dataelse:if ffmpeg.returncode and ffmpeg.returncode != 0: