This commit is contained in:
Nicolas Mowen
2023-07-14 19:46:01 -06:00
committed by GitHub
parent dfd3fcdff6
commit d0873631cc

View File

@@ -288,7 +288,7 @@ class RecordingMaintainer(threading.Thread):
if (
(store_mode == RetainModeEnum.motion and motion_count == 0)
or (
store_mode == RetainModeEnum.motion and averageDBFS < 0
store_mode == RetainModeEnum.motion and averageDBFS == 0
) # dBFS is stored in a negative scale
or (store_mode == RetainModeEnum.active_objects and active_count == 0)
):