Cleanup docs based on RC feedback (#5864)

* Comment out timezone as it should not be set with None if copied

* Use "" for ffmpeg: so it does not appear as comment

* Add example to timezone setting
This commit is contained in:
Nicolas Mowen 2023-03-29 18:06:19 -06:00 committed by GitHub
parent 4c5cd02ab7
commit 83c80c570c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@ Note that mjpeg cameras require encoding the video into h264 for recording, and
```yaml ```yaml
go2rtc: go2rtc:
streams: streams:
mjpeg_cam: ffmpeg:{your_mjpeg_stream_url}#video=h264#hardware # <- use hardware acceleration to create an h264 stream usable for other components. mjpeg_cam: "ffmpeg:{your_mjpeg_stream_url}#video=h264#hardware" # <- use hardware acceleration to create an h264 stream usable for other components.
cameras: cameras:
... ...
@ -110,7 +110,7 @@ go2rtc:
streams: streams:
reolink: reolink:
- http://reolink_ip/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=username&password=password - http://reolink_ip/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=username&password=password
- ffmpeg:reolink#audio=opus - "ffmpeg:reolink#audio=opus"
reolink_sub: reolink_sub:
- http://reolink_ip/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=username&password=password - http://reolink_ip/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=username&password=password

View File

@ -502,7 +502,7 @@ ui:
# Optional: Set the default live mode for cameras in the UI (default: shown below) # Optional: Set the default live mode for cameras in the UI (default: shown below)
live_mode: mse live_mode: mse
# Optional: Set a timezone to use in the UI (default: use browser local time) # Optional: Set a timezone to use in the UI (default: use browser local time)
timezone: None # timezone: America/Denver
# Optional: Use an experimental recordings / camera view UI (default: shown below) # Optional: Use an experimental recordings / camera view UI (default: shown below)
use_experimental: False use_experimental: False
# Optional: Set the time format used. # Optional: Set the time format used.