diff options
author | Limin Wang <lance.lmwang@gmail.com> | 2020-10-10 20:35:44 +0800 |
---|---|---|
committer | Limin Wang <lance.lmwang@gmail.com> | 2020-10-22 20:53:56 +0800 |
commit | 2aceae1438ab4234161186712e9486e87be15be3 (patch) | |
tree | 1f13147048f2548972091f4be4d5d90fd00f56fb /doc/protocols.texi | |
parent | de59826703a50f232ae5b1704fa02e446c270938 (diff) | |
download | ffmpeg-2aceae1438ab4234161186712e9486e87be15be3.tar.gz |
avformat/rtpproto: support for rtp read timeout
then we can set the rtp read timeout instead of infinite timeout.
How to test(5s timeout):
./ffprobe -i rtp://192.168.1.67:1234?timeout=5000000
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
Diffstat (limited to 'doc/protocols.texi')
-rw-r--r-- | doc/protocols.texi | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/protocols.texi b/doc/protocols.texi index 7b3df96fda..b4efa14509 100644 --- a/doc/protocols.texi +++ b/doc/protocols.texi @@ -990,6 +990,9 @@ set to 1) or to a default remote address (if set to 0). @item localport=@var{n} Set the local RTP port to @var{n}. +@item timeout=@var{n} +Set timeout (in microseconds) of socket I/O operations to @var{n}. + This is a deprecated option. Instead, @option{localrtpport} should be used. |