Update restream.md

This commit is contained in:
Nicolas Mowen 2023-01-17 06:53:38 -07:00 committed by GitHub
parent 1e9ee29533
commit 49188783ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,7 +28,9 @@ One connection is made to the camera. One for the restream, `detect` and `record
```yaml
go2rtc:
streams:
test_cam: ffmpeg:rtsp://192.168.1.5:554/live0#video=copy#audio=aac#audio=opus
test_cam:
- rtsp://192.168.1.5:554/live0 # <- stream which supports video & aac audio. This is only supported for rtsp streams, http must use ffmpeg
- ffmpeg:test_cam#audio=opus # <- copy of the stream which transcodes audio to opus
cameras:
test_cam:
@ -50,8 +52,12 @@ Two connections are made to the camera. One for the sub stream, one for the rest
```yaml
go2rtc:
streams:
test_cam: ffmpeg:rtsp://192.168.1.5:554/live0#video=copy#audio=aac#audio=opus
test_cam_sub: ffmpeg:rtsp://192.168.1.5:554/substream#video=copy#audio=aac#audio=opus
test_cam:
- rtsp://192.168.1.5:554/live0 # <- stream which supports video & aac audio. This is only supported for rtsp streams, http must use ffmpeg
- ffmpeg:test_cam#audio=opus # <- copy of the stream which transcodes audio to opus
test_cam_sub:
- rtsp://192.168.1.5:554/substream # <- stream which supports video & aac audio. This is only supported for rtsp streams, http must use ffmpeg
- ffmpeg:test_cam_sub#audio=opus # <- copy of the stream which transcodes audio to opus
cameras:
test_cam: