aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2013-08-10 11:51:31 +0300
committerMartin Storsjö <martin@martin.st>2013-08-10 18:37:21 +0300
commitaa16a6b0c56e3f46c5d7efb706b87a8f7a1603ec (patch)
tree1e90dd16b5dfddea9890182d788027926fee95c9 /doc
parent8e1fe345577a42f99591caf8a06c447613449694 (diff)
downloadffmpeg-aa16a6b0c56e3f46c5d7efb706b87a8f7a1603ec.tar.gz
doc: Extend the rtmp example to include how to pass username/password
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'doc')
-rw-r--r--doc/protocols.texi8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/protocols.texi b/doc/protocols.texi
index 0d596ca25b..038305ce28 100644
--- a/doc/protocols.texi
+++ b/doc/protocols.texi
@@ -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.