Clean up camera specific docs (#5556)

This commit is contained in:
Nicolas Mowen 2023-02-21 05:26:43 -07:00 committed by GitHub
parent 3524d1a055
commit c13dd132ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -126,19 +126,17 @@ cameras:
input_args: preset-rtsp-restream input_args: preset-rtsp-restream
roles: roles:
- detect - detect
detect:
width: 896
height: 672
fps: 7
``` ```
### Unifi Protect Cameras ### Unifi Protect Cameras
In the Unifi 2.0 update Unifi Protect Cameras had a change in audio sample rate which causes issues for ffmpeg. The input rate needs to be set for record and rtmp. Unifi protect cameras require the rtspx stream to be used with go2rtc https://github.com/AlexxIT/go2rtc#source-rtsp
In the Unifi 2.0 update Unifi Protect Cameras had a change in audio sample rate which causes issues for ffmpeg. The input rate needs to be set for record and rtmp if used directly with unifi protect.
```yaml ```yaml
ffmpeg: ffmpeg:
output_args: output_args:
record: preset-record-ubiquiti record: preset-record-ubiquiti
rtmp: preset-rtmp-ubiquiti rtmp: preset-rtmp-ubiquiti # recommend using go2rtc instead
``` ```