bugfix
This commit is contained in:
parent
c78438075c
commit
b6ca1750b2
@ -353,11 +353,11 @@ bricks.RTCP2PConnect = class {
|
||||
await this.dc_created(peer, event);
|
||||
}
|
||||
async dc_created(peer, dc){
|
||||
console.log('dc_created.....');
|
||||
console.log('dc_created.....', dc);
|
||||
this.peers[peer.id].dc = dc;
|
||||
dc.onmessage = this.datachannel_message.bind(this, peer);
|
||||
dc.onopen = this.datachannel_open(this, peer);
|
||||
dc.onclose = this.datachannl_close(this, peer);
|
||||
dc.onclose = this.datachannel_close(this, peer);
|
||||
}
|
||||
|
||||
async datachannel_message(peer, msg){
|
||||
|
Loading…
Reference in New Issue
Block a user