I have a peerJS video call app running on android WebView. I'm getting the following error from logcat
E/chromium: [ERROR:web_contents_delegate.cc(228)] WebContentsDelegate::CheckMediaAccessPermission: Not supported.
I have granted the permissions using this code:
webView.webChromeClient = object : WebChromeClient() {
override fun onPermissionRequest(request: PermissionRequest?) {
request?.grant(request.resources)
}
}
Everything works fine and I'm able to stream the video. But, How can I avoid this error? Should I be worried about this?