add multiple sources example (#141)

This commit is contained in:
aler9 2020-12-06 19:45:16 +01:00
parent 27b046c217
commit 60d1407a01

View file

@ -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: