diff options
author | Peter Ross <pross@xvid.org> | 2012-07-22 14:25:42 +1000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-07-23 15:57:42 +0200 |
commit | a8fb7690d94075388306b80dc48a6ae7f5128ef7 (patch) | |
tree | 3315da15ec8112c241be9ae154c0ddf27a14cc1e /doc/protocols.texi | |
parent | 7afd42d9f26be1e95f15cbcfa0e09308a6591036 (diff) | |
download | ffmpeg-a8fb7690d94075388306b80dc48a6ae7f5128ef7.tar.gz |
tls: user documentation
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'doc/protocols.texi')
-rw-r--r-- | doc/protocols.texi | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/doc/protocols.texi b/doc/protocols.texi index 74c15f6932..c68cd7ecab 100644 --- a/doc/protocols.texi +++ b/doc/protocols.texi @@ -545,6 +545,48 @@ ffplay tcp://@var{hostname}:@var{port} @end table +@section tls + +Transport Layer Security/Secure Sockets Layer + +The required syntax for a TLS/SSL url is: +@example +tls://@var{hostname}:@var{port}[?@var{options}] +@end example + +@table @option + +@item listen +Act as a server, listening for an incoming connection. + +@item cafile=@var{filename} +Certificate authority file. The file must be in OpenSSL PEM format. + +@item cert=@var{filename} +Certificate file. The file must be in OpenSSL PEM format. + +@item key=@var{filename} +Private key file. + +@item verify=@var{0|1} +Verify the peer's certificate. + +@end table + +Example command lines: + +To create a TLS/SSL server that serves an input stream. + +@example +ffmpeg -i @var{input} -f @var{format} tls://@var{hostname}:@var{port}?listen&cert=@var{server.crt}&key=@var{server.key} +@end example + +To play back a stream from the TLS/SSL server using @command{ffplay}: + +@example +ffplay tls://@var{hostname}:@var{port} +@end example + @section udp User Datagram Protocol. |