flutter E/chromium( 8351): [ERROR:web_contents_delegate.cc(218)] WebContentsDelegate::'CheckMediaAccessPermission': Not supported
For the webview, you need to grant the right permissions.
In your case, for Android, if you trying to use the camera and also the
microphone (for example for a WebRTC live chat), in the AndroidManifest.xml,
you need to add these permissions:
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permission android:name="android.permission.VIDEO_CAPTURE" />
<uses-permission android:name="android.permission.AUDIO_CAPTURE" />
But this is not enough because you need to request permissions to the user
about the camera and microphone. So, you can use the permission_handler plugin.
Plugin: https://pub.dev/packages/permission_handler
reference:
https://stackoverflow.com/questions/56060208/cannot-access-the-camera-from-a-webview