PanoRtcVideoFilterDelegate 协议启用视频数据的回调。
更多...
#import <PanoRtcEngineKit.h>
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 | 视频帧格式。 |
该协议的文档由以下文件生成: