This commit is contained in:
yumoqing 2024-10-09 15:10:49 +08:00
parent fcf2eb982e
commit 2386f49327

View File

@ -162,7 +162,7 @@ bricks.RTCP2PConnect = class {
this.add_handler('sessionquit', this.h_sessionquit.bind(this)); this.add_handler('sessionquit', this.h_sessionquit.bind(this));
} }
add_handler(type, f): add_handler(type, f){
this.signal_handlers[type] = f; this.signal_handlers[type] = f;
} }
async p2pconnect(peer){ async p2pconnect(peer){