Agora Java API Reference for Android

Public Attributes | List of all members
io.agora.rtc2.IRtcEngineEventHandler.LocalAudioStats Class Reference

Local audio statistics. More...

## Public Attributes
int | numChannels
int | sentSampleRate
int | sentBitrate
int | internalCodec
int | txPacketLossRate
int | audioDeviceDelay
int | audioPlayoutDelay
int | earMonitorDelay
int | aecEstimatedDelay

## Detailed Description

Local audio statistics.

## Member Data Documentation

## ◆ numChannels

int io.agora.rtc2.IRtcEngineEventHandler.LocalAudioStats.numChannels

The number of audio channels.

## ◆ sentSampleRate

int io.agora.rtc2.IRtcEngineEventHandler.LocalAudioStats.sentSampleRate

The sampling rate (Hz) of sending the local user's audio stream.

## ◆ sentBitrate

int io.agora.rtc2.IRtcEngineEventHandler.LocalAudioStats.sentBitrate

The average bitrate (Kbps) of sending the local user's audio stream.

## ◆ internalCodec

int io.agora.rtc2.IRtcEngineEventHandler.LocalAudioStats.internalCodec

The internal payload codec.

## ◆ txPacketLossRate

int io.agora.rtc2.IRtcEngineEventHandler.LocalAudioStats.txPacketLossRate

The packet loss rate (%) from the local client to the Agora server before applying the anti-packet loss strategies.

## ◆ audioDeviceDelay

int io.agora.rtc2.IRtcEngineEventHandler.LocalAudioStats.audioDeviceDelay

The audio device module delay (ms) when playing or recording audio.

## ◆ audioPlayoutDelay

int io.agora.rtc2.IRtcEngineEventHandler.LocalAudioStats.audioPlayoutDelay

The playout delay of the device

## ◆ earMonitorDelay

int io.agora.rtc2.IRtcEngineEventHandler.LocalAudioStats.earMonitorDelay

The ear monitor delay (ms), which is the delay from microphone input to headphone output.

## ◆ aecEstimatedDelay

int io.agora.rtc2.IRtcEngineEventHandler.LocalAudioStats.aecEstimatedDelay

Acoustic echo cancellation (AEC) module estimated delay (ms), which is the signal delay between when audio is played locally before being locally captured.