You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
As I plan to develop an application based on WebRTC, I've been checking the function navigator.mediaDevices.enumerateDevices(), but when testing it on Linux (Ubuntu in my case), I got an error Unhandled Promise Rejection: TypeError: undefined is not an object (evaluating 'navigator.mediaDevices.enumerateDevices')
Describe the solution you'd like
When calling navigator.mediaDevices.enumerateDevices(), I should get the list of media devices available on the guest OS, like in a standard Web navigator.
Check here the interesting compatibility review https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices
For instance your ubuntu webview might be old dated and can be accessed using a different prefix (directly from navigator, or using webkit/moz prefix)
navigator.mediaDevices. works with a recent webkit2gtk (I have 2.40.5), but the webview project needs to respond to the permission requests to allow access.
Is your feature request related to a problem? Please describe.
As I plan to develop an application based on WebRTC, I've been checking the function
navigator.mediaDevices.enumerateDevices()
, but when testing it on Linux (Ubuntu in my case), I got an errorUnhandled Promise Rejection: TypeError: undefined is not an object (evaluating 'navigator.mediaDevices.enumerateDevices')
Describe the solution you'd like
When calling
navigator.mediaDevices.enumerateDevices()
, I should get the list of media devices available on the guest OS, like in a standard Web navigator.For example
Describe alternatives you've considered
I don't have any alternative.
Additional context
I don't have any additional context.
The text was updated successfully, but these errors were encountered: