Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Shows and error dialog when we fail to install desktop sharing plugin for some reason.

damencho04701065247d
diff --git a/conference.js b/conference.js
index 201174586f..5c4c62cbeb 100644
--- a/conference.js
+++ b/conference.js
@@ -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(