您的位置:首页技术文章
文章详情页

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

【字号: 日期:2024-09-03 08:53:04浏览:45作者:猪猪

问题描述

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

错误log:09-05 13:44:28.044 25831-27137/com.zuilot.chaoshengbo E/onStateChanged: res:1709-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:809-05 13:45:11.875 27721-28144/com.zuilot.chaoshengbo E/onStateChanged: res:109-05 13:45:11.925 27721-27721/com.zuilot.chaoshengbo E/CameraStreamingView_mHandler: res:009-05 13:45:11.926 27721-28214/com.zuilot.chaoshengbo E/CameraStreamingView_mHandler: res:startStreaming09-05 13:45:11.931 27721-28214/com.zuilot.chaoshengbo E/onStateChanged: res:009-05 13:45:13.010 27721-28214/com.zuilot.chaoshengbo E/CameraStreamingView: res:true09-05 13:45:13.037 27721-28201/com.zuilot.chaoshengbo E/pldroid_core_encoder: ret:0l09-05 13:45:13.619 27721-28215/com.zuilot.chaoshengbo E/onStateChanged: res:209-05 13:45:13.620 27721-28215/com.zuilot.chaoshengbo E/onStateChanged: res:3

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

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

问题解答

回答1:

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