summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLimin Wang <lance.lmwang@gmail.com>2020-10-10 20:35:44 +0800
committerLimin Wang <lance.lmwang@gmail.com>2020-10-22 20:53:56 +0800
commit2aceae1438ab4234161186712e9486e87be15be3 (patch)
tree1f13147048f2548972091f4be4d5d90fd00f56fb /doc
parentde59826703a50f232ae5b1704fa02e446c270938 (diff)
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')
-rw-r--r--doc/protocols.texi3
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.