Skip to content

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

Handles the error when user cancels desktop sharing window.

damencho413e5098c86e
diff --git a/conference.js b/conference.js
index 5c4c62cbeb..154a5219c5 100644
--- a/conference.js
+++ b/conference.js
@@ -630,6 +630,10 @@ export default {
}).catch((err) => {
this.videoSwitchInProgress = false;
this.toggleScreenSharing(false);
+
+ if(err === TrackErrors.CHROME_EXTENSION_USER_CANCELED)
+ return;
+
console.error('failed to share local desktop', err);
let dialogTxt = APP.translation