Public 成员函数

void onVideoCaptureFrame (string captureId, JCMediaDeviceFaceType face, int imageAngle, int captureOrient, IntPtr width, IntPtr height, int paddingWidth, int paddingHeight, IntPtr buf, IntPtr encoder)
 
void onVideoRenderFrame (string renderId, JCMediaDeviceVideoSourceType sourceType, int angle, JCMediaDeviceMirrorType mirror, IntPtr width, IntPtr height, IntPtr buf, uint timeStamp)
 

详细描述

原始视频数据回调事件

成员函数说明

◆ onVideoCaptureFrame()

void JCSDK.JCMediaDevice.JCVideoFrameCallback.onVideoCaptureFrame ( string  captureId,
JCMediaDeviceFaceType  face,
int  imageAngle,
int  captureOrient,
IntPtr  width,
IntPtr  height,
int  paddingWidth,
int  paddingHeight,
IntPtr  buf,
IntPtr  encoder 
)

获得采集的视频

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

◆ onVideoRenderFrame()

void JCSDK.JCMediaDevice.JCVideoFrameCallback.onVideoRenderFrame ( string  renderId,
JCMediaDeviceVideoSourceType  sourceType,
int  angle,
JCMediaDeviceMirrorType  mirror,
IntPtr  width,
IntPtr  height,
IntPtr  buf,
uint  timeStamp 
)

获得播放的视频

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

该接口的文档由以下文件生成:
  • JCSDK/JCSDK/JCMediaDevice/JCMediaDeviceCallback.cs
最后更新时间: 2021/11/9 17:34:32