构造函数

(void) - onVideoCaptureFrame:face:imageAngle:captureOrient:width:height:buf:
 
(void) - onVideoRenderFrame:sourceType:angle:mirror:width:height:buf:timeStamp:
 

详细描述

原始视频数据回调事件

函数文档

◆ onVideoCaptureFrame:face:imageAngle:captureOrient:width:height:buf:

- (void) onVideoCaptureFrame: (NSString *_Nonnull)  captureId
face: (JCMediaDeviceCameraType face
imageAngle: (int)  imageAngle
captureOrient: (int)  captureOrient
width: (int *_Nonnull)  width
height: (int *_Nonnull)  height
buf: (unsigned char *_Nonnull)  buf 

获得采集的视频

参数
captureId采集源id
face镜头朝向
imageAngle图像正立所需角度
captureOrient镜头固定角度
width图像宽
height图像高
buf图像数据

◆ onVideoRenderFrame:sourceType:angle:mirror:width:height:buf:timeStamp:

- (void) onVideoRenderFrame: (NSString *_Nonnull)  renderId
sourceType: (JCMediaDeviceVideoSource sourceType
angle: (int)  angle
mirror: (JCMediaDeviceMirror mirror
width: (int *_Nonnull)  width
height: (int *_Nonnull)  height
buf: (unsigned char *_Nonnull)  buf
timeStamp: (unsigned long)  timeStamp 

获得播放的视频

参数
renderId渲染id
sourceType视频源类型
angle图像正立所需角度
mirror镜像类型
width图像宽
height图像高
buf图像数据
timeStamp渲染时间戳

该协议的文档由以下文件生成:
最后更新时间: 2023/4/28 11:17:11