bugfix
This commit is contained in:
parent
9df2c75cd0
commit
499f61f4ff
@ -363,7 +363,6 @@ bricks.RTCP2PConnect = class {
|
|||||||
async datachannel_open(peer){
|
async datachannel_open(peer){
|
||||||
console.log('datachannel_open():', this, arguments);
|
console.log('datachannel_open():', this, arguments);
|
||||||
var dc = this.peers[peer.id].dc
|
var dc = this.peers[peer.id].dc
|
||||||
dc.send('test');
|
|
||||||
if (this.opts.on_dc_open){
|
if (this.opts.on_dc_open){
|
||||||
await this.opts.on_dc_open(dc);
|
await this.opts.on_dc_open(dc);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user