diff --git a/trunk/src/app/srs_app_rtc_conn.cpp b/trunk/src/app/srs_app_rtc_conn.cpp index 85fcacd6b..66f02213a 100644 --- a/trunk/src/app/srs_app_rtc_conn.cpp +++ b/trunk/src/app/srs_app_rtc_conn.cpp @@ -972,6 +972,12 @@ srs_error_t SrsRtcPlayer::on_rtcp_feedback(char* buf, int nb_buf) vector resend_pkts; nack_fetch(resend_pkts, ssrc_of_media_source, pid); + // If NACK disabled, print a log. + if (!nack_enabled_) { + srs_trace("RTC NACK seq=%u, ignored", pid); + return err; + } + uint16_t mask = 0x01; for (int i = 1; i < 16 && blp; ++i, mask <<= 1) { if (!(blp & mask)) {