diff --git a/frigate/config.py b/frigate/config.py index b570dbf37..3a796f0fb 100644 --- a/frigate/config.py +++ b/frigate/config.py @@ -463,8 +463,8 @@ class FfmpegConfig(FrigateBaseModel): default_factory=FfmpegOutputArgsConfig, title="FFmpeg output arguments per role.", ) - healthcheck_interval: float = Field( - default=10.0, title="Time in seconds in-between ffmpeg health checks." + retry_interval: float = Field( + default=10.0, title="Time in seconds in-between FFmpeg health checks." ) diff --git a/frigate/video.py b/frigate/video.py index 171ef72c0..b28da19b5 100755 --- a/frigate/video.py +++ b/frigate/video.py @@ -232,7 +232,7 @@ class CameraWatchdog(threading.Thread): self.frame_shape = self.config.frame_shape_yuv self.frame_size = self.frame_shape[0] * self.frame_shape[1] self.stop_event = stop_event - self.sleeptime = self.config.ffmpeg.healthcheck_interval + self.sleeptime = self.config.ffmpeg.retry_interval def run(self): self.start_ffmpeg_detect()