Handles the error when user cancels desktop sharing window.

pull/524/head
damencho 9 years ago
parent 0470106524
commit 413e5098c8
  1. 4
      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

Loading…
Cancel
Save