mirror of
https://github.com/livekit/livekit.git
synced 2026-04-25 22:02:08 +00:00
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())
|
||||
|
||||
case webrtc.ICEConnectionStateDisconnected:
|
||||
fallthrough
|
||||
case webrtc.ICEConnectionStateFailed:
|
||||
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,
|
||||
"channel", s.channelObserver.ToString(),
|
||||
)
|
||||
s.params.Logger.Infow(
|
||||
s.params.Logger.Debugw(
|
||||
fmt.Sprintf("stream allocator: channel congestion detected, %s channel capacity: experimental", action),
|
||||
"rateHistory", s.rateMonitor.GetHistory(),
|
||||
"expectedQueuing", s.rateMonitor.GetQueuingGuess(),
|
||||
|
||||
Reference in New Issue
Block a user