[FFmpeg-cvslog] doc: Extend the rtmp example to include how to pass username/password

Martin Storsjö git at videolan.org
Sun Aug 11 11:28:45 CEST 2013


ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Sat Aug 10 11:51:31 2013 +0300| [aa16a6b0c56e3f46c5d7efb706b87a8f7a1603ec] | committer: Martin Storsjö

doc: Extend the rtmp example to include how to pass username/password

Signed-off-by: Martin Storsjö <martin at martin.st>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=aa16a6b0c56e3f46c5d7efb706b87a8f7a1603ec
---

 doc/protocols.texi |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/doc/protocols.texi b/doc/protocols.texi
index 0d596ca..038305c 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
 
+ at item username
+An optional username (mostly for publishing).
+
+ at item password
+An optional password (mostly for publishing).
+
 @item server
 The address of the RTMP server.
 



More information about the ffmpeg-cvslog mailing list