From 7ac99d1bf77bceed702a2f2382edd507ee3da283 Mon Sep 17 00:00:00 2001 From: Craig Date: Wed, 12 Feb 2020 00:12:16 +0000 Subject: [PATCH] debug log signal/answer --- client/src/neko/base.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/src/neko/base.ts b/client/src/neko/base.ts index 75072b0b..2cc6288b 100644 --- a/client/src/neko/base.ts +++ b/client/src/neko/base.ts @@ -230,6 +230,8 @@ export abstract class BaseClient extends EventEmitter { this.emit('warn', `attempting to set remote description while peer connected`, payload) return } + + this.emit('debug', `remote description recieved: \n`, payload.sdp) this._peer!.setRemoteDescription({ type: 'answer', sdp: payload.sdp }) }