add retry_interval to docs

- update retry_interval text in config.py
This commit is contained in:
spacebares 2023-06-28 15:56:21 -04:00
parent a2e96b83c1
commit 8d942c73ce
2 changed files with 7 additions and 1 deletions

View File

@ -189,6 +189,11 @@ ffmpeg:
record: preset-record-generic record: preset-record-generic
# Optional: output args for rtmp streams (default: shown below) # Optional: output args for rtmp streams (default: shown below)
rtmp: preset-rtmp-generic rtmp: preset-rtmp-generic
# Optional: Time in seconds to wait before ffmpeg retries connecting to the camera. (default: shown below)
# If set too low, frigate will retry a connection to the camera's stream too frequently, using up the limited streams some cameras can allow at once
# If set too high, then if a ffmpeg crash or camera stream timeout occurs, you could potentially lose up to a maximum of retry_interval second(s) of footage
# NOTE: this can be a useful setting for Wireless / Battery cameras to reduce how much footage is potentially lost during a connection timeout.
retry_interval: 10
# Optional: Detect configuration # Optional: Detect configuration
# NOTE: Can be overridden at the camera level # NOTE: Can be overridden at the camera level

View File

@ -464,7 +464,8 @@ class FfmpegConfig(FrigateBaseModel):
title="FFmpeg output arguments per role.", title="FFmpeg output arguments per role.",
) )
retry_interval: float = Field( retry_interval: float = Field(
default=10.0, title="Time in seconds in-between FFmpeg health checks." default=10.0,
title="Time in seconds to wait before FFmpeg retries connecting to the camera.",
) )