IoT SDK for Linux v1.8.0
|
#include <agora_rtc_api.h>
Data Fields | |
audio_codec_type_e | audio_codec_type |
int | pcm_sample_rate |
int | pcm_channel_num |
Configuration of the SDK built-in audio encoder/decoder.
audio_codec_type_e audio_codec_type |
Audio codec type.
int pcm_channel_num |
Number of PCM channels of the SDK built-in audio encoder/decoder.
1
: Mono-channel2
: Dual-channel int pcm_sample_rate |
PCM sampling rate (Hz) of the SDK built-in audio encoder/decoder. You can set the parameter to the following values:
8000
: 8 kHz.16000
: 16 kHz.48000
: 48 kHz.