Browse Source

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

pull/2064/head
Alessandro Ros 3 years ago committed by GitHub
parent
commit
8dad1e9d50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 12
      README.md

12
README.md

@ -596,6 +596,12 @@ rtmp://localhost/mystream @@ -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 @@ -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:

Loading…
Cancel
Save