|
NERTC macOS/Windows SDK V5.9.10
|
#include <nertc_engine_defines.h>
Public 属性 | |
| bool | single_video_passthrough |
| int | audio_bitrate |
| NERtcLiveStreamAudioSampleRate | sampleRate |
| int | channels |
| NERtcLiveStreamAudioCodecProfile | audioCodecProfile |
| bool | interrupted_place_image |
直播流配置
| int nertc::NERtcLiveConfig::audio_bitrate |
音频推流码率。
| NERtcLiveStreamAudioCodecProfile nertc::NERtcLiveConfig::audioCodecProfile |
音频编码规格。默认值为 NERtcLiveStreamAudioCodecProfileLCAAC,普通编码规格。
| int nertc::NERtcLiveConfig::channels |
音频推流声道数。默认值为 2 双声道。
| bool nertc::NERtcLiveConfig::interrupted_place_image |
设置是否开启主播占位图模式。
开启后会在主播离线的时候用占位图填补主播位置。
| NERtcLiveStreamAudioSampleRate nertc::NERtcLiveConfig::sampleRate |
音频推流采样率。单位为 Hz。默认为 kNERtcLiveStreamAudioSampleRate48000,即采样率为 48 kHz。
| bool nertc::NERtcLiveConfig::single_video_passthrough |
单路视频透传开关,默认为关闭状态。