From 020549ef60103724575aee52e20096e817cb694b Mon Sep 17 00:00:00 2001 From: seydx Date: Mon, 2 Jun 2025 22:16:43 +0300 Subject: [PATCH] readme --- README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/README.md b/README.md index 90a2537f..09cafaeb 100644 --- a/README.md +++ b/README.md @@ -75,6 +75,7 @@ Ultimate camera streaming application with support RTSP, WebRTC, HomeKit, FFmpeg * [Incoming sources](#incoming-sources) * [Stream to camera](#stream-to-camera) * [Publish stream](#publish-stream) + * [Preload stream](#preload-stream) * [Module: API](#module-api) * [Module: RTSP](#module-rtsp) * [Module: RTMP](#module-rtmp) @@ -818,6 +819,25 @@ streams: - **Telegram Desktop App** > Any public or private channel or group (where you admin) > Live stream > Start with... > Start streaming. - **YouTube** > Create > Go live > Stream latency: Ultra low-latency > Copy: Stream URL + Stream key. +### Preload stream + +You can preload any stream on go2rtc start. This is useful for cameras that take a long time to start up. + +```yaml +preload: + - my_stream1 + - my_stream2#video#audio#microphone + - my_stream3#video=h265#audio=opus +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 +```` + ### Module: API The HTTP API is the main part for interacting with the application. Default address: `http://localhost:1984/`.