NERecord Linux SDK 5.5.310
Loading...
Searching...
No Matches
Public Attributes | List of all members
nerecord::NERecordEngineContext Struct Reference

#include <nerecord_engine.h>

Collaboration diagram for nerecord::NERecordEngineContext:
Collaboration graph
[legend]

Public Attributes

const char * app_key
 
IRecordEngineEventHandlerevent_handler
 
const char * log_dir_path
 
uint32_t log_file_max_size_KBytes
 
const char * record_file_root_dir
 
NERtcRecordFileDirMode record_file_dir_mode
 
NERtcLogLevel log_level
 
const char * nerecord_absolute_dir
 
const char * parameters
 
SubscribeMode submode
 
bool audio_enable
 
bool video_enable
 
bool video_substream_split
 
bool mixing_enable
 
bool mixed_audio_video
 
bool mixed_audio_substream
 
bool snapshot_enable
 
unsigned snapshot_interval
 
NERtcAudioFormatType decodeAudio
 
NERtcVideoFormatType decodeVideo
 
bool auto_subscribe_audio
 
bool auto_subscribe_video
 
bool keep_last_frame
 
NERtcRemoteVideoStreamType default_stream_type
 
NERtcAudioProfileType audioProfile
 
NERtcVideoRecordResolution video_record_resolution
 
VideoLayoutvideo_with_substream_layout
 
bool mixing_param_split
 
NERtcAudioProfileType mixing_audioProfile
 
NERtcVideoRecordResolution mixing_video_record_resolution
 
NERtcServerAddressesserver_config
 
NERtcAgentAddressesagent_config
 

Detailed Description

IRecordEngine::initialize()参数类型

Member Data Documentation

◆ agent_config

NERtcAgentAddresses* nerecord::NERecordEngineContext::agent_config

代理服务器地址。如果不使用代理则将该字段设置为 NULL

◆ app_key

const char* nerecord::NERecordEngineContext::app_key

用户注册云信的 APP Key。如果您的开发包里面缺少 APP Key,请申请注册一个新的 APP Key。

◆ audio_enable

bool nerecord::NERecordEngineContext::audio_enable

使能音频录制

◆ audioProfile

NERtcAudioProfileType nerecord::NERecordEngineContext::audioProfile

音频录制参数

◆ auto_subscribe_audio

bool nerecord::NERecordEngineContext::auto_subscribe_audio

是否自动录制音频 or 是否自动订阅音频

◆ auto_subscribe_video

bool nerecord::NERecordEngineContext::auto_subscribe_video

是否自动录制视频 or 是否自定订阅视频

◆ decodeAudio

NERtcAudioFormatType nerecord::NERecordEngineContext::decodeAudio

录制音频格式

◆ decodeVideo

NERtcVideoFormatType nerecord::NERecordEngineContext::decodeVideo

录制视频格式

◆ default_stream_type

NERtcRemoteVideoStreamType nerecord::NERecordEngineContext::default_stream_type

自动订阅大流/小流

◆ event_handler

IRecordEngineEventHandler* nerecord::NERecordEngineContext::event_handler

用于 SDK 向 App 发送回调事件通知。

◆ keep_last_frame

bool nerecord::NERecordEngineContext::keep_last_frame

用户关闭视频后, 是否显示其视频最后一帧, - true: 显示最后一帧, - false: (默认)显示占位图或黑色画面

◆ log_dir_path

const char* nerecord::NERecordEngineContext::log_dir_path

日志目录的完整路径,采用 UTF-8 编码。

◆ log_file_max_size_KBytes

uint32_t nerecord::NERecordEngineContext::log_file_max_size_KBytes

日志大小,单位 KB

◆ log_level

NERtcLogLevel nerecord::NERecordEngineContext::log_level

日志级别,默认级别为 kNERtcLogLevelInfo。

◆ mixed_audio_substream

bool nerecord::NERecordEngineContext::mixed_audio_substream

合并音频和辅流视频文件

◆ mixed_audio_video

bool nerecord::NERecordEngineContext::mixed_audio_video

合并音视频文件

◆ mixing_audioProfile

NERtcAudioProfileType nerecord::NERecordEngineContext::mixing_audioProfile

合流录制时音频录制参数, 仅在 mixing_param_split 为 true 时生效

◆ mixing_enable

bool nerecord::NERecordEngineContext::mixing_enable

使能合流录制

◆ mixing_param_split

bool nerecord::NERecordEngineContext::mixing_param_split

合流录制使用独立的录制参数, 默认 false

◆ mixing_video_record_resolution

NERtcVideoRecordResolution nerecord::NERecordEngineContext::mixing_video_record_resolution

合流录制时视频录制参数, 仅在 mixing_param_split 为 true 时生效

◆ nerecord_absolute_dir

const char* nerecord::NERecordEngineContext::nerecord_absolute_dir

libnertc.so 绝对路径。

◆ parameters

const char* nerecord::NERecordEngineContext::parameters

parameters 通过 JSON 配置 SDK 提供技术预览或特别定制功能。以标准化方式公开 JSON 选项。

◆ record_file_dir_mode

NERtcRecordFileDirMode nerecord::NERecordEngineContext::record_file_dir_mode

录制文件路径模式

◆ record_file_root_dir

const char* nerecord::NERecordEngineContext::record_file_root_dir

录制文件存储根目录

◆ server_config

NERtcServerAddresses* nerecord::NERecordEngineContext::server_config

私有化服务器地址。如果使用默认服务器则将该字段设置为 NULL

◆ snapshot_enable

bool nerecord::NERecordEngineContext::snapshot_enable

截屏快照开关

◆ snapshot_interval

unsigned nerecord::NERecordEngineContext::snapshot_interval

截屏快照时间间隔, 单位秒, 默认为 5, 不可为 0

◆ submode

SubscribeMode nerecord::NERecordEngineContext::submode

订阅模式

◆ video_enable

bool nerecord::NERecordEngineContext::video_enable

使能视频录制

◆ video_record_resolution

NERtcVideoRecordResolution nerecord::NERecordEngineContext::video_record_resolution

视频录制参数

◆ video_substream_split

bool nerecord::NERecordEngineContext::video_substream_split

视频辅流独立录制

◆ video_with_substream_layout

VideoLayout* nerecord::NERecordEngineContext::video_with_substream_layout

单录有辅流时的视频布局


The documentation for this struct was generated from the following file: