Merge pull request #1181 from thecodingmachine/disable_screensharing_button_on_error
Disable screensharing button if user refuses rights
This commit is contained in:
commit
9f9584633c
@ -169,6 +169,7 @@ export const screenSharingLocalStreamStore = derived<Readable<MediaStreamConstra
|
||||
return;
|
||||
} catch (e) {
|
||||
currentStream = null;
|
||||
requestedScreenSharingState.disableScreenSharing();
|
||||
console.info("Error. Unable to share screen.", e);
|
||||
set({
|
||||
type: 'error',
|
||||
|
Loading…
Reference in New Issue
Block a user