Commit 1ec611a1 authored by Eloi BAIL's avatar Eloi BAIL Committed by Martin Storsjö

rtsp: warning when max_delay reached

packets are queued due to packet reordering until the queue reach its
maximal size or max delay is reached.
This commit adds a warning trace when max delay is reached.
Signed-off-by: 's avatarEloi BAIL <eloi.bail@savoirfairelinux.com>
Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent d555bd69
......@@ -2112,6 +2112,8 @@ redo:
}
if (len == AVERROR(EAGAIN) && first_queue_st &&
rt->transport == RTSP_TRANSPORT_RTP) {
av_log(s, AV_LOG_WARNING,
"max delay reached. need to consume packet\n");
rtsp_st = first_queue_st;
ret = ff_rtp_parse_packet(rtsp_st->transport_priv, pkt, NULL, 0);
goto end;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment