添加七牛直播sdk,在一加手机上总提示打开照相机失败

新手上路,请多包涵

添加七牛直播的sdk,在其他手机上可以成功直播,在一加手机上直播时提示打开照相机失败

错误log:
09-05 13:44:28.044 25831-27137/com.zuilot.chaoshengbo E/onStateChanged: res:17
09-05 13:44:28.044 25831-27137/com.zuilot.chaoshengbo E/CameraStreamingView: Open Camera Fail. id:1

正确log:
09-05 13:45:11.875 27721-28144/com.zuilot.chaoshengbo E/onStateChanged: res:8
09-05 13:45:11.875 27721-28144/com.zuilot.chaoshengbo E/onStateChanged: res:1
09-05 13:45:11.925 27721-27721/com.zuilot.chaoshengbo E/CameraStreamingView_mHandler: res:0
09-05 13:45:11.926 27721-28214/com.zuilot.chaoshengbo E/CameraStreamingView_mHandler: res:startStreaming
09-05 13:45:11.931 27721-28214/com.zuilot.chaoshengbo E/onStateChanged: res:0
09-05 13:45:13.010 27721-28214/com.zuilot.chaoshengbo E/CameraStreamingView: res:true
09-05 13:45:13.037 27721-28201/com.zuilot.chaoshengbo E/pldroid_core_encoder: ret:0l
09-05 13:45:13.619 27721-28215/com.zuilot.chaoshengbo E/onStateChanged: res:2
09-05 13:45:13.620 27721-28215/com.zuilot.chaoshengbo E/onStateChanged: res:3

图片描述

请问这是什么原因,有人知道吗

阅读 2.9k
1 个回答

打开前置相机失败,是不是相机的参数有哪个是一加不支持的。你能自定义相机参数吗?

推荐问题
logo
七牛云问答
子站问答
访问
宣传栏