|
Agora Server Gateway SDK C++ API Reference
|
#include <NGIAgoraRtmpConnection.h>
Public Member Functions | |
| RtmpStreamingAudioConfiguration () | |
Public Attributes | |
| int | sampleRateHz |
| int | bytesPerSample |
| int | numberOfChannels |
| int | bitrate |
The audio encoding configuration for the CDN streaming.
|
inline |
| int agora::rtc::RtmpStreamingAudioConfiguration::bitrate |
The bitrate (Kbps) of the audio stream to be pushed. The default value is 48.
| int agora::rtc::RtmpStreamingAudioConfiguration::bytesPerSample |
The number of bytes per sample. The default is 16 bits (2 bytes).
| int agora::rtc::RtmpStreamingAudioConfiguration::numberOfChannels |
The number of audio channels (the data is interleaved if stereo):
1: (Default) Mono2: Stereo. | int agora::rtc::RtmpStreamingAudioConfiguration::sampleRateHz |
The sample rate (Hz). The default value is 44,100.