From 2aceae1438ab4234161186712e9486e87be15be3 Mon Sep 17 00:00:00 2001 From: Limin Wang Date: Sat, 10 Oct 2020 20:35:44 +0800 Subject: 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 --- doc/protocols.texi | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc') 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. -- cgit v1.2.3