Update Docs enabling/disabling camera in config

This commit is contained in:
banthungprong 2022-10-25 16:52:20 +02:00
parent 52ac65a911
commit 9d86f9435b
3 changed files with 7 additions and 1 deletions

View File

@ -7,6 +7,8 @@ title: Cameras
Several inputs can be configured for each camera and the role of each input can be mixed and matched based on your needs. This allows you to use a lower resolution stream for object detection, but create recordings from a higher resolution stream, or vice versa.
A camera is enabled by default but can be temporarily disabled by using `enabled: False`.
Each role can only be assigned to one input per camera. The options for roles are as follows:
| Role | Description |
@ -20,6 +22,7 @@ mqtt:
host: mqtt.server.com
cameras:
back:
enabled: True
ffmpeg:
inputs:
- path: rtsp://viewer:{FRIGATE_RTSP_PASSWORD}@10.0.10.10:554/cam/realmonitor?channel=1&subtype=2
@ -44,4 +47,4 @@ cameras:
side: ...
```
For camera model specific settings check the [camera specific](/configuration/camera_specific) infos.
For camera model specific settings check the [camera specific](/configuration/camera_specific) infos.

View File

@ -380,6 +380,8 @@ timestamp_style:
cameras:
# Required: name of the camera
back:
# Optional: Enable/Disable the camera (default: camera is enabled automatically)
enabled: True
# Required: ffmpeg settings for the camera
ffmpeg:
# Required: A list of input streams for the camera. See documentation for more information.

View File

@ -62,6 +62,7 @@ detectors:
cameras:
camera_1: # <------ Name the camera
enabled: True # <----- Enable/disable camera
ffmpeg:
inputs:
- path: rtsp://10.0.10.10:554/rtsp # <----- Update for your camera