From bd5f02223aa22bf455b4de1616508eeffd5acf39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0ediv=C3=BD?= Date: Sun, 30 Jan 2022 01:28:38 +0100 Subject: [PATCH] fix log. --- src/component/internal/webrtc.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/component/internal/webrtc.ts b/src/component/internal/webrtc.ts index 6066cfc2..fb9d9675 100644 --- a/src/component/internal/webrtc.ts +++ b/src/component/internal/webrtc.ts @@ -86,13 +86,13 @@ export class NekoWebRTC extends EventEmitter { this._peer.onicecandidate = (event: RTCPeerConnectionIceEvent) => { if (!event.candidate) { - this._log.debug(`sent all remote ICE candidates`) + this._log.debug(`sent all local ICE candidates`) return } const init = event.candidate.toJSON() this.emit('candidate', init) - this._log.debug(`sending remote ICE candidate`, { init }) + this._log.debug(`sending local ICE candidate`, { init }) } this._peer.onicecandidateerror = (event: Event) => {