Shows and error dialog when we fail to install desktop sharing plugin for some reason.
This commit is contained in:
parent
25a9928758
commit
0470106524
|
@ -631,6 +631,16 @@ export default {
|
|||
this.videoSwitchInProgress = false;
|
||||
this.toggleScreenSharing(false);
|
||||
console.error('failed to share local desktop', err);
|
||||
|
||||
let dialogTxt = APP.translation
|
||||
.generateTranslationHTML("dialog.failtoinstall");
|
||||
let dialogTitle = APP.translation
|
||||
.generateTranslationHTML("dialog.error");
|
||||
APP.UI.messageHandler.openDialog(
|
||||
dialogTitle,
|
||||
dialogTxt,
|
||||
false
|
||||
);
|
||||
});
|
||||
} else {
|
||||
createLocalTracks('video').then(
|
||||
|
|
Loading…
Reference in New Issue