diff mbox series

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

Message ID 20210420172020.92330-1-sunml@epoint.com.cn
State New
Headers show
Series [FFmpeg-devel,v2] doc/protocols.texi : Add ignore_rtcp option in rtsp section
Related show

Checks

Context Check Description
andriy/x86_make success Make finished
andriy/x86_make_fate success Make fate finished
andriy/PPC64_make success Make finished
andriy/PPC64_make_fate success Make fate finished

Commit Message

minlei sun April 20, 2021, 5:20 p.m. UTC
From: Minlei Sun <sunml@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@epoint.com.cn>
---
 doc/protocols.texi | 3 +++
 1 file changed, 3 insertions(+)

Comments

Gyan Doshi April 20, 2021, 5:44 p.m. UTC | #1
On 2021-04-20 22:50, sunml@epoint.com.cn wrote:
> From: Minlei Sun <sunml@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@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.
> +
> +@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
diff mbox series

Patch

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
 
 When receiving data over UDP, the demuxer tries to reorder received packets