This commit is contained in:
yumoqing 2024-10-11 14:36:17 +08:00
parent 9895f476af
commit d1937661ed

View File

@ -217,7 +217,7 @@ bricks.RTCP2PConnect = class {
aconsole.log(peer, 'connect exists', this); aconsole.log(peer, 'connect exists', this);
} }
console.log('p2pconnect() called, this=', this, 'peer=', peer); console.log('p2pconnect() called, this=', this, 'peer=', peer);
await this.send_offer(data.msgfrom); await this.send_offer(peer);
} }
async h_sessioncreated(data){ async h_sessioncreated(data){
if (this.opts.peer_info){ if (this.opts.peer_info){