mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-01 19:17:41 +03:00
Cleanup
This commit is contained in:
parent
fa6f531e88
commit
985a447074
@ -420,7 +420,15 @@ class FrigateApp:
|
|||||||
logger.info(f"Output process started: {output_processor.pid}")
|
logger.info(f"Output process started: {output_processor.pid}")
|
||||||
|
|
||||||
def start_camera_processor(self) -> None:
|
def start_camera_processor(self) -> None:
|
||||||
self.camera_maintainer = CameraMaintainer(self.config, self.stop_event)
|
self.camera_maintainer = CameraMaintainer(
|
||||||
|
self.config,
|
||||||
|
self.detection_queue,
|
||||||
|
self.detection_out_events,
|
||||||
|
self.detected_frames_queue,
|
||||||
|
self.camera_metrics,
|
||||||
|
self.ptz_metrics,
|
||||||
|
self.stop_event,
|
||||||
|
)
|
||||||
self.camera_maintainer.start()
|
self.camera_maintainer.start()
|
||||||
|
|
||||||
def start_audio_processor(self) -> None:
|
def start_audio_processor(self) -> None:
|
||||||
@ -602,7 +610,6 @@ class FrigateApp:
|
|||||||
if self.onvif_controller:
|
if self.onvif_controller:
|
||||||
self.onvif_controller.close()
|
self.onvif_controller.close()
|
||||||
|
|
||||||
|
|
||||||
# ensure the detectors are done
|
# ensure the detectors are done
|
||||||
for detector in self.detectors.values():
|
for detector in self.detectors.values():
|
||||||
detector.stop()
|
detector.stop()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user