Fix missed audio details

This commit is contained in:
Nick Mowen 2023-07-01 07:43:11 -06:00
parent c3b313a70d
commit 2a0fb94a74
2 changed files with 4 additions and 2 deletions

View File

@ -467,10 +467,11 @@ cameras:
# Required: the path to the stream # Required: the path to the stream
# NOTE: path may include environment variables, which must begin with 'FRIGATE_' and be referenced in {} # NOTE: path may include environment variables, which must begin with 'FRIGATE_' and be referenced in {}
- path: rtsp://viewer:{FRIGATE_RTSP_PASSWORD}@10.0.10.10:554/cam/realmonitor?channel=1&subtype=2 - path: rtsp://viewer:{FRIGATE_RTSP_PASSWORD}@10.0.10.10:554/cam/realmonitor?channel=1&subtype=2
# Required: list of roles for this stream. valid values are: detect,record,rtmp # Required: list of roles for this stream. valid values are: audio,detect,record,rtmp
# NOTICE: In addition to assigning the record and rtmp roles, # NOTICE: In addition to assigning the audio, record, and rtmp roles,
# they must also be enabled in the camera config. # they must also be enabled in the camera config.
roles: roles:
- audio
- detect - detect
- record - record
- rtmp - rtmp

View File

@ -149,6 +149,7 @@ class MqttClient(Communicator): # type: ignore[misc]
"recordings", "recordings",
"snapshots", "snapshots",
"detect", "detect",
"audio",
"motion", "motion",
"improve_contrast", "improve_contrast",
"motion_threshold", "motion_threshold",