doc: Add an example on publishing over RTMP
authorMartin Storsjö <martin@martin.st>
Sat, 10 Aug 2013 09:08:43 +0000 (12:08 +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 1e925ea..1c7de47 100644 (file)
@@ -277,6 +277,12 @@ For example to read with @command{avplay} a multimedia resource named
 avplay rtmp://myserver/vod/sample
 @end example
 
+To publish to a password protected server, passing the playpath and
+app names separately:
+@example
+avconv -re -i <input> -f flv -rtmp_playpath some/long/path -rtmp_app long/app/name rtmp://username:password@@myserver/
+@end example
+
 @section rtmpe
 
 Encrypted Real-Time Messaging Protocol.