Handles the error when user cancels desktop sharing window.
This commit is contained in:
parent
0470106524
commit
413e5098c8
|
@ -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…
Reference in New Issue