Problem with camera and microphone devices

Hi, I have a problem implementing the version 2.25 and embedding the video in android. Actually we are using a webview chromium to open the url of openvidu. The problem we are having is that the devices of microphone and camera are blocked and we are not able to activate them.
In the code we are passing the parameters of this devices and in android we are asking for the permission but we are not able to show the options.

Here is the error that is shown on android studio
E/chromium: [ERROR:web_contents_delegate.cc(239)] WebContentsDelegate::CheckMediaAccessPermission: Not supported.
We have also tried with the url for demos and we have the same problem
https://demos.openvidu.io/openvidu-call/

Can someone help us?

You have a native Android application with an embedded Chromium WebView? If that is the case, you must review your permissions in the android manifest. Use these permissions as a starting point: openvidu-android - OpenVidu Docs
You can also try to add new ones, just in case. For example:
<uses-permission android:name="android.permission.MICROPHONE" /> (I’ve seen a post online suggesting this permission would fix that same error in a WebView of an Android app).

Give that a try.

Regards.

1 Like