add to the README instructions on authentication with RTMP (#2056) (#2057)

This commit is contained in:
Alessandro Ros 2023-07-14 11:12:37 +02:00 committed by GitHub
parent b7f32f1b74
commit 8dad1e9d50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 0 deletions

View File

@ -596,6 +596,12 @@ rtmp://localhost/mystream
The resulting stream will be available in path `/mystream`.
In case authentication is enabled, credentials can be passed to the server by using the `user` and `pass` query parameters:
```
rtmp://localhost/mystream?user=myuser&pass=mypass
```
#### RTMP cameras and servers
You can use _MediaMTX_ to connect to one or multiple existing RTMP servers and read their video streams:
@ -816,6 +822,12 @@ RTMP is a protocol that allows to read and publish streams, but is less versatil
rtmp://localhost/mystream
```
In case authentication is enabled, credentials can be passed to the server by using the `user` and `pass` query parameters:
```
rtmp://localhost/mystream?user=myuser&pass=mypass
```
#### HLS
HLS is a protocol that works by splitting streams into segments, and by serving these segments and a playlist with the HTTP protocol. You can use _MediaMTX_ to generate a HLS stream, that is accessible through a web page: