Server Gateway SDK v3.7.200.21 for Linux Java
|
Public Member Functions | |
LocalAudioStats () | |
LocalAudioStats (int numChannels, int sentSampleRate, int sentBitrate, int internalCodec, double voicePitch) | |
int | getNumChannels () |
void | setNumChannels (int numChannels) |
int | getSentSampleRate () |
void | setSentSampleRate (int sentSampleRate) |
int | getSentBitrate () |
void | setSentBitrate (int sentBitrate) |
int | getInternalCodec () |
void | setInternalCodec (int internalCodec) |
double | getVoicePitch () |
void | setVoicePitch (double voicePitch) |
The LocalAudioStats class, which reports audio statistics of the local user.
io.agora.rtc.LocalAudioStats.LocalAudioStats | ( | ) |
io.agora.rtc.LocalAudioStats.LocalAudioStats | ( | int | numChannels, |
int | sentSampleRate, | ||
int | sentBitrate, | ||
int | internalCodec, | ||
double | voicePitch | ||
) |
Constructor.
numChannels | The number of audio channels. |
sentSampleRate | The sample rate (Hz). |
sentBitrate | The average sending bitrate (Kbps). |
internalCodec | The internal payload type. |
int io.agora.rtc.LocalAudioStats.getInternalCodec | ( | ) |
int io.agora.rtc.LocalAudioStats.getNumChannels | ( | ) |
int io.agora.rtc.LocalAudioStats.getSentBitrate | ( | ) |
int io.agora.rtc.LocalAudioStats.getSentSampleRate | ( | ) |
double io.agora.rtc.LocalAudioStats.getVoicePitch | ( | ) |
void io.agora.rtc.LocalAudioStats.setInternalCodec | ( | int | internalCodec | ) |
void io.agora.rtc.LocalAudioStats.setNumChannels | ( | int | numChannels | ) |
void io.agora.rtc.LocalAudioStats.setSentBitrate | ( | int | sentBitrate | ) |
void io.agora.rtc.LocalAudioStats.setSentSampleRate | ( | int | sentSampleRate | ) |
void io.agora.rtc.LocalAudioStats.setVoicePitch | ( | double | voicePitch | ) |