Agora Java API Reference for Android

Public Attributes | List of all members
agora::rtc::LocalAudioStats Struct Reference

Local audio statistics. More...

`#include <AgoraBase.h>`

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

## Detailed Description

Local audio statistics.

## Member Data Documentation

## ◆ numChannels

int agora::rtc::LocalAudioStats::numChannels

The number of audio channels.

## ◆ sentSampleRate

int agora::rtc::LocalAudioStats::sentSampleRate

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

## ◆ sentBitrate

int agora::rtc::LocalAudioStats::sentBitrate

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

## ◆ internalCodec

int agora::rtc::LocalAudioStats::internalCodec

The internal payload codec.

## ◆ txPacketLossRate

unsigned short agora::rtc::LocalAudioStats::txPacketLossRate

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

## ◆ audioDeviceDelay

int agora::rtc::LocalAudioStats::audioDeviceDelay

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

## ◆ audioPlayoutDelay

int agora::rtc::LocalAudioStats::audioPlayoutDelay

The playout delay of the device

## ◆ earMonitorDelay

int agora::rtc::LocalAudioStats::earMonitorDelay

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

## ◆ aecEstimatedDelay

int agora::rtc::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.