This commit is contained in:
yumoqing 2024-10-11 13:48:45 +08:00
parent 05733669e9
commit 9e611ee75e

View File

@ -209,6 +209,7 @@ bricks.RTCP2PConnect = class {
async p2pconnect(peer){ async p2pconnect(peer){
await this.getLocalStream(); await this.getLocalStream();
await this.createPeerConnection(peer); await this.createPeerConnection(peer);
console.log('p2pconnect() called, this=', this);
} }
async h_sessioncreated(data){ async h_sessioncreated(data){
if (this.opts.peer_info){ if (this.opts.peer_info){