doc: Extend the rtmp example to include how to pass username/password
authorMartin Storsjö <martin@martin.st>
Sat, 10 Aug 2013 08:51:31 +0000 (11:51 +0300)
committerMartin Storsjö <martin@martin.st>
Sat, 10 Aug 2013 15:37:21 +0000 (18:37 +0300)
Signed-off-by: Martin Storsjö <martin@martin.st>
doc/protocols.texi

index 0d596ca..038305c 100644 (file)
@@ -164,12 +164,18 @@ content across a TCP/IP network.
 
 The required syntax is:
 @example
-rtmp://@var{server}[:@var{port}][/@var{app}][/@var{instance}][/@var{playpath}]
+rtmp://[@var{username}:@var{password}@@]@var{server}[:@var{port}][/@var{app}][/@var{instance}][/@var{playpath}]
 @end example
 
 The accepted parameters are:
 @table @option
 
+@item username
+An optional username (mostly for publishing).
+
+@item password
+An optional password (mostly for publishing).
+
 @item server
 The address of the RTMP server.