From 60d1407a01f2703c11fc9a120adeb5ccb26c49d0 Mon Sep 17 00:00:00 2001 From: aler9 <46489434+aler9@users.noreply.github.com> Date: Sun, 6 Dec 2020 19:45:16 +0100 Subject: [PATCH] add multiple sources example (#141) --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7aefeeaf..6a695028 100644 --- a/README.md +++ b/README.md @@ -113,7 +113,16 @@ paths: source: rtsp://original-url ``` -After starting the server, users can connect to `rtsp://localhost:8554/proxied`, instead of connecting to the original url. The server supports any number of source streams, it's enough to add additional entries to the `paths` section. +After starting the server, users can connect to `rtsp://localhost:8554/proxied`, instead of connecting to the original url. The server supports any number of source streams, it's enough to add additional entries to the `paths` section: + +```yml +paths: + proxied1: + source: rtsp://url1 + + proxied2: + source: rtsp://url1 +``` It's possible to save bandwidth by enabling the on-demand mode: the stream will be pulled only when at least a client is connected: