diff --git a/modules/rtp_rtcp/source/rtp_rtcp_impl2.cc b/modules/rtp_rtcp/source/rtp_rtcp_impl2.cc index 7a35e47ef0..354eccb751 100644 --- a/modules/rtp_rtcp/source/rtp_rtcp_impl2.cc +++ b/modules/rtp_rtcp/source/rtp_rtcp_impl2.cc @@ -774,10 +774,14 @@ void ModuleRtpRtcpImpl2::MaybeSendRtcpAtOrAfterTimestamp( return; } - RTC_DLOG(LS_WARNING) - << "BUGBUG: Task queue scheduled delayed call too early."; + TimeDelta delta = execution_time - now; + // TaskQueue may run task 1ms earlier, so don't print warning if in this case. + if (delta > TimeDelta::Millis(1)) { + RTC_DLOG(LS_WARNING) << "BUGBUG: Task queue scheduled delayed call " + << delta << " too early."; + } - ScheduleMaybeSendRtcpAtOrAfterTimestamp(execution_time, execution_time - now); + ScheduleMaybeSendRtcpAtOrAfterTimestamp(execution_time, delta); } void ModuleRtpRtcpImpl2::ScheduleRtcpSendEvaluation(TimeDelta duration) {