Skip to content

Commit 5d24441

Browse files
committed
downgrading ICE candidate failure from warning to debug message, since
it is common and it doesn't seem to impair WebRTC connections
1 parent 4b63b35 commit 5d24441

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/net/transport/WebRTCConnection.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ class WebRTCConnection implements Connection {
311311

312312
private handleReceiveIceCandidate(candidate: RTCIceCandidateInit) {
313313
this.connection?.addIceCandidate(candidate).catch((reason: any) => {
314-
WebRTCConnection.logger.warning('Failed to set ICE candidate, reason: ' + JSON.stringify(reason));
314+
WebRTCConnection.logger.debug('Failed to set ICE candidate, reason: ' + JSON.stringify(reason));
315315
});
316316
}
317317

0 commit comments

Comments
 (0)