neutralinojs / webview

A modified version of C++ webview for Neutralinojs.
MIT License
10 stars 1 forks source link

navigator.mediaDevices is undefined #24

Open 0ctopirate opened 2 years ago

0ctopirate commented 2 years ago

Describe the bug navigator.mediaDevices is undefined when running neutralinojs on macOS: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko)

To Reproduce Steps to reproduce the behavior:

  1. Run a neutralino with an html that prints navigator.mediaDevices. On the browser, (in my case Safari) this returns the mediaDevices object. In neutralino, it is undefined

Specifications

Additional context I think this may be a permissions problem. I don't have access to testing on windows but I would believe it may not happen there.

pathange-s commented 2 years ago

@0ctopirate, I have checked out microphone and camera access for various modes available. I see that browser and chrome modes work smoothly without any issues. The webview being used doesnt provide that support for this. I opened up an issue on webview/webview Hope to get a work around soon so that we can get it in action.