Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sharing screen in Google Meet is not working #1809

Closed
STorm175 opened this issue Oct 8, 2021 · 6 comments
Closed

Sharing screen in Google Meet is not working #1809

STorm175 opened this issue Oct 8, 2021 · 6 comments
Labels
bug Something isn't working tracked We are tracking this work internally.

Comments

@STorm175
Copy link

STorm175 commented Oct 8, 2021

Description
I created a demo app that uses WebView2 in the WinForms framework (follow https://docs.microsoft.com/en-us/microsoft-edge/webview2/get-started/winforms).
I use sharing screen feature of google meet. It is not working correctly while it works well in Microsoft Teams.

Version
SDK: 1.0.1018.0-prerelease
Runtime: Microsoft.WebView2.FixedVersionRuntime.94.0.992.38.x64 and Canary preview channel 96.0.1039.0
Framework: WinForms
OS: Win10 Home 20H2 19042.1237

Screenshots
image

AB#37330550

@STorm175 STorm175 added the bug Something isn't working label Oct 8, 2021
@STorm175 STorm175 reopened this Oct 12, 2021
@STorm175
Copy link
Author

@federicorosso1993 I don't think it not related to this issue. I found an error log when I click sharing screen button. In the picture below, the cause of the bug is NotAllowedError: Invalid state which seems from getDisplayMedia() always returns "NotAllowedError
image

But I call navigator.mediaDevices.getDisplayMedia() command. It works on another site except in google meet
image
image

@STorm175
Copy link
Author

STorm175 commented Dec 1, 2021

@champnic Please tell me how to use sharing screen in Google meet. I got stuck on this problem for a long time.

@champnic
Copy link
Member

champnic commented Dec 1, 2021

Hey @STorm175 - if I understand correctly, screen sharing is working on Teams and when calling navigator.mediaDevices.getDisplayMedia(), but just not through Google Meet by default? Do you want to try subscribing to the PermissionRequested event, it's possible that's firing and needs to be accepted (just a guess based on the screenshot with the "You must grant permissions" dialog).

@STorm175
Copy link
Author

STorm175 commented Dec 8, 2021

@champnic I subscribed the PermissionRequested event but the event didn't fire.

I checked the default browser which has full permissions, it still not working
image

@champnic champnic added the tracked We are tracking this work internally. label Dec 8, 2021
@champnic
Copy link
Member

champnic commented Dec 8, 2021

Thanks for checking - I've added this as a bug on our backlog.

@monica-ch
Copy link
Contributor

monica-ch commented Mar 25, 2022

@STorm175 Google Meet requires a browser extension and extensions are disabled in WebView2. To enable hangout services in WebView2, you can use this command switch edge-webview-enable-builtin-background-extensions which can be passed using AddtionalBrowserArgument. This is unsupported and could break in the future, but we'll keep this case in mind when we look at WebView2 supporting extensions in #191 and #98

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working tracked We are tracking this work internally.
Projects
None yet
Development

No branches or pull requests

3 participants