debug log signal/answer
This commit is contained in:
parent
880f151185
commit
7ac99d1bf7
1 changed files with 2 additions and 0 deletions
|
|
@ -230,6 +230,8 @@ export abstract class BaseClient extends EventEmitter<BaseEvents> {
|
||||||
this.emit('warn', `attempting to set remote description while peer connected`, payload)
|
this.emit('warn', `attempting to set remote description while peer connected`, payload)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.emit('debug', `remote description recieved: \n`, payload.sdp)
|
||||||
this._peer!.setRemoteDescription({ type: 'answer', sdp: payload.sdp })
|
this._peer!.setRemoteDescription({ type: 'answer', sdp: payload.sdp })
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue