Merge pull request #7944 from jfsiebel/alter-screenshare-end-sound

Alter screen share end alert sound
This commit is contained in:
Anton Georgiev 2019-08-16 16:10:21 -04:00 committed by GitHub
commit 6b1338d87b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -81,7 +81,10 @@ const DesktopShare = ({
},
}, 'Default error handler for screenshare');
}
screenShareEndAlert();
// Don't trigger the screen share end alert if presenter click to cancel on screen share dialog
if (error && error.name !== 'NotAllowedError') {
screenShareEndAlert();
}
};
const screenshareLocked = screenshareDataSavingSetting