diff --git a/docs/docs/configuration/restream.md b/docs/docs/configuration/restream.md index 76c8444d9..d4d7e07a2 100644 --- a/docs/docs/configuration/restream.md +++ b/docs/docs/configuration/restream.md @@ -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: