From 8ab7aeb8b25995199980e2411793b302ee9ab126 Mon Sep 17 00:00:00 2001 From: seydx Date: Thu, 5 Jun 2025 15:51:14 +0300 Subject: [PATCH] update readme --- README.md | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 09cafaeb..627d9bb9 100644 --- a/README.md +++ b/README.md @@ -825,18 +825,19 @@ You can preload any stream on go2rtc start. This is useful for cameras that take ```yaml preload: - - my_stream1 - - my_stream2#video#audio#microphone - - my_stream3#video=h265#audio=opus + camera1: # default: video&audio = ANY + camera2: "video" # preload only video track + camera3: "video=h264#audio=opus" # initialize transcoding pipeline + streams: - my_stream1: - - rtsp://129.168.3.1:554/stream1 - my_stream2: - - rtsp://129.168.3.1:554/stream1 - my_stream3: - - rtsp://129.168.3.1:554/stream1 - - ffmpeg:my_stream3#video=copy#audio=opus -```` + camera1: + - rtsp://192.168.1.100/stream + camera2: + - rtsp://192.168.1.101/stream + camera3: + - rtsp://192.168.1.102/h265stream + - ffmpeg:camera3#video=h264#audio=opus#hardware +``` ### Module: API