Agora Java API Reference for Android
|
Classes | |
interface | SoundFormat |
interface | SoundRate |
interface | SoundSize |
interface | SoundType |
Public Member Functions | |
AudioStreamConfiguration ( @SoundRate int soundRate, @SoundType int soundType, int bitrateKbps) | |
int | getSampleRateHz () |
int | getBytesPerSample () |
int | getNumberOfChannels () |
int | getBitrate () |
String | toString () |
Public Attributes | |
int | sampleRateHz |
int | bytesPerSample |
int | numberOfChannels |
int | bitrate |
Configurations for the audio stream.
int io.agora.streaming.AudioStreamConfiguration.sampleRateHz |
Sampling rate (Hz). The default value is 44100 (i.e. 44.1kHz).
int io.agora.streaming.AudioStreamConfiguration.bytesPerSample |
Number of bytes per sample. The default value is 2 (i.e. 16-bit PCM).
int io.agora.streaming.AudioStreamConfiguration.numberOfChannels |
Number of channels. The defualt value is 2 (i.e. stereo).
int io.agora.streaming.AudioStreamConfiguration.bitrate |
The target bitrate (Kbps) of the output audio stream to be published. The default value is 48 Kbps.