Reduce a couple of logs to Debugw. Small saving. (#2322)
This commit is contained in:
@@ -633,9 +633,9 @@ func (t *PCTransport) onICEConnectionStateChange(state webrtc.ICEConnectionState
|
|||||||
t.setICEStartedAt(time.Now())
|
t.setICEStartedAt(time.Now())
|
||||||
|
|
||||||
case webrtc.ICEConnectionStateDisconnected:
|
case webrtc.ICEConnectionStateDisconnected:
|
||||||
fallthrough
|
|
||||||
case webrtc.ICEConnectionStateFailed:
|
|
||||||
t.params.Logger.Infow("ice connection state change unexpected", "state", state.String())
|
t.params.Logger.Infow("ice connection state change unexpected", "state", state.String())
|
||||||
|
case webrtc.ICEConnectionStateFailed:
|
||||||
|
t.params.Logger.Debugw("ice connection state change unexpected", "state", state.String())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -835,7 +835,7 @@ func (s *StreamAllocator) handleNewEstimateInNonProbe() {
|
|||||||
"commitThreshold(bps)", commitThreshold,
|
"commitThreshold(bps)", commitThreshold,
|
||||||
"channel", s.channelObserver.ToString(),
|
"channel", s.channelObserver.ToString(),
|
||||||
)
|
)
|
||||||
s.params.Logger.Infow(
|
s.params.Logger.Debugw(
|
||||||
fmt.Sprintf("stream allocator: channel congestion detected, %s channel capacity: experimental", action),
|
fmt.Sprintf("stream allocator: channel congestion detected, %s channel capacity: experimental", action),
|
||||||
"rateHistory", s.rateMonitor.GetHistory(),
|
"rateHistory", s.rateMonitor.GetHistory(),
|
||||||
"expectedQueuing", s.rateMonitor.GetQueuingGuess(),
|
"expectedQueuing", s.rateMonitor.GetQueuingGuess(),
|
||||||
|
|||||||
Reference in New Issue
Block a user