Skip to content

Commit f58d0d2

Browse files
committed
avformat/whip: set NACK logs as VERBOSE
Signed-off-by: Jack Lau <jacklau1222gm@gmail.com>
1 parent fd3fecc commit f58d0d2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libavformat/whip.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1901,12 +1901,12 @@ static void handle_rtx_packet(AVFormatContext *s, uint16_t seq)
19011901
uint16_t latest_seq = whip->hist[(whip->hist_head - 1 + whip->hist_sz) % whip->hist_sz].seq;
19021902

19031903
if (!it) {
1904-
av_log(whip, AV_LOG_TRACE,
1904+
av_log(whip, AV_LOG_VERBOSE,
19051905
"RTP history packet seq=%"PRIu16" not found, latest seq=%"PRIu16"\n",
19061906
seq, latest_seq);
19071907
return;
19081908
}
1909-
av_log(whip, AV_LOG_TRACE,
1909+
av_log(whip, AV_LOG_VERBOSE,
19101910
"Found RTP history packet for RTX, seq=%"PRIu16", latest seq=%"PRIu16"\n",
19111911
seq, latest_seq);
19121912

@@ -1980,7 +1980,7 @@ static void handle_nack_rtx(AVFormatContext *s, int size)
19801980
}
19811981
ssrc = AV_RB32(&buf[8]);
19821982
if (ssrc != whip->video_ssrc) {
1983-
av_log(whip, AV_LOG_TRACE,
1983+
av_log(whip, AV_LOG_VERBOSE,
19841984
"NACK packet SSRC: %"PRIu32" not match with video track SSRC: %"PRIu32"\n",
19851985
ssrc, whip->video_ssrc);
19861986
goto end;

0 commit comments

Comments
 (0)