iOS/macOS(Objective-C)[v1.7.5.0]
构造函数 | 所有成员列表
<PanoRtcVideoFilterDelegate>协议 参考

PanoRtcVideoFilterDelegate 协议启用视频数据的回调。 更多...

#import <PanoRtcEngineKit.h>

类 <PanoRtcVideoFilterDelegate> 继承关系图:

构造函数

(void) - onNativeVideoFrame:withRotation:
 原生视频帧。 更多...
 
(void) - onVideoFrame:withLength:withFormat:
 通用视频帧。目前暂不支持。 更多...
 

详细描述

PanoRtcVideoFilterDelegate 协议启用视频数据的回调。

SDK使用委托回调投递视频数据以用于内容检测及处理。

函数文档

◆ onNativeVideoFrame:withRotation:

- (void) onNativeVideoFrame: (CVPixelBufferRef _Nonnull)  frame
withRotation: (PanoVideoRotation rotation 
optional

原生视频帧。

参数
frame视频帧对象地址。
rotation视频帧旋转角度。

◆ onVideoFrame:withLength:withFormat:

- (void) onVideoFrame: (void *_Nonnull)  buffer
withLength: (SInt32)  length
withFormat: (PanoRtcVideoFormat *_Nonnull)  format 
optional

通用视频帧。目前暂不支持。

参数
frame视频帧数据地址。
rotation视频帧格式。

该协议的文档由以下文件生成: