openwebrtc-examples icon indicating copy to clipboard operation
openwebrtc-examples copied to clipboard

WebView Example permission denied

Open rubenhorn opened this issue 9 years ago • 2 comments

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.

rubenhorn avatar Jul 06 '16 13:07 rubenhorn

I'm having a very similar issue on my end. Were you able to resolve yours?

nephi5 avatar Jul 29 '16 13:07 nephi5

Kinda... I switched to Cordova and Crosswalk.

rubenhorn avatar Jul 29 '16 20:07 rubenhorn