Skip to content

Add object detection, tracking, mobile notifications, and search to any security camera.

dont reset time

roryclearb958bc7a00e0
diff --git a/clearcam.py b/clearcam.py
index bb9f587..05ae811 100644
--- a/clearcam.py
+++ b/clearcam.py
@@ -297,7 +297,7 @@ class VideoCapture:
]
hls_proc = subprocess.Popen(command, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
time.sleep(15)
- self.start_time[cam_name] = time.time()
+ if self.start_time[cam_name] is None: self.start_time[cam_name] = time.time()
command = [
ffmpeg_path,