bugfix
This commit is contained in:
parent
f0b4b90edd
commit
bc44dddf86
@ -199,6 +199,10 @@ bricks.RTCP2PConnect = class {
|
|||||||
add_handler(type, f){
|
add_handler(type, f){
|
||||||
this.signal_handlers[type] = f;
|
this.signal_handlers[type] = f;
|
||||||
}
|
}
|
||||||
|
get_handler(type){
|
||||||
|
return this.signal_handlers[type];
|
||||||
|
}
|
||||||
|
|
||||||
async p2pconnect(peer){
|
async p2pconnect(peer){
|
||||||
await this.getLocalStream();
|
await this.getLocalStream();
|
||||||
await this.createPeerConnection(peer);
|
await this.createPeerConnection(peer);
|
||||||
|
Loading…
Reference in New Issue
Block a user