pili-engineering / PLDroidPlayer

PLDroidPlayer 是七牛推出的一款免费的适用于 Android 平台的播放器 SDK,采用全自研的跨平台播放内核,拥有丰富的功能和优异的性能,可高度定制化和二次开发。
https://developer.qiniu.com/pili/sdk/1210/the-android-client-sdk
4.54k stars 956 forks source link

播放高清视频播放器崩溃 #1284

Open mengxiabing opened 2 years ago

mengxiabing commented 2 years ago

如题,以下是日志: 20220512-0 05-12 11:10:10.186 19140 19140 E jxj : run: -1--50--50 20220512-0 05-12 11:10:13.326 19140 19140 E jxj : onBindViewHolder: 20220512-0 05-12 11:10:14.244 19140 19140 E jxj : onBindViewHolder: 20220512-0 05-12 11:10:15.044 19140 19140 E jxj : onBindViewHolder: 20220512-0 05-12 11:10:15.929 19140 19140 E jxj : onBindViewHolder: 20220512-0 05-12 11:10:17.347 19140 19260 E xys : onPrepared:2145 20220512-0 05-12 11:10:17.356 19140 31475 W AudioTrack: Use of stream types is deprecated for operations other than volume control 20220512-0 05-12 11:10:17.356 19140 31475 W AudioTrack: See the documentation of AudioTrack() for what to use instead with android.media.AudioAttributes to qualify your playback use case 20220512-0 05-12 11:10:17.365 19140 31478 E ACodec : [OMX.amlogic.avc.decoder.awesome] setPortMode on output to DynamicANWBuffer failed w/ err -2147483648 20220512-0 05-12 11:10:17.366 19140 31478 E ACodec : [OMX.amlogic.avc.decoder.awesome] configureCodec returning error -1010 20220512-0 05-12 11:10:17.366 19140 31478 E ACodec : signalError(omxError 0x80001001, internalError -1010) 20220512-0 05-12 11:10:17.366 19140 31476 E MediaCodec: Codec reported err 0xfffffc0e, actionCode 0, while in state 3 20220512-0 05-12 11:10:17.367 19140 31474 E MediaCodec: configure failed with err 0xfffffc0e, resetting... 20220512-0 05-12 11:10:17.374 19140 31474 W System.err: android.media.MediaCodec$CodecException: Error 0xfffffc0e 20220512-0 05-12 11:10:17.374 19140 31474 W System.err: at android.media.MediaCodec.native_configure(Native Method) 20220512-0 05-12 11:10:17.374 19140 31474 W System.err: at android.media.MediaCodec.configure(MediaCodec.java:1960) 20220512-0 05-12 11:10:17.374 19140 31474 W System.err: at android.media.MediaCodec.configure(MediaCodec.java:1889) 20220512-0 05-12 11:10:17.795 19140 19260 E xys : onPrepared:2269 20220512-0 05-12 11:10:17.804 19140 31502 W AudioTrack: Use of stream types is deprecated for operations other than volume control 20220512-0 05-12 11:10:17.804 19140 31502 W AudioTrack: See the documentation of AudioTrack() for what to use instead with android.media.AudioAttributes to qualify your playback use case 20220512-0 05-12 11:10:17.807 19140 31504 E ACodec : [OMX.amlogic.avc.decoder.awesome] setPortMode on output to DynamicANWBuffer failed w/ err -2147483648 20220512-0 05-12 11:10:17.808 19140 31504 E ACodec : [OMX.amlogic.avc.decoder.awesome] configureCodec returning error -1010 20220512-0 05-12 11:10:17.808 19140 31504 E ACodec : signalError(omxError 0x80001001, internalError -1010) 20220512-0 05-12 11:10:17.809 19140 31503 E MediaCodec: Codec reported err 0xfffffc0e, actionCode 0, while in state 3 20220512-0 05-12 11:10:17.811 19140 31501 E MediaCodec: configure failed with err 0xfffffc0e, resetting... 20220512-0 05-12 11:10:17.821 19140 31501 W System.err: android.media.MediaCodec$CodecException: Error 0xfffffc0e 20220512-0 05-12 11:10:17.821 19140 31501 W System.err: at android.media.MediaCodec.native_configure(Native Method) 20220512-0 05-12 11:10:17.821 19140 31501 W System.err: at android.media.MediaCodec.configure(MediaCodec.java:1960) 20220512-0 05-12 11:10:17.821 19140 31501 W System.err: at android.media.MediaCodec.configure(MediaCodec.java:1889) 20220512-0 05-12 11:10:18.254 19140 19140 E AlarmService$AlarmReceiver: AlarmReceiver.onReceive.Plink.isConnected():true 20220512-0 05-12 11:10:18.255 19140 19140 E 定位监听---------: 接收到了定位 20220512-0 05-12 11:10:18.258 19140 24026 E LoggingInterceptor: 请求LoggingInterceptorRequest-Body --> {"app":"video","id":"app_220101199910101017","system":"jwportal"} 20220512-0 05-12 11:10:18.258 19140 24026 E LoggingInterceptor: 请求URL------http://20.1.122.49:10090/api/plink/status/online/id on null 20220512-0 05-12 11:10:18.258 19140 24026 E LoggingInterceptor: 请求头------Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1aWQiOjYzMjczLCJzeXNDb2RlIjpudWxsLCJzdWIiOiIxODIwMDAwMDAxMyIsInRpZHMiOlsxODRdLCJkaWRzIjpbXSwiZXhwIjoxNjUyNDExMjU4LCJhaWQiOjUxNiwiaWF0IjoxNjUyMzI0ODU4LCJ0aWQiOjE4NH0.l0KiVU3PCOy1jx8hlfTOtaaUmdOOTG0L0pfBnNvFYpWOGmGWMXAmJMb5CG3a3kJf8ONXmjDHsMtOTlk2pmL_ew 20220512-0 05-12 11:10:18.258 19140 24026 E LoggingInterceptor: Content-Type: application/json 20220512-0 05-12 11:10:18.326 19140 24026 E LoggingInterceptor: 响应URL-------: http://20.1.122.49:10090/api/plink/status/online/id 20220512-0 05-12 11:10:18.326 19140 24026 E LoggingInterceptor: 响应数据------{"code":0,"data":true} 请求用时--------67.3ms 20220512-0 05-12 11:10:18.326 19140 24026 E LoggingInterceptor: Server: nginx 20220512-0 05-12 11:10:18.326 19140 24026 E LoggingInterceptor: Date: Thu, 12 May 2022 03:10:17 GMT 20220512-0 05-12 11:10:18.326 19140 24026 E LoggingInterceptor: Content-Type: application/json 20220512-0 05-12 11:10:18.326 19140 24026 E LoggingInterceptor: Transfer-Encoding: chunked 20220512-0 05-12 11:10:18.326 19140 24026 E LoggingInterceptor: Connection: keep-alive 20220512-0 05-12 11:10:18.326 19140 24026 E LoggingInterceptor: Expires: 0 20220512-0 05-12 11:10:18.326 19140 24026 E LoggingInterceptor: X-XSS-Protection: 1; mode=block 20220512-0 05-12 11:10:18.326 19140 24026 E LoggingInterceptor: X-Frame-Options: DENY 20220512-0 05-12 11:10:18.326 19140 24026 E LoggingInterceptor: Vary: Origin 20220512-0 05-12 11:10:18.326 19140 24026 E LoggingInterceptor: Vary: Access-Control-Request-Method 20220512-0 05-12 11:10:18.326 19140 24026 E LoggingInterceptor: Vary: Access-Control-Request-Headers 20220512-0 05-12 11:10:18.326 19140 24026 E LoggingInterceptor: X-Content-Type-Options: nosniff 20220512-0 05-12 11:10:18.326 19140 24026 E LoggingInterceptor: Cache-Control: 20220512-0 05-12 11:10:18.336 19140 19140 E MainViewModel$4: 接口返回 = true已经在线连接 20220512-0 05-12 11:10:18.363 19140 19260 E xys : onPrepared:1952 20220512-0 05-12 11:10:18.373 19140 31547 W AudioTrack: Use of stream types is deprecated for operations other than volume control 20220512-0 05-12 11:10:18.374 19140 31547 W AudioTrack: See the documentation of AudioTrack() for what to use instead with android.media.AudioAttributes to qualify your playback use case 20220512-0 05-12 11:10:18.382 19140 31550 E ACodec : [OMX.amlogic.avc.decoder.awesome] setPortMode on output to DynamicANWBuffer failed w/ err -2147483648 20220512-0 05-12 11:10:18.386 19140 31550 E ACodec : [OMX.amlogic.avc.decoder.awesome] configureCodec returning error -1010 20220512-0 05-12 11:10:18.386 19140 31550 E ACodec : signalError(omxError 0x80001001, internalError -1010) 20220512-0 05-12 11:10:18.387 19140 31548 E MediaCodec: Codec reported err 0xfffffc0e, actionCode 0, while in state 3 20220512-0 05-12 11:10:18.387 19140 31546 E MediaCodec: configure failed with err 0xfffffc0e, resetting... 20220512-0 05-12 11:10:18.400 19140 31546 W System.err: android.media.MediaCodec$CodecException: Error 0xfffffc0e 20220512-0 05-12 11:10:18.400 19140 31546 W System.err: at android.media.MediaCodec.native_configure(Native Method) 20220512-0 05-12 11:10:18.400 19140 31546 W System.err: at android.media.MediaCodec.configure(MediaCodec.java:1960) 20220512-0 05-12 11:10:18.400 19140 31546 W System.err: at android.media.MediaCodec.configure(MediaCodec.java:1889) 20220512-0 05-12 11:10:19.114 19140 19260 E xys : onPrepared:1663 20220512-0 05-12 11:10:19.126 19140 31599 W AudioTrack: Use of stream types is deprecated for operations other than volume control 20220512-0 05-12 11:10:19.126 19140 31599 W AudioTrack: See the documentation of AudioTrack() for what to use instead with android.media.AudioAttributes to qualify your playback use case 20220512-0 05-12 11:10:19.481 19140 19260 E xys : onPrepared:1574 20220512-0 05-12 11:10:19.511 19140 31628 W AudioTrack: Use of stream types is deprecated for operations other than volume control 20220512-0 05-12 11:10:19.512 19140 31628 W AudioTrack: See the documentation of AudioTrack() for what to use instead with android.media.AudioAttributes to qualify your playback use case 20220512-0 05-12 11:10:20.464 19140 19260 E xys : onPrepared:2212 20220512-0 05-12 11:10:20.476 19140 31678 W AudioTrack: Use of stream types is deprecated for operations other than volume control 20220512-0 05-12 11:10:20.476 19140 31678 W AudioTrack: See the documentation of AudioTrack() for what to use instead with android.media.AudioAttributes to qualify your playback use case 20220512-0 05-12 11:10:20.488 19140 31681 E ACodec : [OMX.amlogic.avc.decoder.awesome] setPortMode on output to DynamicANWBuffer failed w/ err -2147483648 20220512-0 05-12 11:10:20.489 19140 31681 E ACodec : [OMX.amlogic.avc.decoder.awesome] configureCodec returning error -1010 20220512-0 05-12 11:10:20.489 19140 31681 E ACodec : signalError(omxError 0x80001001, internalError -1010) 20220512-0 05-12 11:10:20.489 19140 31679 E MediaCodec: Codec reported err 0xfffffc0e, actionCode 0, while in state 3 20220512-0 05-12 11:10:20.489 19140 31677 E MediaCodec: configure failed with err 0xfffffc0e, resetting... 20220512-0 05-12 11:10:20.499 19140 31677 W System.err: android.media.MediaCodec$CodecException: Error 0xfffffc0e 20220512-0 05-12 11:10:20.499 19140 31677 W System.err: at android.media.MediaCodec.native_configure(Native Method) 20220512-0 05-12 11:10:20.499 19140 31677 W System.err: at android.media.MediaCodec.configure(MediaCodec.java:1960) 20220512-0 05-12 11:10:20.499 19140 31677 W System.err: at android.media.MediaCodec.configure(MediaCodec.java:1889) 20220512-0 05-12 11:10:20.499 19140 19260 E xys : onPrepared:2023 20220512-0 05-12 11:10:20.514 19140 31689 W AudioTrack: Use of stream types is deprecated for operations other than volume control 20220512-0 05-12 11:10:20.514 19140 31689 W AudioTrack: See the documentation of AudioTrack() for what to use instead with android.media.AudioAttributes to qualify your playback use case 20220512-0 05-12 11:10:21.495 19140 31628 W AudioTrack: releaseBuffer() track 0x8382d300 disabled due to previous underrun, restarting 20220512-0 05-12 11:10:22.234 19140 19260 E xys : onPrepared:1643 20220512-0 05-12 11:10:22.303 19140 31764 W AudioTrack: Use of stream types is deprecated for operations other than volume control 20220512-0 05-12 11:10:22.303 19140 31764 W AudioTrack: See the documentation of AudioTrack() for what to use instead with android.media.AudioAttributes to qualify your playback use case 20220512-0 05-12 11:10:22.812 19140 31626 F libc : /Volumes/Android/buildbot/src/android/ndk-r14-release/external/libcxx/../../external/libcxxabi/src/abort_message.cpp:74: void abort_message(const char , ...): assertion "terminating with uncaught exception of type St9bad_alloc: std::bad_alloc" failed 20220512-0 05-12 11:10:22.820 19140 31622 F libc : /Volumes/Android/buildbot/src/android/ndk-r14-release/external/libcxx/../../external/libcxxabi/src/abort_message.cpp:74: void abort_message(const char , ...): assertion "terminating with uncaught exception of type St9bad_alloc: std::bad_alloc" failed 20220512-0 05-12 11:10:22.820 19140 31622 F libc : Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 31622 (CHTTPIO2), pid 19140 (lcommand.maintv) 20220512-0 05-12 11:10:22.824 19140 31596 F libc : /Volumes/Android/buildbot/src/android/ndk-r14-release/external/libcxx/../../external/libcxxabi/src/abort_message.cpp:74: void abort_message(const char , ...): assertion "terminating with uncaught exception of type St9bad_alloc: std::bad_alloc" failed 20220512-0 05-12 11:10:22.857 19140 31760 F libc : /Volumes/Android/buildbot/src/android/ndk-r14-release/external/libcxx/../../external/libcxxabi/src/abort_message.cpp:74: void abort_message(const char , ...): assertion "terminating with uncaught exception of type St9bad_alloc: std::bad_alloc" failed 20220512-0 05-12 11:10:22.896 19140 31687 F libc : /Volumes/Android/buildbot/src/android/ndk-r14-release/external/libcxx/../../external/libcxxabi/src/abort_message.cpp:74: void abort_message(const char , ...): assertion "(null)" failed 20220512-0 05-12 11:10:22.907 19140 31684 F libc : /Volumes/Android/buildbot/src/android/ndk-r14-release/external/libcxx/../../external/libcxxabi/src/abort_message.cpp:74: void abort_message(const char , ...): assertion "(null)" failed 20220512-0 05-12 11:10:22.931 19140 23189 E libc++abi: (null) 20220512-0 05-12 11:10:23.034 19140 31515 F libc : /Volumes/Android/buildbot/src/android/ndk-r14-release/external/libcxx/../../external/libcxxabi/src/abort_message.cpp:74: void abort_message(const char *, ...): assertion "(null)" failed 20220512-0 05-12 11:10:23.088 31796 31796 F DEBUG : pid: 19140, tid: 31622, name: CHTTPIO2 >>> com.telecomyt.visualcommand.maintv <<< 20220512-0 05-12 11:10:23.138 19140 31688 E gralloc : mali_gralloc_ion_map:641 mmap( share_fd:248 ) failed with Out of memory 20220512-0 05-12 11:10:23.138 19140 31688 E gralloc : mali_gralloc_import_buffer:340 retain buffer failed 20220512-0 05-12 11:10:23.138 19140 31688 E GraphicBufferAllocator: Failed to allocate (4096 x 2160) layerCount 1 format 1 usage 133: 5 20220512-0 05-12 11:10:23.138 19140 31688 E BufferQueueProducer: [SurfaceTexture-0-19140-11] dequeueBuffer: createGraphicBuffer failed 20220512-0 05-12 11:10:23.138 19140 31688 E Surface : dequeueBuffer failed (Out of memory) 20220512-0 05-12 11:10:23.138 19140 31688 E Surface : Surface::unlockAndPost failed, no locked buffer 20220512-0 05-12 11:10:25.917 31954 31954 W lcommand.maint: Using default instruction set features for ARM CPU variant (cortex-a9) using conservative defaults 20220512-0 05-12 11:10:26.032 31954 31954 E ARouter::: InstantRun support error, com.android.tools.fd.runtime.Paths 20220512-0 05-12 11:10:26.041 31954 31995 W lcommand.maint: Opening an oat file without a class loader. Are you using the deprecated DexFile APIs? 20220512-0 05-12 11:10:26.115 31954 31996 W Settings: Setting adb_enabled has moved from android.provider.Settings.Secure to android.provider.Settings.Global. 20220512-0 05-12 11:10:26.118 31954 31996 W Settings: Setting development_settings_enabled has moved from android.provider.Settings.Secure to android.provider.Settings.Global. 20220512-0 05-12 11:10:26.126 31954 32015 W MobPushLogger: [MobPush]No more push channel, enter MobPush channel. 20220512-0 05-12 11:10:26.144 31954 31965 W System : A resource failed to call close. 20220512-0 05-12 11:10:26.144 31954 31965 W System : A resource failed to call close. 20220512-0 05-12 11:10:26.163 31954 31996 W System : Ignoring header moid because its value was null. 20220512-0 05-12 11:10:26.172 31954 32015 W System : Ignoring header moid because its value was null. 20220512-0 05-12 11:10:26.595 31954 32015 W System : Ignoring header moid because its value was null. 20220512-0 05-12 11:10:26.610 31954 32009 W System : Ignoring header moid because its value was null. 20220512-0 05-12 11:10:26.618 31954 32009 W System : Ignoring header moid because its value was null. 20220512-0 05-12 11:10:26.720 31954 32081 W Settings: Setting adb_enabled has moved from android.provider.Settings.Secure to android.provider.Settings.Global. 20220512-0 05-12 11:10:27.719 31954 32080 W Settings: Setting adb_enabled has moved from android.provider.Settings.Secure to android.provider.Settings.Global. 20220512-0 05-12 11:10:27.719 31954 32080 W Settings: Setting development_settings_enabled has moved from android.provider.Settings.Secure to android.provider.Settings.Global. 20220512-0 05-12 11:10:27.737 31954 32080 W System : Ignoring header moid because its value was null. 20220512-0 05-12 11:10:28.052 31954 31954 E [UpdateAppUtils]: 外部初始化context 20220512-0 05-12 11:10:28.079 3593 3611 W BroadcastQueue: Permission Denial: broadcasting Intent { act=android.net.conn.CONNECTIVITYCHANGE flg=0x4200010 (has extras) } from null (pid=-1, uid=-1) requires com.tencent.bugly.BuglyBroadcastReceiver.permission due to registered receiver BroadcastFilter{ea57b95 u0 ReceiverList{e02f4c 31954 com.telecomyt.visualcommand.maintv/10025/u0 remote:641137f}} 20220512-0 05-12 11:10:28.206 31954 32204 E LoggingInterceptor: 请求LoggingInterceptorRequest-Body --> {"app":"video","id":"app","system":"jwportal"} 20220512-0 05-12 11:10:28.207 31954 32204 E LoggingInterceptor: 请求URL------http://20.1.122.49:10090/api/plink/status/online/id on null 20220512-0 05-12 11:10:28.207 31954 32204 E LoggingInterceptor: 请求头------Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1aWQiOjYzMjczLCJzeXNDb2RlIjpudWxsLCJzdWIiOiIxODIwMDAwMDAxMyIsInRpZHMiOlsxODRdLCJkaWRzIjpbXSwiZXhwIjoxNjUyNDExMjU4LCJhaWQiOjUxNiwiaWF0IjoxNjUyMzI0ODU4LCJ0aWQiOjE4NH0.l0KiVU3PCOy1jx8hlfTOtaaUmdOOTG0L0pfBnNvFYpWOGmGWMXAmJMb5CG3a3kJf8ONXmjDHsMtOTlk2pmL_ew 20220512-0 05-12 11:10:28.207 31954 32204 E LoggingInterceptor: Content-Type: application/json 20220512-0 05-12 11:10:28.269 31954 32204 E LoggingInterceptor: 响应URL-------: http://20.1.122.49:10090/api/plink/status/online/id 20220512-0 05-12 11:10:28.269 31954 32204 E LoggingInterceptor: 响应数据------{"code":0,"data":false} 请求用时--------61.9ms 20220512-0 05-12 11:10:28.269 31954 32204 E LoggingInterceptor: Server: nginx 20220512-0 05-12 11:10:28.269 31954 32204 E LoggingInterceptor: Date: Thu, 12 May 2022 03:10:27 GMT 20220512-0 05-12 11:10:28.269 31954 32204 E LoggingInterceptor: Content-Type: application/json 20220512-0 05-12 11:10:28.269 31954 32204 E LoggingInterceptor: Transfer-Encoding: chunked 20220512-0 05-12 11:10:28.269 31954 32204 E LoggingInterceptor: Connection: keep-alive 20220512-0 05-12 11:10:28.269 31954 32204 E LoggingInterceptor: Expires: 0 20220512-0 05-12 11:10:28.269 31954 32204 E LoggingInterceptor: X-XSS-Protection: 1; mode=block 20220512-0 05-12 11:10:28.269 31954 32204 E LoggingInterceptor: X-Frame-Options: DENY 20220512-0 05-12 11:10:28.269 31954 32204 E LoggingInterceptor: Vary: Origin 20220512-0 05-12 11:10:28.269 31954 32204 E LoggingInterceptor: Vary: Access-Control-Request-Method 20220512-0 05-12 11:10:28.269 31954 32204 E LoggingInterceptor: Vary: Access-Control-Request-Headers 20220512-0 05-12 11:10:28.269 31954 32204 E LoggingInterceptor: X-Content-Type-Options: nosniff 20220512-0 05-12 11:10:28.269 31954 32204 E LoggingInterceptor: Cache-Control: 20220512-0 05-12 11:10:28.362 31954 31954 E MainViewModel: getDepts = 36907 20220512-0 05-12 11:10:28.362 31954 31954 E MainActivity: 有会议权限 20220512-0 05-12 11:10:28.395 31954 32009 W System : Ignoring header moid because its value was null. 20220512-0 05-12 11:10:28.404 31954 32009 W System : Ignoring header moid because its value was null. 20220512-0 05-12 11:10:28.419 31954 32009 W System : Ignoring header moid because its value was null. 20220512-0 05-12 11:10:28.437 31954 32009 W System : Ignoring header moid because its value was null. 20220512-0 05-12 11:10:28.465 31954 32009 W System : Ignoring header moid because its value was null. 20220512-0 05-12 11:10:28.472 31954 32009 W System : Ignoring header moid because its value was null.