This commit is contained in:
yumoqing 2024-10-12 12:01:39 +08:00
parent 9df2c75cd0
commit 499f61f4ff

View File

@ -363,7 +363,6 @@ bricks.RTCP2PConnect = class {
async datachannel_open(peer){
console.log('datachannel_open():', this, arguments);
var dc = this.peers[peer.id].dc
dc.send('test');
if (this.opts.on_dc_open){
await this.opts.on_dc_open(dc);
}