bugfix
This commit is contained in:
parent
ae79a891d7
commit
9be4c7a353
@ -244,7 +244,7 @@ bricks.RTCP2PConnect = class {
|
|||||||
await this.send_offer(data.msgfrom);
|
await this.send_offer(data.msgfrom);
|
||||||
}
|
}
|
||||||
async h_offer(data){
|
async h_offer(data){
|
||||||
console.log('h_offer(), this=', this 'peer=', data.msgfrom);
|
console.log('h_offer(), this=', this, 'peer=', data.msgfrom);
|
||||||
var pc = this.peers[data.msgfrom.id].pc;
|
var pc = this.peers[data.msgfrom.id].pc;
|
||||||
var offer = new RTCSessionDescription(data.offer);
|
var offer = new RTCSessionDescription(data.offer);
|
||||||
await pc.setRemoteDescription(offer);
|
await pc.setRemoteDescription(offer);
|
||||||
|
Loading…
Reference in New Issue
Block a user