pchab / AndroidRTC

Android client for ProjectRTC - a WebRTC demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Black screen on Oneplus 6 (A6003) Pie

antgustech opened this issue · comments

commented

When starting the app, I just have a black screen. Have also tried fixes from #189 but it it did not resolve it. The logcat shows a lot of Access denied.

10/24 10:59:37: Launching 'app' on OnePlus ONEPLUS A6003. $ adb shell am start -n "fr.pchab.androidrtc/fr.pchab.androidrtc.RtcActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER Waiting for process to come online... Connected to process 25521 on device 'oneplus-oneplus_a6003-4cfe5224'. Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page. I/Perf: Connecting to perf service. E/libc: Access denied finding property "vendor.debug.egl.profiler" W/fr.pchab.androidrtc: type=1400 audit(0.0:1697169): avc: denied { read } for comm=45474C20496E6974 name="u:object_r:vendor_default_prop:s0" dev="tmpfs" ino=18575 scontext=u:r:untrusted_app:s0:c220,c256,c512,c768 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=0 E/libc: Access denied finding property "vendor.debug.prerotation.disable" W/fr.pchab.androidrtc: type=1400 audit(0.0:1697170): avc: denied { read } for comm=45474C20496E6974 name="u:object_r:vendor_default_prop:s0" dev="tmpfs" ino=18575 scontext=u:r:untrusted_app:s0:c220,c256,c512,c768 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=0 D/OpenGLRenderer: Skia GL Pipeline D/VideoRendererGui: VideoRendererGui.setView D/VideoRendererGui: YuvImageRenderer.Create id: 0 YuvImageRenderer.Create id: 1 I/Adreno: QUALCOMM build : f909f5a, Ida6448821d Build Date : 11/12/18 OpenGL ES Shader Compiler Version: EV031.25.03.00 Local Branch : Remote Branch : refs/tags/AU_LINUX_ANDROID_LA.UM.7.3.R1.08.00.00.423.039 Remote Branch : NONE Reconstruct Branch : NOTHING Build Config : S P 6.0.3 AArch64 W/RenderThread: type=1400 audit(0.0:1697171): avc: denied { read } for name="u:object_r:vendor_default_prop:s0" dev="tmpfs" ino=18575 scontext=u:r:untrusted_app:s0:c220,c256,c512,c768 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=0 E/libc: Access denied finding property "vendor.debug.prerotation.disable" E/libc: Access denied finding property "ro.vendor.graphics.memory" E/libc: Access denied finding property "vendor.debug.prerotation.disable" E/libc: Access denied finding property "vendor.debug.prerotation.disable" I/Adreno: PFP: 0x016ee170, ME: 0x00000000 E/libc: Access denied finding property "vendor.debug.prerotation.disable" W/GLSurfaceView: Warning, !readyToDraw() but waiting for draw finished! Early reporting draw finished. I/ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 1 android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0 I/OpenGLRenderer: Initialized EGL, version 1.4 D/OpenGLRenderer: Swap behavior 2 E/libc: Access denied finding property "vendor.debug.egl.changepixelformat" E/libc: Access denied finding property "vendor.debug.egl.swapinterval" D/: Successfully load libgui-plugin.so, this=0x799c7350c0 E/libc: Access denied finding property "vendor.debug.egl.swapinterval" D/DecorView: onWindowFocusChangedFromViewRoot hasFocus: true, DecorView@aa0f20e[RtcActivity] W/fr.pchab.androidrtc: type=1400 audit(0.0:1697186): avc: denied { read } for comm=474C5468726561642032363832 name="u:object_r:vendor_default_prop:s0" dev="tmpfs" ino=18575 scontext=u:r:untrusted_app:s0:c220,c256,c512,c768 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=0 E/libc: Access denied finding property "vendor.debug.egl.changepixelformat" D/VideoRendererGui: VideoRendererGui.onSurfaceCreated D/VideoRendererGui: VideoRendererGui EGL Context: android.opengl.EGLContext@fd0cf607 D/VideoRendererGui: YuvImageRenderer.createTextures 0 on GL thread:2682 E/libc: Access denied finding property "vendor.debug.egl.swapinterval" W/RenderThread: type=1400 audit(0.0:1697187): avc: denied { read } for name="u:object_r:vendor_default_prop:s0" dev="tmpfs" ino=18575 scontext=u:r:untrusted_app:s0:c220,c256,c512,c768 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=0 D/VideoRendererGui: YuvImageRenderer.createTextures 1 on GL thread:2682 D/MediaCodecVideoDecoder: SDK version: 28 D/*WEBRTCN*: SetRenderAndroidVM D/AudioManager: SetAndroidAudioDeviceObjects@[tid=25556] D/AudioTrackJni: SetAndroidAudioDeviceObjects@[tid=25556] D/AudioRecordJni: SetAndroidAudioDeviceObjects@[tid=25556] D/MediaCodecVideo: SetAndroidObjects for surface decoding. W/VideoCapabilities: Unsupported mime image/vnd.android.heic W/VideoCapabilities: Unrecognized profile 2130706433 for video/avc Unrecognized profile 2130706434 for video/avc W/VideoCapabilities: Unrecognized profile 2130706433 for video/avc Unrecognized profile 2130706434 for video/avc W/VideoCapabilities: Unsupported mime video/divx W/VideoCapabilities: Unsupported mime video/divx4 W/VideoCapabilities: Unrecognized profile 4 for video/hevc W/VideoCapabilities: Unrecognized profile/level 0/3 for video/mpeg2 W/VideoCapabilities: Unrecognized profile/level 0/3 for video/mpeg2 W/VideoCapabilities: Unsupported mime video/x-ms-wmv W/VideoCapabilities: Unrecognized profile 2130706433 for video/avc Unrecognized profile 2130706434 for video/avc I/VideoCapabilities: Unsupported profile 4 for video/mp4v-es V/MediaCodecVideoEncoder: Found candidate encoder OMX.qcom.video.encoder.vp8 Color: 0x7fa30c06 Color: 0x7fa30c04 Color: 0x7fa30c00 Color: 0x7fa30c09 Color: 0x7fa30c0a Color: 0x7fa30c08 Color: 0x7fa30c07 Color: 0x7f000789 Color: 0x7f420888 Color: 0x15 D/MediaCodecVideoEncoder: Found target encoder for mime video/x-vnd.on2.vp8 : OMX.qcom.video.encoder.vp8. Color: 0x15 D/MediaCodecVideo: VP8 HW Encoder supported. V/MediaCodecVideoEncoder: Found candidate encoder OMX.qcom.video.encoder.avc Color: 0x7fa30c06 Color: 0x7fa30c04 Color: 0x7fa30c00 Color: 0x7fa30c09 Color: 0x7fa30c0a Color: 0x7fa30c08 Color: 0x7fa30c07 Color: 0x7f000789 Color: 0x7f420888 Color: 0x15 D/MediaCodecVideoEncoder: Found target encoder for mime video/avc : OMX.qcom.video.encoder.avc. Color: 0x15 D/MediaCodecVideo: H.264 HW Encoder supported. V/MediaCodecVideoDecoder: Found candidate decoder OMX.qcom.video.decoder.vp8 Color: 0x7fa30c06 Color: 0x7f420888 Color: 0x7fa30c04 Color: 0x15 Color: 0x13 Color: 0x7fa30c05 D/MediaCodecVideoDecoder: Found target decoder OMX.qcom.video.decoder.vp8. Color: 0x13 D/MediaCodecVideo: VP8 HW Decoder supported. V/MediaCodecVideoDecoder: Found candidate decoder OMX.qcom.video.decoder.avc Color: 0x7fa30c06 Color: 0x7f420888 Color: 0x7fa30c04 Color: 0x15 Color: 0x13 Color: 0x7fa30c05 D/MediaCodecVideoDecoder: Found target decoder OMX.qcom.video.decoder.avc. Color: 0x13 D/MediaCodecVideo: H264 HW Decoder supported. D/AudioManager: ctor@[tid=25568] CreateJavaInstance D/HelpersAndroid: Attaching thread to JVM@[tid=25568] D/WebRtcAudioManager: ctor@[name=Thread-3, id=2686] D/WebRtcAudioManager: nativeSampleRate: 48000 nativeChannels: 1 D/AudioManager: OnCacheAudioParameters@[tid=25568] sample_rate: 48000 channels: 1 D/HelpersAndroid: Detaching thread from JVM@[tid=25568] D/AudioTrackJni: ctor@[tid=25568] CreateJavaInstance D/HelpersAndroid: Attaching thread to JVM@[tid=25568] D/WebRtcAudioTrack: ctor@[name=Thread-4, id=2687] D/HelpersAndroid: Detaching thread from JVM@[tid=25568] D/AudioRecordJni: ctor@[tid=25568] CreateJavaInstance D/HelpersAndroid: Attaching thread to JVM@[tid=25568] D/WebRtcAudioRecord: ctor@[name=Thread-5, id=2688] D/HelpersAndroid: Detaching thread from JVM@[tid=25568] D/AudioTrackJni: AttachAudioBuffer@[tid=25568] SetPlayoutSampleRate(48000) SetPlayoutChannels(1) D/AudioRecordJni: AttachAudioBuffer SetRecordingSampleRate(48000) SetRecordingChannels(1) D/AudioManager: Init@[tid=25568] D/HelpersAndroid: Attaching thread to JVM@[tid=25568] D/WebRtcAudioManager: init@[name=Thread-6, id=2689] D/HelpersAndroid: Detaching thread from JVM@[tid=25568] D/AudioTrackJni: Init@[tid=25568] D/AudioRecordJni: Init@[tid=25568] D/AudioRecordJni: BuiltInAECIsAvailable@[tid=25568] D/HelpersAndroid: Attaching thread to JVM@[tid=25568] D/HelpersAndroid: Detaching thread from JVM@[tid=25568] D/AudioRecordJni: EnableBuiltInAEC@[tid=25568] D/HelpersAndroid: Attaching thread to JVM@[tid=25568] D/WebRtcAudioRecord: EnableBuiltInAEC(true) D/HelpersAndroid: Detaching thread from JVM@[tid=25568] D/AudioRecordJni: BuiltInAECIsAvailable@[tid=25568] D/HelpersAndroid: Attaching thread to JVM@[tid=25568] D/HelpersAndroid: Detaching thread from JVM@[tid=25568] D/AudioRecordJni: EnableBuiltInAEC@[tid=25568] D/HelpersAndroid: Attaching thread to JVM@[tid=25568] D/WebRtcAudioRecord: EnableBuiltInAEC(true) D/HelpersAndroid: Detaching thread from JVM@[tid=25568] D/VideoRendererGui: VideoRendererGui.onSurfaceChanged: 1080 x 2200 D/VideoRendererGui: ID: 0. YuvImageRenderer.setScreenSize: 1080 x 2200 ID: 1. YuvImageRenderer.setScreenSize: 1080 x 2200 W/fr.pchab.androidrtc: type=1400 audit(0.0:1697188): avc: denied { read } for comm=474C5468726561642032363832 name="u:object_r:vendor_default_prop:s0" dev="tmpfs" ino=18575 scontext=u:r:untrusted_app:s0:c220,c256,c512,c768 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=0 E/libc: Access denied finding property "vendor.debug.egl.swapinterval" I/DpmTcmClient: RegisterTcmMonitor from: com.android.okhttp.TcmIdleTimerMonitor D/NetworkSecurityConfig: No Network Security Config specified, using platform default W/IInputConnectionWrapper: getExtractedText on inactive InputConnection W/IInputConnectionWrapper: getTextBeforeCursor on inactive InputConnection E/libc: Access denied finding property "vendor.debug.egl.swapinterval" W/GLSurfaceView: Warning, !readyToDraw() but waiting for draw finished! Early reporting draw finished. D/DecorView: onWindowFocusChangedFromViewRoot hasFocus: true, DecorView@aa0f20e[RtcActivity] E/libc: Access denied finding property "vendor.debug.egl.swapinterval" E/libc: Access denied finding property "vendor.debug.egl.changepixelformat" D/VideoRendererGui: VideoRendererGui.onSurfaceChanged: 1080 x 2200 E/libc: Access denied finding property "vendor.debug.egl.swapinterval" E/libc: Access denied finding property "vendor.debug.egl.swapinterval"