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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user