Reduced log verbosity for pieces that are stable (#1274)
This commit is contained in:
@@ -689,7 +689,7 @@ func (d *DownTrack) CloseWithFlush(flush bool) {
|
||||
}
|
||||
|
||||
d.bindLock.Lock()
|
||||
d.logger.Infow("close down track", "flushBlankFrame", flush)
|
||||
d.logger.Debugw("close down track", "flushBlankFrame", flush)
|
||||
if d.bound.Load() {
|
||||
if d.forwarder != nil {
|
||||
d.forwarder.Mute(true)
|
||||
@@ -717,7 +717,7 @@ func (d *DownTrack) CloseWithFlush(flush bool) {
|
||||
d.receiver.DeleteDownTrack(d.subscriberID)
|
||||
|
||||
if d.rtcpReader != nil {
|
||||
logger.Infow("downtrack close rtcp reader")
|
||||
logger.Debugw("downtrack close rtcp reader")
|
||||
d.rtcpReader.Close()
|
||||
d.rtcpReader.OnPacket(nil)
|
||||
}
|
||||
|
||||
@@ -302,7 +302,7 @@ func (f *Forwarder) Mute(muted bool) (bool, VideoLayers) {
|
||||
return false, f.maxLayers
|
||||
}
|
||||
|
||||
f.logger.Infow("setting forwarder mute", "muted", muted)
|
||||
f.logger.Debugw("setting forwarder mute", "muted", muted)
|
||||
f.muted = muted
|
||||
|
||||
// resync when muted so that sequence numbers do not jump on unmute
|
||||
@@ -1271,7 +1271,7 @@ func (f *Forwarder) updateAllocation(alloc VideoAllocation, reason string) Video
|
||||
}
|
||||
|
||||
if alloc.state != f.lastAllocation.state || alloc.targetLayers != f.lastAllocation.targetLayers {
|
||||
f.logger.Infow(fmt.Sprintf("stream allocation: %s", reason), "allocation", alloc)
|
||||
f.logger.Debugw(fmt.Sprintf("stream allocation: %s", reason), "allocation", alloc)
|
||||
}
|
||||
|
||||
f.lastAllocation = alloc
|
||||
|
||||
Reference in New Issue
Block a user