mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-05 10:45:21 +03:00
Use not heard config
This commit is contained in:
parent
1f1917742f
commit
936cba75fb
@ -178,7 +178,7 @@ class AudioEventMaintainer(threading.Thread):
|
||||
now = datetime.datetime.now().timestamp()
|
||||
|
||||
for detection in self.detections.values():
|
||||
if now - detection["last_detection"] > 30:
|
||||
if now - detection["last_detection"] > self.config.audio.max_not_heard:
|
||||
detection["end_time"] = (
|
||||
detection["last_detection"] + self.config.record.events.post_capture
|
||||
)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user