NERtc macOS SDK  V5.5.40
Public 属性 | 所有成员列表
nertc::NERtcVideoEncodedFrame结构体 参考

#include <nertc_engine_defines.h>

Public 属性

NERtcVideoCodecType codec_type
 
NERtcNalFrameType frame_type
 
int nal_count
 
int * nal_length
 
unsigned char * nal_data
 
int64_t timestamp_us
 
int width
 
int height
 

详细描述

外部输入的编码后视频帧。

类成员变量说明

◆ codec_type

NERtcVideoCodecType nertc::NERtcVideoEncodedFrame::codec_type

视频编解码器类型,详细信息请参考 NERtcVideoCodecType。

◆ frame_type

NERtcNalFrameType nertc::NERtcVideoEncodedFrame::frame_type

编码后视频帧类型,详细信息请参考 NERtcNalFrameType。

◆ height

int nertc::NERtcVideoEncodedFrame::height

视频高。

◆ nal_count

int nertc::NERtcVideoEncodedFrame::nal_count

编码后视频帧nal个数。

◆ nal_data

unsigned char* nertc::NERtcVideoEncodedFrame::nal_data

编码后视频帧数据,包括所有nal的数据。

◆ nal_length

int* nertc::NERtcVideoEncodedFrame::nal_length

编码后视频帧nal的长度。

◆ timestamp_us

int64_t nertc::NERtcVideoEncodedFrame::timestamp_us

时间戳,机器时间,单位为微秒。

◆ width

int nertc::NERtcVideoEncodedFrame::width

视频宽。


该结构体的文档由以下文件生成: