mirror of
https://github.com/livekit/livekit.git
synced 2026-10-23 19:32:41 +00:00
Reduce a couple of logs to Debugw. Small saving. (#2322)
This commit is contained in:
1 parent
3cf4fbc6a9
commit
5ee307952e
2 files changed
+3
-3
No files matched your search
@@ -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