question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot share my screen...

See original GitHub issue

Hi, I just went to https://meet.jit.si/ and I was not able to share my screen. The errors that I am seeing in the console are

Logger.js:154 2021-09-28T21:13:18.975Z [modules/RTC/ScreenObtainer.js] getDisplayMedia error {video: true, audio: true, cursor: 'always'} {errorName: 'SecurityError', errorMsg: `Failed to execute 'getDisplayMedia' on 'MediaDevic…play-capture" is disallowed by permission policy.`, errorStack: "Error: Failed to execute 'getDisplayMedia' on 'Med…ogency.io/libs/app.bundle.min.js?v=139:193:15213)"}
o @ Logger.js:154
(anonymous) @ ScreenObtainer.js:246
Promise.catch (async)
obtainScreenFromGetDisplayMedia @ ScreenObtainer.js:239
(anonymous) @ RTCUtils.js:497
_getDesktopMedia @ RTCUtils.js:496
(anonymous) @ RTCUtils.js:624
obtainAudioAndVideoPermissions @ RTCUtils.js:733
obtainAudioAndVideoPermissions @ RTC.js:210
createLocalTracks @ JitsiMeetJS.js:325
...

Show 114 more frames
Logger.js:154 2021-09-28T21:13:18.979Z [features/base/tracks] Failed to create local tracks ['desktop'] s {name: 'gum.screensharing_user_canceled', message: 'User canceled screen sharing prompt', stack: 'Error\n    at new s (https://meet.jit.si/libs/l…ency.io/libs/lib-jitsi-meet.min.js?v=139:1:156193'}
o @ Logger.js:154
(anonymous) @ functions.js:189
Promise.catch (async)
(anonymous) @ functions.js:188
Promise.then (async)
g @ functions.js:166
_createDesktopTrack @ conference.js:1660
_switchToScreenSharing @ conference.js:1854
toggleScreenSharing @ conference.js:1626
(anonymous) @ conference.js:2481
s.emit @ events.js:152
...

Logger.js:154 2021-09-28T21:13:18.980Z [conference.js] <Object.toggleScreenSharing>:  Failed to switch to screensharing s {name: 'gum.screensharing_user_canceled', message: 'User canceled screen sharing prompt', stack: 'Error\n    at new s (https://meet.jit.si/libs/l…ency.io/libs/lib-jitsi-meet.min.js?v=139:1:156193'}

I am on macOS BigSur, also double-checked my privacy settings Screen Shot 2021-09-28 at 5 25 12 PM

What do you think I could do to make it work?

Thank you, Linda

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
nils-ohlmeiercommented, Sep 29, 2021

@lindamiles from the console log “… is disallowed by permission policy.” makes me wonder if you are using a corporate machine, where some admins are using company policies to turn off certain features in Chrome?

0reactions
shane215commented, Oct 15, 2021

In general, the community forum is the best place to start when posting problems and questions, and reserve opening new issues for confirmed app defects.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why is my screen share not working? Typical Screen Sharing ...
How to fix Screen Sharing issues · Restart your Device · Terminate Browser Processes and Clear Cache · Force-Quit Running Applications · Edit ......
Read more >
Common Screen Sharing Problems and How to Fix Them
Sometimes, you may encounter a grayed-out screen sharing option. The situation often occurs when you try to share a screen with a person...
Read more >
If you can't share Mac computer screens - Apple Support
If you're trying to share the screen of another Mac, on that Mac choose Apple menu > System Settings, click General in the...
Read more >
Why can't I share my screen? - Gather Help
If you are having trouble sharing your screen on Gather, start by checking your browser's permissions. For example, in Chrome, select the ...
Read more >
Google Meet Screen Sharing Not Working? How to Fix the ...
Why Can't I Present My Screen on Google Meet? · Depending on how you are using Google Meet, restart the app or your...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found