Agora RTC Objective-C API Reference Refactor

Data Fields
LocalAudioStats Struct Reference

## Data Fields
int | numChannels
int | sentSampleRate
int | sentBitrate
int | internalCodec
unsigned short | txPacketLossRate
int | audioDeviceDelay
int | audioPlayoutDelay
int | earMonitorDelay
int | aecEstimatedDelay

## Detailed Description

Local audio statistics.

## Field Documentation

## ◆ numChannels

int numChannels

The number of audio channels.

## ◆ sentSampleRate

int sentSampleRate

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

## ◆ sentBitrate

int sentBitrate

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

## ◆ internalCodec

int internalCodec

The internal payload codec.

## ◆ txPacketLossRate

unsigned short txPacketLossRate

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

## ◆ audioDeviceDelay

int audioDeviceDelay

The audio delay of the device, contains record and playout delay

## ◆ audioPlayoutDelay

int audioPlayoutDelay

The playout delay of the device

## ◆ earMonitorDelay

int earMonitorDelay

The signal delay estimated from audio in-ear monitoring (ms).

## ◆ aecEstimatedDelay

int aecEstimatedDelay

The signal delay estimated during the AEC process from nearin and farin (ms).