#include <AgoraMediaBase.h>
◆ AudioParams() [1/2]
| agora::media::IAudioFrameObserverBase::AudioParams::AudioParams |
( |
| ) |
|
|
inline |
◆ AudioParams() [2/2]
◆ sample_rate
| int agora::media::IAudioFrameObserverBase::AudioParams::sample_rate |
The audio sample rate (Hz), which can be set as one of the following values:
8000
16000 (Default)
32000
44100
48000
◆ channels
| int agora::media::IAudioFrameObserverBase::AudioParams::channels |
◆ mode
◆ samples_per_call
| int agora::media::IAudioFrameObserverBase::AudioParams::samples_per_call |
The number of samples. For example, set it as 1024 for RTMP or RTMPS streaming.