[FFmpeg-devel] [PATCH 2/6] Document tcp proto 'timeout' parameter behavior
Andrey Utkin
andrey.krieger.utkin at gmail.com
Thu Sep 13 02:43:29 CEST 2012
---
doc/protocols.texi | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/doc/protocols.texi b/doc/protocols.texi
index 0ad985c..e790459 100644
--- a/doc/protocols.texi
+++ b/doc/protocols.texi
@@ -578,6 +578,11 @@ tcp://@var{hostname}:@var{port}[?@var{options}]
@item listen
Listen for an incoming connection
+ at item timeout=@var{microseconds}
+In read mode: if no data arrived in more than this time interval, raise error.
+In write mode: if socket cannot be written in more than this time interval, raise error.
+This also sets timeout on TCP connection establishing.
+
@example
ffmpeg -i @var{input} -f @var{format} tcp://@var{hostname}:@var{port}?listen
ffplay tcp://@var{hostname}:@var{port}
--
1.7.8.6
More information about the ffmpeg-devel
mailing list