修复美颜失效问题
This commit is contained in:
parent
ee6a4288b0
commit
e2761049e5
@ -775,7 +775,8 @@ public class LivePushRyViewHolder extends AbsRyLivePushViewHolder implements ITX
|
|||||||
videoLayout1.setY(0); //Y 坐标
|
videoLayout1.setY(0); //Y 坐标
|
||||||
videoLayout1.setWidth(720); // 视频窗口的宽
|
videoLayout1.setWidth(720); // 视频窗口的宽
|
||||||
videoLayout1.setHeight(1280); // 视频窗口的高
|
videoLayout1.setHeight(1280); // 视频窗口的高
|
||||||
RCRTCEngine.getInstance().getDefaultVideoStream().setVideoFrameListener(new IRCRTCVideoOutputFrameListener() {
|
//不能设置setVideoFrameListener,会影响到美颜
|
||||||
|
/* RCRTCEngine.getInstance().getDefaultVideoStream().setVideoFrameListener(new IRCRTCVideoOutputFrameListener() {
|
||||||
@Override
|
@Override
|
||||||
public RCRTCVideoFrame processVideoFrame(RCRTCVideoFrame rtcVideoFrame) {
|
public RCRTCVideoFrame processVideoFrame(RCRTCVideoFrame rtcVideoFrame) {
|
||||||
// 使用数据进行美颜/录像等处理后,需要把数据再返回给 SDK 做发送。
|
// 使用数据进行美颜/录像等处理后,需要把数据再返回给 SDK 做发送。
|
||||||
@ -784,7 +785,7 @@ public class LivePushRyViewHolder extends AbsRyLivePushViewHolder implements ITX
|
|||||||
Log.e("视频流", "Height---------------------" + rtcVideoFrame.getHeight());
|
Log.e("视频流", "Height---------------------" + rtcVideoFrame.getHeight());
|
||||||
return rtcVideoFrame;
|
return rtcVideoFrame;
|
||||||
}
|
}
|
||||||
});
|
});*/
|
||||||
//2. 合流画布设置
|
//2. 合流画布设置
|
||||||
rcrtcLiveInfo.setMixConfig(config, new IRCRTCResultCallback() {
|
rcrtcLiveInfo.setMixConfig(config, new IRCRTCResultCallback() {
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user