From f160f6200ae747a594d1b6e5da2e2b3fa4278818 Mon Sep 17 00:00:00 2001 From: Raja Subramanian Date: Thu, 13 Feb 2025 11:25:57 +0530 Subject: [PATCH] Do not log no packets in delta. (#3427) Can happen a lot with dynacast layer turn off. --- pkg/sfu/rtpstats/rtpstats_base.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/pkg/sfu/rtpstats/rtpstats_base.go b/pkg/sfu/rtpstats/rtpstats_base.go index 15fbf7720..d8f5c8eed 100644 --- a/pkg/sfu/rtpstats/rtpstats_base.go +++ b/pkg/sfu/rtpstats/rtpstats_base.go @@ -476,13 +476,6 @@ func (r *rtpStatsBase) deltaInfo( StartTime: time.Unix(0, startTime), EndTime: time.Unix(0, endTime), } - loggingFields = []interface{}{ - "snapshotID", snapshotID, - "snapshotNow", now, - "snapshotThen", then, - "duration", time.Duration(endTime - startTime), - } - err = errors.New("no packets in delta") return }