mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
debug log signal/answer
This commit is contained in:
parent
880f151185
commit
7ac99d1bf7
@ -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 New Issue
Block a user