From 8dad1e9d5013b45a755cc4e69f103eadfae01456 Mon Sep 17 00:00:00 2001 From: Alessandro Ros Date: Fri, 14 Jul 2023 11:12:37 +0200 Subject: [PATCH] add to the README instructions on authentication with RTMP (#2056) (#2057) --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index ce772537..b97a7436 100644 --- a/README.md +++ b/README.md @@ -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: