Reducing some info level logs. (#4274)

* Reducing some info level logs.

Also, relaxing the check for runaway RTCP receiver report to allow for
rollover to catch up if it is not too far away.

* set logger
This commit is contained in:
Raja Subramanian
2026-02-02 10:54:03 +05:30
committed by GitHub
parent 88facc0235
commit 1e689e1a24
3 changed files with 7 additions and 5 deletions
+2
View File
@@ -445,6 +445,7 @@ func (b *BufferBase) SetStreamRestartDetection(enable bool) {
func (b *BufferBase) setupRTPStats(clockRate uint32) {
b.rtpStats = rtpstats.NewRTPStatsReceiver(rtpstats.RTPStatsParams{})
b.rtpStats.SetLogger(b.logger)
b.rtpStats.SetClockRate(clockRate)
b.ppsSnapshotId = b.rtpStats.NewSnapshotId()
@@ -455,6 +456,7 @@ func (b *BufferBase) setupRTPStats(clockRate uint32) {
if b.params.IsOOBSequenceNumber {
b.rtpStatsLite = rtpstats.NewRTPStatsReceiverLite(rtpstats.RTPStatsParams{})
b.rtpStatsLite.SetLogger(b.logger)
b.rtpStatsLite.SetClockRate(clockRate)
b.liteStatsSnapshotId = b.rtpStatsLite.NewSnapshotLiteId()