美颜

//注册视频数据回调,获取纹理数据
RongRTCCapture.getInstance().setLocalVideoFrameListener(true, new ILocalVideoFrameListener() {
                @Override
                public RTCVideoFrame processVideoFrame(RTCVideoFrame rtcVideoFrame) {
                    if (beautyFilter == null) {//创建滤镜,源码在demo中提供
                            beautyFilter = new GPUImageBeautyFilter();
                    }
                    if (rtcVideoFrame.getCurrentCaptureDataType()) {
                     //用滤镜处理纹理数据,然后再放回到RTCVideoFrame中,确保发送出去的视频数据是做过美颜处理的
                        rtcVideoFrame.setOesTextureId(beautyFilter.draw(rtcVideoFrame.getWidth(), rtcVideoFrame.getHeight(), rtcVideoFrame.getOesTextureId()));
                    } else {
                        //yuv 数据的美颜实现
                    }
                    return rtcVideoFrame;
                }
            });

详细参考美颜 Demo