mirror of
https://github.com/livekit/livekit.git
synced 2026-05-14 16:15:25 +00:00
Log unexpected ICE connection states (#1870)
This commit is contained in:
@@ -597,6 +597,11 @@ func (t *PCTransport) onICEConnectionStateChange(state webrtc.ICEConnectionState
|
||||
|
||||
case webrtc.ICEConnectionStateChecking:
|
||||
t.setICEStartedAt(time.Now())
|
||||
|
||||
case webrtc.ICEConnectionStateDisconnected:
|
||||
fallthrough
|
||||
case webrtc.ICEConnectionStateFailed:
|
||||
t.params.Logger.Infow("ice connection state change unexpected", "state", state.String())
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user