NERTC macOS/Windows SDK V5.8.10
载入中...
搜索中...
未找到
nertc::NERtcLocalRecordingConfig结构体 参考

#include <nertc_engine_defines.h>

Public 属性

char file_path [kNERtcMaxBuffLength]
 
char file_name [kNERtcMaxBuffLength]
 
int width = 0
 
int height = 0
 
int framerate = 15
 
NERtcLocalRecordingFileType record_file_type = kNERtcLocalRecordingFileTypeMp4
 
bool remux_to_mp4 = false
 
bool video_merge = false
 
bool record_audio = false
 
NERtcLocalRecordingAudioFormat audio_format = kNERtcLocalRecorderAudioFormatAac
 
bool record_video = true
 
NERtcLocalRecordingVideoMode video_record_mode = kNERtcLocalRecorderVideoWithAudio
 
NERtcVideoWatermarkConfigwatermark_list = nullptr
 
int watermark_count = 0
 
char cover_file_path [kNERtcMaxBuffLength]
 
NERtcVideoWatermarkConfigcover_watermark_list = nullptr
 
int cover_watermark_count = 0
 
char default_cover_file_path [kNERtcMaxBuffLength]
 

详细描述

本地录制配置

类成员变量说明

◆ audio_format

NERtcLocalRecordingAudioFormat nertc::NERtcLocalRecordingConfig::audio_format = kNERtcLocalRecorderAudioFormatAac

录制音频文件的格式

◆ cover_file_path

char nertc::NERtcLocalRecordingConfig::cover_file_path[kNERtcMaxBuffLength]

录制封面配置

◆ cover_watermark_count

int nertc::NERtcLocalRecordingConfig::cover_watermark_count = 0

录制封面水印数量

◆ cover_watermark_list

NERtcVideoWatermarkConfig* nertc::NERtcLocalRecordingConfig::cover_watermark_list = nullptr

录制封面水印配置

◆ default_cover_file_path

char nertc::NERtcLocalRecordingConfig::default_cover_file_path[kNERtcMaxBuffLength]

录制默认封面配置

◆ file_name

char nertc::NERtcLocalRecordingConfig::file_name[kNERtcMaxBuffLength]

录制文件的名称

◆ file_path

char nertc::NERtcLocalRecordingConfig::file_path[kNERtcMaxBuffLength]

录制文件的路径

◆ framerate

int nertc::NERtcLocalRecordingConfig::framerate = 15

录制视频文件的帧率

◆ height

int nertc::NERtcLocalRecordingConfig::height = 0

录制视频文件的分辨率高度

◆ record_audio

bool nertc::NERtcLocalRecordingConfig::record_audio = false

录制音频文件

◆ record_file_type

NERtcLocalRecordingFileType nertc::NERtcLocalRecordingConfig::record_file_type = kNERtcLocalRecordingFileTypeMp4

录制文件的类型,0是mp4,1是flv

◆ record_video

bool nertc::NERtcLocalRecordingConfig::record_video = true

录制视频文件

◆ remux_to_mp4

bool nertc::NERtcLocalRecordingConfig::remux_to_mp4 = false

录制文件为flv时,是否转码为mp4

◆ video_merge

bool nertc::NERtcLocalRecordingConfig::video_merge = false

支持视频合并混流

◆ video_record_mode

NERtcLocalRecordingVideoMode nertc::NERtcLocalRecordingConfig::video_record_mode = kNERtcLocalRecorderVideoWithAudio

录制视频文件的模式

◆ watermark_count

int nertc::NERtcLocalRecordingConfig::watermark_count = 0

录制水印数量

◆ watermark_list

NERtcVideoWatermarkConfig* nertc::NERtcLocalRecordingConfig::watermark_list = nullptr

录制水印配置

◆ width

int nertc::NERtcLocalRecordingConfig::width = 0

录制视频文件的分辨率宽度


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