title: WebRTC in Cordova app: WebContentsDelegate::CheckMediaAccessPermission: Not supported
body: <p>I was using WebRTC in Cordova app with Cordova 5.2.0 and Cordova Android 4.1 without problems. Since I upgraded to Cordova 6.3.1 and Cordova Android 6.1.1, I get the following error message on the console:</p>
  
  <pre><code>chromium: [ERROR:web_contents_delegate.cc(199)] WebContentsDelegate::CheckMediaAccessPermission: Not supported.
  </code></pre>
  
  <p>The permissions in the Android manifest include the following:</p>
  
  <pre><code>&lt;uses-permission android:name="android.permission.INTERNET" /&gt;
  &lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /&gt;
  &lt;uses-permission android:name="android.permission.WAKE_LOCK" /&gt;
  &lt;uses-permission android:name="android.permission.VIBRATE" /&gt;
  &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /&gt;
  &lt;uses-permission android:name="android.permission.CAMERA" /&gt;
  &lt;uses-permission android:name="android.permission.RECORD_AUDIO" /&gt;
  &lt;uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" /&gt;
  &lt;uses-feature android:name="android.hardware.camera" android:required="true" /&gt;
  &lt;uses-feature android:name="android.hardware.camera.autofocus" android:required="true" /&gt;
  </code></pre>
  
  <p>so I would say everything should be just fine. But still I am getting this error. I also noticed that once I actually try to start streaming my local video, I also get these error messages:</p>
  
  <pre><code>[ERROR:voe_audio_processing_impl.cc(685)] SetTypingDetectionStatus: not supported
  [WARNING:webrtcvoiceengine.cc(882)] SetTypingDetectionStatus(0) failed, err=8003
  [ERROR:audio_manager_android.cc(264)] Unable to select audio device!
  [ERROR:web_contents_delegate.cc(199)] WebContentsDelegate::CheckMediaAccessPermission: Not supported.
  </code></pre>
  
  <p>and this info:</p>
  
  <pre><code>[INFO:CONSOLE(0)] "Refused to load the image 'android-webview-video-poster:default_video_poster/8430923907866893907' because it violates the following Content Security Policy directive: "default-src * gap: data: blob: 'unsafe-inline' 'unsafe-eval' ws: wss:". Note that 'img-src' was not explicitly set, so 'default-src' is used as a fallback.
  </code></pre>
  
  <p>Not sure if the CSP is related to the problem, though. I was trying to fix this, but Meteor (which I am using as a wrapper) won't let me do so.</p>