|
Agora C++ API Reference for All Platforms
|
Public Member Functions | |
| AudioParams () | |
| AudioParams (int samplerate, int channel, rtc::RAW_AUDIO_FRAME_OP_MODE_TYPE type, int samplesPerCall) | |
Public Attributes | |
| int | sample_rate |
| int | channels |
| rtc::RAW_AUDIO_FRAME_OP_MODE_TYPE | mode |
| int | samples_per_call |
|
inline |
|
inline |
| int agora::media::IAudioFrameObserverBase::AudioParams::sample_rate |
The audio sample rate (Hz), which can be set as one of the following values:
800016000 (Default)320004410048000 | int agora::media::IAudioFrameObserverBase::AudioParams::channels |
| rtc::RAW_AUDIO_FRAME_OP_MODE_TYPE agora::media::IAudioFrameObserverBase::AudioParams::mode |
| int agora::media::IAudioFrameObserverBase::AudioParams::samples_per_call |
The number of samples. For example, set it as 1024 for RTMP or RTMPS streaming.
1.8.18