[FFmpeg-devel] [PATCH v2] doc/protocols.texi : Add ignore_rtcp option in rtsp section

sunml at epoint.com.cn sunml at epoint.com.cn
Tue Apr 20 20:20:20 EEST 2021


From: Minlei Sun <sunml at epoint.com.cn>

Regarding ignore_rtcp flag, it is turned off by default. When some devices (such as hikvision iSecure Center Platform v1.3.xxx) rtsp stream contains rtcp data packets (may be non-standard), there will be a freeze when the output is rtmp stream.
So when igore_rtcp is enabled, this situation can be solved.

Signed-off-by: Minlei Sun <sunml at epoint.com.cn>
---
 doc/protocols.texi | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/doc/protocols.texi b/doc/protocols.texi
index a6e46b99ad..604d42b693 100644
--- a/doc/protocols.texi
+++ b/doc/protocols.texi
@@ -1188,6 +1188,9 @@ libavformat identifier string.
 @item user_agent
 Override User-Agent header. If not specified, it defaults to the
 libavformat identifier string.
+
+ at item ignore_rtcp
+Ignore rtcp packets in rtsp stream to avoid transcoding stuck. Default valule is 0.
 @end table
 
 When receiving data over UDP, the demuxer tries to reorder received packets
-- 
2.24.3 (Apple Git-128)



More information about the ffmpeg-devel mailing list