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

PermissionRequested events are not fired for Microphone #1462

Closed
ms-yuhara opened this issue Jun 28, 2021 · 6 comments
Closed

PermissionRequested events are not fired for Microphone #1462

ms-yuhara opened this issue Jun 28, 2021 · 6 comments
Labels
bug Something isn't working tracked We are tracking this work internally.

Comments

@ms-yuhara
Copy link

ms-yuhara commented Jun 28, 2021

Description
In WebView2 applications, the PermissionRequested event for Microphone is not fired on most sites, and the microphone is automatically disallowed.

Version
SDK: 1.0.902-prerelease
Runtime: 91.0.864.59
Framework: Win32
OS: Windows 10 21H1

Repro Steps

  1. Launch the WebView2APISample.
  2. Navigate to https://mdn.github.io/web-speech-api/speech-color-changer/.
  3. Click on texts on the page to see the message at the bottom.

Expected result: A dialog box will appear asking for permission to use the microphone.
Actual result: The microphone is automatically disallowed.

As an alternative scenario, the same problem can be reproduced at https://www.google.com/. Clicking on the microphone button on the right side of the search box does not allow you to use voice search.

Additional context
We can allow microphones in Microsoft Edge and Google Chrome.

AB#34287542

@ms-yuhara ms-yuhara added the bug Something isn't working label Jun 28, 2021
@tomhoh
Copy link

tomhoh commented Jun 28, 2021 via email

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

champnic commented Jul 7, 2021

@ms-yuhara Thanks for the report, I've opened a bug on our backlog.

@champnic
Copy link
Member

champnic commented Aug 3, 2021

This is fixed in runtimes 93.0.954.0+. Thanks!

@Marvin1968
Copy link

Also, when clicking on a phone number and the web opening 'your phone' isn;t recognized.

@AdamDiament
Copy link

AdamDiament commented Jan 9, 2022

This is fixed in runtimes 93.0.954.0+. Thanks!

I have this issue, trying to implement the zoom web sdk in a .net6 WPF app. How do I check/upgrade the runtime of my webview2? ... scratch that, I already have 97.0.172.55, I still have the issue.

@champnic
Copy link
Member

Hey @AdamDiament - It might be helpful to open a new GH issue to track what you're running into. Thanks!

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

5 participants