I've created a basic UWP application with a WebView. I'm navigating to this URL: https://webrtc.github.io/samples/src/content/getusermedia/gum/ to test the use of getUserMedia().
The error I get is:
getUserMedia error: NotFoundError
I have also add Capabilities Webcam capability to enable the Camera device for your app. but no luck.
Does anyone know if this should be possible, and if I'm therefore doing something wrong? Anyone using getUserMedia within a UWP WebView?
You need allow
PermissionRequestinPermissionRequestedevent handler.Update For WinJS app, you could refer this document.