[FFmpeg-devel] [PATCH v2] doc/protocols.texi : Add ignore_rtcp option in rtsp section
Minlei Sun
sunml at epoint.com.cn
Wed Apr 21 06:14:56 EEST 2021
>On 2021-04-20 22:50, sunml at epoint.com.cn wrote:
>> 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
>
>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
More information about the ffmpeg-devel
mailing list