mirror of
https://github.com/m1k1o/neko.git
synced 2026-11-03 00:11:48 -06:00
debug log signal/answer
This commit is contained in:
@@ -230,6 +230,8 @@ export abstract class BaseClient extends EventEmitter<BaseEvents> {
|
||||
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 })
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user