Log ICE connection info on failure. (#3134)
- Truncate public remote IP - Log only on short connection to avoid logging too much
This commit is contained in:
@@ -640,7 +640,7 @@ func (t *PCTransport) handleConnectionFailed(forceShortConn bool) {
|
||||
}
|
||||
}
|
||||
|
||||
t.params.Handler.OnFailed(isShort)
|
||||
t.params.Handler.OnFailed(isShort, t.GetICEConnectionInfo())
|
||||
}
|
||||
|
||||
func (t *PCTransport) onICEConnectionStateChange(state webrtc.ICEConnectionState) {
|
||||
|
||||
Reference in New Issue
Block a user