Hello,
I am trying to use WebRTC to stream video from an external Webcam on my mini computer that is plugged to a TV.
And when i use a webview to access the webrtc website it mentions that i do not have the permissions...
"Permissions have not been granted to use your camera and microphone, you need to allow the page access to your devices in order for the demo to work."
getUserMedia error: PermissionDeniedError
Any clues?
Y.
PS: I seem to need to use this:
I am trying to use WebRTC to stream video from an external Webcam on my mini computer that is plugged to a TV.
And when i use a webview to access the webrtc website it mentions that i do not have the permissions...
"Permissions have not been granted to use your camera and microphone, you need to allow the page access to your devices in order for the demo to work."
getUserMedia error: PermissionDeniedError
Any clues?
Y.
PS: I seem to need to use this:
B4X:
mWebView.setWebChromeClient(new WebChromeClient() {
@Override
public void onPermissionRequest(PermissionRequest request) {
request.grant(request.getResources());
}
});
Last edited: