You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Joe Bowser (JIRA)" <ji...@apache.org> on 2017/08/02 17:53:01 UTC

[jira] [Commented] (CB-13128) WebRTC in Cordova app: WebContentsDelegate::CheckMediaAccessPermission: Not supported

    [ https://issues.apache.org/jira/browse/CB-13128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16111422#comment-16111422 ] 

Joe Bowser commented on CB-13128:
---------------------------------

This is a Chromium bug where it's explicitly saying that this is not supported on an Android WebView.  No number of Android permissions is going to fix something that's not properly compiled or implemented.

> WebRTC in Cordova app: WebContentsDelegate::CheckMediaAccessPermission: Not supported
> -------------------------------------------------------------------------------------
>
>                 Key: CB-13128
>                 URL: https://issues.apache.org/jira/browse/CB-13128
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-android
>    Affects Versions: 6.3.1
>            Reporter: Tom Brückner
>
> 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 on my Nexus 7 2013:
>     chromium: [ERROR:web_contents_delegate.cc(199)] WebContentsDelegate::CheckMediaAccessPermission: Not supported.
> The permissions in the Android manifest include the following:
>     <uses-permission android:name="android.permission.INTERNET" />
>     <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
>     <uses-permission android:name="android.permission.WAKE_LOCK" />
>     <uses-permission android:name="android.permission.VIBRATE" />
>     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
>     <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-feature android:name="android.hardware.camera" android:required="true" />
>     <uses-feature android:name="android.hardware.camera.autofocus" android:required="true" />
> 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:
>     [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.
> and the local video has a size of 2x2. The remote video from the peer, however, works just fine. Only the local video is affected.
> I am also getting this info:
>     [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.
> Not sure if this CSP issue 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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org