bugfix
This commit is contained in:
parent
bc44dddf86
commit
491ffe236e
@ -289,10 +289,11 @@ bricks.RTCP2PConnect = class {
|
|||||||
|
|
||||||
async recvdata_handler(data){
|
async recvdata_handler(data){
|
||||||
console.log('recvdata=', data);
|
console.log('recvdata=', data);
|
||||||
var f = this.get_handler(data.type);
|
var f = this.signal_handlers[data.type];
|
||||||
if (f) {
|
if (f) {
|
||||||
await f(data);
|
await f(data);
|
||||||
}
|
}
|
||||||
|
console.log('recvdata=', data, 'NOT HANDLED');
|
||||||
}
|
}
|
||||||
|
|
||||||
async ice_statechange(peer, event){
|
async ice_statechange(peer, event){
|
||||||
|
Loading…
Reference in New Issue
Block a user