阿里云视频直播sdk美颜无效-问答-阿里云开发者社区-阿里云

开发者社区> 问答> 正文

阿里云视频直播sdk美颜无效

旺崽崽 2018-11-05 16:18:07 3170

11-05 15:44:19.723 11817-11817/com.example.administrator.starcloudlive D/AlivcLivePusher: AlivcLivePusher-->setBeautyOn beautyOn : true
11-05 15:44:19.723 11817-11817/com.example.administrator.starcloudlive D/LivePusherJNI: getPusherHandler 515278367872
11-05 15:44:19.726 11817-11817/com.example.administrator.starcloudlive D/AlivcLivePusher: AlivcLivePusher-->setBeautyWhite white: 96
11-05 15:44:19.726 11817-11817/com.example.administrator.starcloudlive D/LivePusherJNI: getPusherHandler 515278367872
11-05 15:44:19.729 11817-11817/com.example.administrator.starcloudlive D/White: White:96 true
11-05 15:44:19.729 11817-11817/com.example.administrator.starcloudlive D/AlivcLivePusher: AlivcLivePusher-->setBeautyOn beautyOn : true
11-05 15:44:19.730 11817-11817/com.example.administrator.starcloudlive D/LivePusherJNI: getPusherHandler 515278367872
11-05 15:44:19.737 11817-11817/com.example.administrator.starcloudlive D/beautysetting: White:100
11-05 15:44:19.738 11817-11817/com.example.administrator.starcloudlive D/AlivcLivePusher: AlivcLivePusher-->setBeautyOn beautyOn : true
11-05 15:44:19.738 11817-11817/com.example.administrator.starcloudlive D/LivePusherJNI: getPusherHandler 515278367872
11-05 15:44:19.740 11817-11817/com.example.administrator.starcloudlive D/AlivcLivePusher: AlivcLivePusher-->setBeautyWhite white: 100
11-05 15:44:19.740 11817-11817/com.example.administrator.starcloudlive D/LivePusherJNI: getPusherHandler 515278367872
11-05 15:44:19.741 11817-11817/com.example.administrator.starcloudlive D/White: White:100 true
11-05 15:44:19.742 11817-11817/com.example.administrator.starcloudlive D/AlivcLivePusher: AlivcLivePusher-->setBeautyOn beautyOn : true
11-05 15:44:19.743 11817-11817/com.example.administrator.starcloudlive D/LivePusherJNI: getPusherHandler 515278367872

mAlivcLivePusher.setBeautyOn(true);
mAlivcLivePusher.setBeautyWhite(value);// 美白范围0-100
预览,推流,观看都没有效果,Debug信息如上,AlivcLivePusher都成功调用了对应的方法,也没有报错

视频直播 开发工具
分享到
取消 提交回答
全部回答(1)
  • 旺崽崽
    2019-07-17 23:12:04

    发现问题了,开发文档里面从上往下看,先说到美颜回调setCustomFilter和人脸识别回调setCustomDetect,后面才提到mAlivcLivePusher.init(mContext, mAlivcLivePushConfig);初始化,没多想,就先setCustomFilter,setCustomDetect了,再init,所以无效
    解决:mAlivcLivePusher.init(mContext, mAlivcLivePushConfig);初始化后,才setCustomFilter,setCustomDetect,美颜OK

    0 0
开发与运维
使用钉钉扫一扫加入圈子
+ 订阅

集结各类场景实战经验,助你开发运维畅行无忧

推荐文章
相似问题