12-28 12:19:53.236 1165-1284/? E/BufferQueueProducer: [SurfaceView] connect(P): already connected (cur=3 req=3)
12-28 12:19:53.236 14164-14319/com.idcvideo.haokaihuidraw E/MediaCodec: native_window_api_connect returned an error: Invalid argument (-22)
12-28 12:19:53.236 14164-14164/com.idcvideo.haokaihuidraw E/MediaCodec: configure failed with err 0xffffffea, resetting...
记一次解码器异常
--------- beginning of crash
12-28 12:19:53.818 14164-14164/com.idcvideo.haokaihuidraw E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.idcvideo.haokaihuidraw, PID: 14164
android.media.MediaCodec3.surfaceCreated(MeetingActivity.java:485)
网上查是参数无效 状态异常 但是所有参数已经核对无异常,后来询问同事 是要在创建前reset 一下 保证状态正常。
https://juejin.im/entry/5aa234f751882555712bf210?tdsourcetag=s_pcqq_aiomsg
这个是相关资料,看来解决问题还是要综合考虑。
网友评论