You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 29, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 29, 2023. It is now read-only.
Google Meet, Teams, Jitsi, etc: screensharing is broken (because APIs getDisplayMedia / chooseDesktopMedia missing in Electron) #927
I searched existing open & closed issues. Yes, my bug is new.
Steps to reproduce
Created application using nativefier --name "Meet Native" "https://meet.google.com"
Opened app, logged into my account
Create a new one using the "Join or start meeting" button
Click the "Present" button
The following dialog appears:
Expected behavior
A permissions dialog asking to gain access to the screen or something.
Debug info
Verbose logs (command-line and/or in app DevTools console), error message, screenshots
Context
Nativefier: 7.7.0
OS: Mac OSX 10.14.6
Reacted by Max Vincent Goldgamer, Lennaert Bel, Evan Anderson, Jianqing Liu, Martin Frouin, MCisneros, Oleh, Ali Azhar, Cross, originalsouth and 4 more
I just tried this in 8.0.4 (Mac OSX 10.15.3) and also cannot present. I believe this is likely do to a need for the Screen Recording permission in the Privacy settings, which the Nativefier app is not requesting.
I just tried this in 8.0.4 (Mac OSX 10.15.3) and also cannot present. I believe this is likely do to a need for the Screen Recording permission in the Privacy settings, which the Nativefier app is not requesting.
Thanks. Additional data:
Problem reproducible too under Linux, so it's a general bug, not a macOS permission-specific bug.
Reproducible with Nativefier 7.7.1 with Electron 5.0.13 & 6.1.9
Reproducible with Nativefier 8.0.4 with Electron 8.1.1
In all cases, same result: when trying to join a call, Camera starts being accessed (LED turns on), but then Meet says "You can't join this video call", and console/network shows one error: Failed to load resource: the server responded with a status of 403 (POST https://meet.google.com/$rpc/google.rtc.meetings.v1.MeetingSpaceService/ResolveMeetingSpace)
changed the title [-]Google Meet: camera, microphone, screensharing are broken[/-][+]Google Meet: screensharing is broken (and sometimes camera & microphone too)[/+]on Mar 24, 2020
My camera and microphone work fine as well - it's just screensharing ("Present" button) that results in "Can't share your screen - Sorry, an error has occurred when screensharing." Not sure if it matters, but my Chrome version is Version 80.0.3987.149 (Official Build) (64-bit).
Reacted by David Montemayor, mfrankl, Dan Anderson, Dale, Piyush Bansal, Sagar J, Bill Mers, sarabchian and Sandor Kazi
Tried to make MS Teams on Mac work - it doesn't undortunately. For some reason it complains about the missing permissions - however I have given them. No luck yet.
Activity
ronjouch commentedon Mar 19, 2020
ryanvidal commentedon Mar 20, 2020
I just tried this in 8.0.4 (Mac OSX 10.15.3) and also cannot present. I believe this is likely do to a need for the Screen Recording permission in the Privacy settings, which the Nativefier app is not requesting.
ronjouch commentedon Mar 21, 2020
Thanks. Additional data:
In all cases, same result: when trying to join a call, Camera starts being accessed (LED turns on), but then Meet says "You can't join this video call", and console/network shows one error:
Failed to load resource: the server responded with a status of 403 (POST https://meet.google.com/$rpc/google.rtc.meetings.v1.MeetingSpaceService/ResolveMeetingSpace)[-]Cannot present my screen in Google Meet[/-][+]Google Meet: camera, microphone, screensharing are broken[/+]davidmontemayor commentedon Mar 23, 2020
In Mojave I don't even see the screen recording permission in the Settings & Privacy list.
davidmontemayor commentedon Mar 24, 2020
Also, Camera/Microphone work fine for me! Better than in Chrome, actually! I'm using Meet in native because it performs much better.
ronjouch commentedon Mar 24, 2020
@davidmontemayor interesting; for me cam&mic don't work. Thanks for the update!
[-]Google Meet: camera, microphone, screensharing are broken[/-][+]Google Meet: screensharing is broken (and sometimes camera & microphone too)[/+]davidmontemayor commentedon Mar 24, 2020
ryanvidal commentedon Mar 25, 2020
My camera and microphone work fine as well - it's just screensharing ("Present" button) that results in "Can't share your screen - Sorry, an error has occurred when screensharing." Not sure if it matters, but my Chrome version is Version 80.0.3987.149 (Official Build) (64-bit).
dndrsn commentedon Apr 23, 2020
I would assume this issue is related to this - electron/electron#16513
24 remaining items
kwmc-lucas commentedon May 12, 2022
Amazing to see this coming together, thanks to everyone taking a look.
simonweil commentedon May 17, 2022
I'm having the issue that my camera fails to start and sharing my screen doesn't work in google meet.
Reading the thread I'm not clear if there is currently a workaround I can use for it.
If there is, can someone direct me to the instructions?
Is there any plan when a fix may be released?
kwmc-lucas commentedon May 17, 2022
@simonweil FWIW my camera works in Teams, so I think that might be another issue.
Screen sharing doesn't work for me either, but it seems like there's progress being made on that one above.
asteinba commentedon Aug 12, 2022
Does anybody have a working example with Microsoft Teams for x11 or wayland? None of the posted workarounds work for me under Ubuntu 22.04 with GNOME.
deciacco commentedon Oct 28, 2022
I did everything as outlined by RickStanley, but...
Ubuntu 22.04.1 LTS, with XFCE and x11
With/Without these switches:
Get this:

niccolomineo commentedon Feb 17, 2023
Anyone managed to find a workaround for Google Meet?
ip7e commentedon Feb 28, 2023
Google Meets works in electron if you use User Agent replicating Safari browser
edsenabr commentedon Feb 28, 2023
niccolomineo commentedon Feb 28, 2023
I'd much rather have Chromium working under the hood, given how unreliable has been Safari on my system(s) since Big Sur came out.
kwmc-lucas commentedon Feb 28, 2023
@niccolomineo also, Microsoft Teams doesn't support Safari.
niccolomineo commentedon Feb 28, 2023
I never mentioned MS Teams.🙂
Eugeniusz-Gienek commentedon Mar 3, 2023
Tried to make MS Teams on Mac work - it doesn't undortunately. For some reason it complains about the missing permissions - however I have given them. No luck yet.
Add getDisplayMedia and PipeWire support (#1477)
Add getDisplayMedia and PipeWire support (nativefier#1477)