Browse Source

Document tcp proto 'timeout' parameter behavior

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.0
Andrey Utkin Michael Niedermayer 13 years ago
parent
commit
aa7c88df50
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      doc/protocols.texi

+ 5
- 0
doc/protocols.texi View File

@@ -578,6 +578,11 @@ tcp://@var{hostname}:@var{port}[?@var{options}]
@item listen
Listen for an incoming connection

@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}


Loading…
Cancel
Save