configurable ffmpeg timeout (#6897)

* configurable ffmpeg timeout

* configurable ffmpeg healthcheck interval

rename timeout to healthcheck_interval
only grab config value once

* configurable ffmpeg retry interval

rename healthcheck_interval to retry_interval

* add retry_interval to docs

- update retry_interval text in config.py
This commit is contained in:
spacebares
2023-06-30 08:14:39 -04:00
committed by GitHub
parent 9137f1594b
commit ed0d2be321
3 changed files with 12 additions and 2 deletions

View File

@@ -463,6 +463,10 @@ class FfmpegConfig(FrigateBaseModel):
default_factory=FfmpegOutputArgsConfig,
title="FFmpeg output arguments per role.",
)
retry_interval: float = Field(
default=10.0,
title="Time in seconds to wait before FFmpeg retries connecting to the camera.",
)
class CameraRoleEnum(str, Enum):