NERtcEngineVideoFrameObserver Protocol Reference

Conforms to NSObject
Declared in NERtcEngineDelegate.h

Overview

本地视频数据采集回调 如果需要对采集数据做美颜等处理,需要实现这个 protocol。

– onNERtcEngineVideoFrameCaptured:rotation:

设置视频采集数据回调,用于美颜等操作。

- (void)onNERtcEngineVideoFrameCaptured:(CVPixelBufferRef)bufferRef rotation:(NERtcVideoRotationType)rotation

Parameters

bufferRef

CVPixelBufferRef,iOS 原生格式。

rotation

视频方向,详细信息请参考 NERtcVideoRotationType。

Discussion

设置视频采集数据回调,用于美颜等操作。

同步返回,Engine 将会继续视频处理流程。

Note: 纯音频 SDK 禁用该接口,如需使用请前往云信官网下载并替换成视频 SDK。

Declared In

NERtcEngineDelegate.h