This commit is contained in:
yumoqing 2024-10-11 16:59:30 +08:00
parent fb54707c6f
commit bae54cea49

View File

@ -219,7 +219,7 @@ bricks.RTCP2PConnect = class {
console.log('p2pconnect() called, this=', this, 'peer=', peer);
}
async h_sessioncreated(data){
await this.p2pconnect(data.msgfrom, 'requester');
await this.p2pconnect(this.opts.peer_info, 'requester');
if (this.opts.peer_info){
var d = {
type:'callrequest',