Agora C++ API Reference for All Platforms

Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
agora::rtc::RtmpStreamingAudioConfiguration Struct Reference

`#include <NGIAgoraRtmpConnection.h>`

## Public Member Functions
| RtmpStreamingAudioConfiguration ()

## Public Attributes
int | sampleRateHz
int | bytesPerSample
int | numberOfChannels
int | bitrate

## Detailed Description

Configurations for the RTMP audio stream.

## Constructor & Destructor Documentation

## ◆ RtmpStreamingAudioConfiguration()

agora::rtc::RtmpStreamingAudioConfiguration::RtmpStreamingAudioConfiguration | ( |  | ) |
| inline

## Member Data Documentation

## ◆ sampleRateHz

int agora::rtc::RtmpStreamingAudioConfiguration::sampleRateHz

Sampling rate (Hz). The default value is 44100 (i.e. 44.1kHz).

## ◆ bytesPerSample

int agora::rtc::RtmpStreamingAudioConfiguration::bytesPerSample

Number of bytes per sample. The default value is 2 (i.e. 16-bit PCM).

## ◆ numberOfChannels

int agora::rtc::RtmpStreamingAudioConfiguration::numberOfChannels

Number of channels. The default value is 1 (i.e. mono).

## ◆ bitrate

int agora::rtc::RtmpStreamingAudioConfiguration::bitrate

The target bitrate (Kbps) of the output audio stream to be published. The default value is 48 Kbps.