mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-05 18:55:23 +03:00
add retry_interval to docs
- update retry_interval text in config.py
This commit is contained in:
parent
a2e96b83c1
commit
8d942c73ce
@ -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
|
||||||
|
|||||||
@ -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.",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user