Silence some noisy debug logs (#2643)

This commit is contained in:
Raja Subramanian
2024-04-11 10:58:19 +05:30
committed by GitHub
parent 407614b28e
commit 21fbda3470
2 changed files with 2 additions and 8 deletions
+1 -1
View File
@@ -679,7 +679,7 @@ func (r *RTPStatsSender) GetRtcpSenderReport(ssrc uint32, publisherSRData *RTCPS
rtpDiffSinceLastReport := nowRTPExt - r.srNewest.RTPTimestampExt
windowClockRate := float64(rtpDiffSinceLastReport) / timeSinceLastReport.Seconds()
if timeSinceLastReport.Seconds() > 0.2 && math.Abs(float64(r.params.ClockRate)-windowClockRate) > 0.2*float64(r.params.ClockRate) {
if r.clockSkewCount%10 == 0 {
if r.clockSkewCount%100 == 0 {
fields := append(
getFields(),
"timeSinceLastReport", timeSinceLastReport.String(),