Ar.js through WebView



Hi guys!

I’m trying to output via the WebView example of script ar.js (

Here link to this example -
In Chrome on my device (Android 8) works fine, but via WebView i get error
Webcam Error
Name: NotAllowedError
Message: Permission denied

On console i get this error
chromium: [] WebContentsDelegate::CheckMediaAccessPermission: Not supported.

Based on the information that I found on the Internet, I guess that this indicates a problem with webrtc.

Does anyone have any idea what I might have a problem with?


Try implementing WebChromeClient on your WebView.