Allow web browser to access microphone?

Hi,When visiting a WebRTC website, the website will request microphone or camera permission. Under normal circumstances, a pop-up window will pop up and the user clicks to allow, but nothing happens in the web browser. How to allow the web browser to agree to these permissions or agree by default? similar problem:here
(Using UE5.1, plugin: WebBrowser)

Have you got a solution for this? I am also looking to do the same thing

Yes, I solved it, but it was on a mobile platform. On a mobile platform, you need to request microphone or camera permissions in advance for the phone. I’m not sure about the PC platform, but it may require enabling certain permissions in CEF。

Hey @mikydown how did you do this? using blueprints? please guide me

For microphone permission, you need to use Check Android Permission and Request Android Permissions blueprint and fill it with android.permission.RECORD_AUDIO

My application is based in windows

Sorry, I don’t know much about the solution on windows, you may need to modify the CEF configuration: unsafely-treat-insecure-origin-as-secure

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.