I’m trying to run a WebRTC (PeerJS) video-calling website inside an MIT App Inventor WebView app, but the WebView blocks camera and microphone access completely. The app asks for CAMERA and RECORD_AUDIO permissions the first time I open it, but right after granting them, the app becomes unresponsive for a few seconds and then auto-closes. When I reopen the app, Android settings show both permissions are granted, but inside the WebView, navigator.mediaDevices.getUserMedia() still fails with “Permission Denied.” The same website works perfectly in any normal browser, but the MIT WebView does not show any WebRTC permission popup and does not allow camera/mic even after system permissions are granted. I need help understanding whether MIT App Inventor’s default WebView does not support WebRTC at all, and if I must use the CustomWebView extension or open the site in Chrome using ActivityStarter to make camera+mic work properly for PeerJS video calling.
Yes
See also in that thread how to grant those permissions
Taifun
Did you try with the webviewextra extension ?
I am getting 404 error!
Is the Extension Private?
Taifun