mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-10-03 13:26:48 +03:00
Compare commits
2
Commits
master
...
2f7b9512a6
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2f7b9512a6 | ||
|
|
fa116949ce |
@@ -383,8 +383,11 @@ class RecordingMaintainer(threading.Thread):
|
|||||||
return None
|
return None
|
||||||
|
|
||||||
# this segment has a valid duration and has video data, so publish an update
|
# this segment has a valid duration and has video data, so publish an update
|
||||||
|
# publish the segment end time so the watchdog measures the age of the
|
||||||
|
# newest validated video data; the start time is already ~2x segment
|
||||||
|
# duration old by the time the next segment finishes and is validated
|
||||||
self.recordings_publisher.publish(
|
self.recordings_publisher.publish(
|
||||||
(camera, start_time.timestamp(), cache_path),
|
(camera, end_time.timestamp(), cache_path),
|
||||||
RecordingsDataTypeEnum.valid.value,
|
RecordingsDataTypeEnum.valid.value,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user