aboutsummaryrefslogtreecommitdiffstats
path: root/doc/protocols.texi
diff options
context:
space:
mode:
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>2012-06-08 13:16:34 +0200
committerMartin Storsjö <martin@martin.st>2012-06-11 13:46:50 +0300
commit8ee3e1874ec48f1da1a7dfbbdac7382590856a90 (patch)
treeb64ecc9815be43928dc422a4797e60bad65bf55e /doc/protocols.texi
parentb4c92e94bbd640689a79a24ea887e79a43deaa32 (diff)
downloadffmpeg-8ee3e1874ec48f1da1a7dfbbdac7382590856a90.tar.gz
rtmp: support connection parameters
Allow using connection parameters in order to append arbitrary AMF data like "B:1 S:authMe O:1 NN:code:1.23 NS:flag:ok O:0" to the Connect message. You can pass these parameters through the -rtmp_conn option. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'doc/protocols.texi')
-rw-r--r--doc/protocols.texi12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/protocols.texi b/doc/protocols.texi
index c7baad457c..66beff634c 100644
--- a/doc/protocols.texi
+++ b/doc/protocols.texi
@@ -198,6 +198,18 @@ Additionally, the following parameters can be set via command line options
Name of application to connect on the RTMP server. This option
overrides the parameter specified in the URI.
+@item rtmp_conn
+Extra arbitrary AMF connection parameters, parsed from a string,
+e.g. like @code{B:1 S:authMe O:1 NN:code:1.23 NS:flag:ok O:0}.
+Each value is prefixed by a single character denoting the type,
+B for Boolean, N for number, S for string, O for object, or Z for null,
+followed by a colon. For Booleans the data must be either 0 or 1 for
+FALSE or TRUE, respectively. Likewise for Objects the data must be 0 or
+1 to end or begin an object, respectively. Data items in subobjects may
+be named, by prefixing the type with 'N' and specifying the name before
+the value (i.e. @code{NB:myFlag:1}). This option may be used multiple
+times to construct arbitrary AMF sequences.
+
@item rtmp_flashver
Version of the Flash plugin used to run the SWF player. The default
is LNX 9,0,124,2.