NERTC macOS/Windows SDK V5.8.10
|
#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 |
NERtcVideoWatermarkConfig * | watermark_list = nullptr |
int | watermark_count = 0 |
char | cover_file_path [kNERtcMaxBuffLength] |
NERtcVideoWatermarkConfig * | cover_watermark_list = nullptr |
int | cover_watermark_count = 0 |
char | default_cover_file_path [kNERtcMaxBuffLength] |
本地录制配置
NERtcLocalRecordingAudioFormat nertc::NERtcLocalRecordingConfig::audio_format = kNERtcLocalRecorderAudioFormatAac |
录制音频文件的格式
char nertc::NERtcLocalRecordingConfig::cover_file_path[kNERtcMaxBuffLength] |
录制封面配置
int nertc::NERtcLocalRecordingConfig::cover_watermark_count = 0 |
录制封面水印数量
NERtcVideoWatermarkConfig* nertc::NERtcLocalRecordingConfig::cover_watermark_list = nullptr |
录制封面水印配置
char nertc::NERtcLocalRecordingConfig::default_cover_file_path[kNERtcMaxBuffLength] |
录制默认封面配置
char nertc::NERtcLocalRecordingConfig::file_name[kNERtcMaxBuffLength] |
录制文件的名称
char nertc::NERtcLocalRecordingConfig::file_path[kNERtcMaxBuffLength] |
录制文件的路径
int nertc::NERtcLocalRecordingConfig::framerate = 15 |
录制视频文件的帧率
int nertc::NERtcLocalRecordingConfig::height = 0 |
录制视频文件的分辨率高度
bool nertc::NERtcLocalRecordingConfig::record_audio = false |
录制音频文件
NERtcLocalRecordingFileType nertc::NERtcLocalRecordingConfig::record_file_type = kNERtcLocalRecordingFileTypeMp4 |
录制文件的类型,0是mp4,1是flv
bool nertc::NERtcLocalRecordingConfig::record_video = true |
录制视频文件
bool nertc::NERtcLocalRecordingConfig::remux_to_mp4 = false |
录制文件为flv时,是否转码为mp4
bool nertc::NERtcLocalRecordingConfig::video_merge = false |
支持视频合并混流
NERtcLocalRecordingVideoMode nertc::NERtcLocalRecordingConfig::video_record_mode = kNERtcLocalRecorderVideoWithAudio |
录制视频文件的模式
int nertc::NERtcLocalRecordingConfig::watermark_count = 0 |
录制水印数量
NERtcVideoWatermarkConfig* nertc::NERtcLocalRecordingConfig::watermark_list = nullptr |
录制水印配置
int nertc::NERtcLocalRecordingConfig::width = 0 |
录制视频文件的分辨率宽度