Server Gateway SDK v3.7.200.21 for Linux Java
Public Member Functions | List of all members
io.agora.rtc.LocalAudioStats Class Reference

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)
 

Detailed Description

The LocalAudioStats class, which reports audio statistics of the local user.

Constructor & Destructor Documentation

◆ LocalAudioStats() [1/2]

io.agora.rtc.LocalAudioStats.LocalAudioStats ( )

◆ LocalAudioStats() [2/2]

io.agora.rtc.LocalAudioStats.LocalAudioStats ( int  numChannels,
int  sentSampleRate,
int  sentBitrate,
int  internalCodec,
double  voicePitch 
)

Constructor.

Parameters
numChannelsThe number of audio channels.
sentSampleRateThe sample rate (Hz).
sentBitrateThe average sending bitrate (Kbps).
internalCodecThe internal payload type.

Member Function Documentation

◆ getInternalCodec()

int io.agora.rtc.LocalAudioStats.getInternalCodec ( )

◆ getNumChannels()

int io.agora.rtc.LocalAudioStats.getNumChannels ( )

◆ getSentBitrate()

int io.agora.rtc.LocalAudioStats.getSentBitrate ( )

◆ getSentSampleRate()

int io.agora.rtc.LocalAudioStats.getSentSampleRate ( )

◆ getVoicePitch()

double io.agora.rtc.LocalAudioStats.getVoicePitch ( )

◆ setInternalCodec()

void io.agora.rtc.LocalAudioStats.setInternalCodec ( int  internalCodec)

◆ setNumChannels()

void io.agora.rtc.LocalAudioStats.setNumChannels ( int  numChannels)

◆ setSentBitrate()

void io.agora.rtc.LocalAudioStats.setSentBitrate ( int  sentBitrate)

◆ setSentSampleRate()

void io.agora.rtc.LocalAudioStats.setSentSampleRate ( int  sentSampleRate)

◆ setVoicePitch()

void io.agora.rtc.LocalAudioStats.setVoicePitch ( double  voicePitch)

The documentation for this class was generated from the following file: