openwebrtc-examples
openwebrtc-examples copied to clipboard
WebView Example permission denied
I just tried to compile and run the WebView example on Android.
Unfortunately, it does not work, since it cannot access the Camera through getUserMedia() for some reason. (Here's the log)
Even adding
webView.setWebChromeClient(new WebChromeClient(){ @Override public void onPermissionRequest(final PermissionRequest request){ runOnUiThread(new Runnable() { @Override public void run() { request.grant(request.getResources()); } }); } });
does not help. Also, according to the gradle.build file, it should work with API 14.
Can you help me with this/ look into it? Best regards.
I'm having a very similar issue on my end. Were you able to resolve yours?