aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMicah Galizia <micahgalizia@gmail.com>2013-01-13 21:33:20 -0500
committerStefano Sabatini <stefasab@gmail.com>2013-01-15 22:26:44 +0100
commit10315b1cb81770212ed68f4d742a3ffbe81d5dbf (patch)
tree6ce6e153e9bd2c78fe275f8e4d9b9ee8f7742d7e
parent0b80a12184ef64a0b20c4baa70270b223e821812 (diff)
downloadffmpeg-10315b1cb81770212ed68f4d742a3ffbe81d5dbf.tar.gz
doc/protocols: document HTTP protocol cookie support
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
-rw-r--r--doc/protocols.texi19
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/protocols.texi b/doc/protocols.texi
index 6fdd08df78..9940b67d57 100644
--- a/doc/protocols.texi
+++ b/doc/protocols.texi
@@ -164,8 +164,27 @@ not specified.
@item mime_type
Set MIME type.
+
+@item cookies
+Set the cookies to be sent in future requests. The format of each cookie is the
+same as the value of a Set-Cookie HTTP response field. Multiple cookies can be
+delimited by a newline character.
@end table
+@subsection HTTP Cookies
+
+Some HTTP requests will be denied unless cookie values are passed in with the
+request. The @option{cookies} option allows these cookies to be specified. At
+the very least, each cookie must specify a value along with a path and domain.
+HTTP requests that match both the domain and path will automatically include the
+cookie value in the HTTP Cookie header field. Multiple cookies can be delimited
+by a newline.
+
+The required syntax to play a stream specifying a cookie is:
+@example
+ffplay -cookies "nlqptid=nltid=tsn; path=/; domain=somedomain.com;" http://somedomain.com/somestream.m3u8
+@end example
+
@section mmst
MMS (Microsoft Media Server) protocol over TCP.