OutSystems / WebView

Avalonia/WPF control that wraps CefGlue webview control
Apache License 2.0
310 stars 38 forks source link

microphone permission denied #305

Closed plmm016 closed 1 year ago

plmm016 commented 1 year ago

I want to open microphone to speech,but no microphone permission box popped up to click, and debug tools show Uncaught (in promise) DOMException: Permission denied.

So, how can I get microphone permission in OutSystems/WebView

joaompneves commented 1 year ago

Hi,

According to this you need to enable the "enable-media-stream" flag. Currently is not possible to enable extra CEF flags. Feel free to open a PR, for supporting extra custom flags. This is the place to start: https://github.com/OutSystems/WebView/blob/master/WebViewControl/WebViewLoader.cs#L49

plmm016 commented 1 year ago

收到~