bugfix
This commit is contained in:
parent
349247e904
commit
9895f476af
@ -217,6 +217,7 @@ bricks.RTCP2PConnect = class {
|
||||
aconsole.log(peer, 'connect exists', this);
|
||||
}
|
||||
console.log('p2pconnect() called, this=', this, 'peer=', peer);
|
||||
await this.send_offer(data.msgfrom);
|
||||
}
|
||||
async h_sessioncreated(data){
|
||||
if (this.opts.peer_info){
|
||||
@ -242,7 +243,6 @@ bricks.RTCP2PConnect = class {
|
||||
}
|
||||
async h_callaccepted(data){
|
||||
await this.p2pconnect(data.msgfrom);
|
||||
await this.send_offer(data.msgfrom);
|
||||
}
|
||||
async h_offer(data){
|
||||
console.log('h_offer(), this=', this, 'peer=', data.msgfrom);
|
||||
|
Loading…
Reference in New Issue
Block a user