bugfix
This commit is contained in:
parent
020cce8c8d
commit
f71071de9b
@ -96,9 +96,12 @@ bricks.RTCClient = class extends bricks.VBox {
|
|||||||
menu.bind('command', this.call_peer.bind(this));
|
menu.bind('command', this.call_peer.bind(this));
|
||||||
this.menu = menu;
|
this.menu = menu;
|
||||||
}
|
}
|
||||||
call_peer(event){
|
async call_peer(event){
|
||||||
console.log('event params=', event.params);
|
console.log('event params=', event.params);
|
||||||
bricks.Body.remove_widget(this.menu);
|
bricks.Body.remove_widget(this.menu);
|
||||||
|
if (! this.localVideo.get_stream()){
|
||||||
|
await this.getLocalVideo();
|
||||||
|
}
|
||||||
var peer_info = {
|
var peer_info = {
|
||||||
id:event.params.name,
|
id:event.params.name,
|
||||||
name:event.params.label
|
name:event.params.label
|
||||||
|
Loading…
Reference in New Issue
Block a user