On 2021-04-21 08:44, Minlei Sun wrote:
On 2021-04-20 22:50, [email protected] wrote:
From: Minlei Sun <[email protected]>

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 <[email protected]>
---
   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.
+
+@item ignore_rtcp
+Ignore rtcp packets in rtsp stream to avoid transcoding stuck. Default valule 
is 0.
   @end table
Can you identify which source code unit implements this option?

Gyan
Thanks.
I submitted a patch before, the name of the patch is [FFmpeg-devel,v1,1/3] 
libavformat/rtsp.h: Add member ignore_rtcp to RTSPState

Found it. Please squash all patches together, as suggested earlier.

Regards,
Gyan
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to