From d175a5730b42166704b7262b33f4b780d9d92f60 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Martin=20Storsj=C3=B6?= <martin@martin.st>
Date: Sat, 10 Aug 2013 12:08:43 +0300
Subject: [PATCH] doc: Add an example on publishing over RTMP
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Martin Storsjö <martin@martin.st>
---
 doc/protocols.texi | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/doc/protocols.texi b/doc/protocols.texi
index 1e925ea261e..1c7de475f42 100644
--- a/doc/protocols.texi
+++ b/doc/protocols.texi
@@ -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.
-- 
GitLab