Constructors

Properties

data?: Uint8Array

English Applies video data of I420 format to facial recognition in the filtering library.
textureWithI420 Return occurs when setting it as true. Otherwise, null.

Chinese I420 格式的视频数据,可用于滤镜库的人脸识别或者外部渲染时回调。
textureWithI420 设置为 true 时或者外部渲染设置设置为自定义格式设置为I420,否则为 null。

English Video frame format.

Chinese 视频帧格式。

height: number

English The video height is the video resolution of video frames shown on the horizontal axis.

Chinese 视频高,即视频帧在横轴上的像素。

offsetU?: bigint

English offset size of the U

Chinese U分量偏移

offsetV?: bigint

English offset size of the V

Chinese V分量偏移

offsetY?: bigint

English offset size of the Y

Chinese Y分量偏移

planeCount?: number

English planeCount

Chinese planeCount

English The clockwise rotation angle of the video frame.

Chinese 视频顺时针旋转角度。

Chinese 默认主流

strideU: number

English storage step size of the U

Chinese U分量存储步长

strideV: number

English storage step size of the V

Chinese V分量存储步长

strideY: number

English storage step size of the Y

Chinese Y分量存储步长

textureId: number

English The camera captures OES texture ID When injecting external videos. The filtering library will update the texture ID.

Chinese 外部视频输入时,相机采集的 OES 纹理 ID,滤镜库处理后会更新此纹理 ID。

timeStamp: bigint

English Timestamp of the video frame (ms).

Chinese 视频时间戳,单位为毫秒。

transformMatrix?: Float32Array

English Texture matrixes shown when inputting external videos.

Chinese 外部视频输入时的纹理矩阵。

uid?: bigint

Chinese 用户id,0 表示自己

videoColorSpaceMatrix?: NERtcVideoColorSpaceMatrix

English Color matrix.

Chinese 颜色矩阵。

videoColorSpacePrimary?: NERtcVideoColorSpacePrimary

English Color primary.

Chinese 颜色主色调。

videoColorSpaceRange?: NERtcVideoColorSpaceRange

English Color space range.

Chinese 色彩范围。

videoColorSpaceTransfer?: NERtcVideoColorSpaceTransfer

English Color transfer.

Chinese 颜色转换。

width: number

English The video width is the video resolution of video frames shown on the vertical axis.

Chinese 视频宽,即视频帧在纵轴上的像素。