bugfix
This commit is contained in:
parent
d45f625a7d
commit
79154df9fb
@ -355,9 +355,9 @@ bricks.RTCP2PConnect = class {
|
|||||||
}
|
}
|
||||||
async dc_created(peer, dc){
|
async dc_created(peer, dc){
|
||||||
console.log('dc_created.....', dc);
|
console.log('dc_created.....', dc);
|
||||||
dc.onmessage = this.datachannel_message.bind(this, peer);
|
dc.onmessage = this.datachannel_message.bind(peer);
|
||||||
dc.onopen = this.datachannel_open(this, peer);
|
dc.onopen = this.datachannel_open(peer);
|
||||||
dc.onclose = this.datachannel_close(this, peer);
|
dc.onclose = this.datachannel_close(peer);
|
||||||
}
|
}
|
||||||
|
|
||||||
async datachannel_message(peer, msg){
|
async datachannel_message(peer, msg){
|
||||||
|
Loading…
Reference in New Issue
Block a user