Agora RTC Objective-C API Reference  Refactor
Data Fields
RtmpStreamingAudioConfiguration Struct Reference

Data Fields

int sampleRateHz
 
int bytesPerSample
 
int numberOfChannels
 
int bitrate
 

Detailed Description

Configurations for the RTMP audio stream.

Constructor & Destructor Documentation

◆ RtmpStreamingAudioConfiguration()

Field Documentation

◆ sampleRateHz

int sampleRateHz

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

◆ bytesPerSample

int bytesPerSample

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

◆ numberOfChannels

int numberOfChannels

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

◆ bitrate

int bitrate

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