Agora RTC Objective-C API Reference Refactor

Properties
AgoraRtcLocalAudioStats Class Reference

Inherits <NSObject>.

## Properties
NSUInteger | numChannels
NSUInteger | sentSampleRate
NSUInteger | sentBitrate
NSUInteger | internalCodec
NSUInteger | txPacketLossRate
NSUInteger | audioDeviceDelay
NSUInteger | audioPlayoutDelay
NSUInteger | earMonitorDelay
NSUInteger | aecEstimatedDelay

## Property Documentation

## ◆ numChannels

- (NSUInteger) numChannels
| read write nonatomic assign

The number of audio channels.

## ◆ sentSampleRate

- (NSUInteger) sentSampleRate
| read write nonatomic assign

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

## ◆ sentBitrate

- (NSUInteger) sentBitrate
| read write nonatomic assign

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

## ◆ internalCodec

- (NSUInteger) internalCodec
| read write nonatomic assign

The internal payload codec.

## ◆ txPacketLossRate

- (NSUInteger) txPacketLossRate
| read write nonatomic assign

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

## ◆ audioDeviceDelay

- (NSUInteger) audioDeviceDelay
| read write nonatomic assign

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

## ◆ audioPlayoutDelay

- (NSUInteger) audioPlayoutDelay
| read write nonatomic assign

The audio playout delay of the device

## ◆ earMonitorDelay

- (NSUInteger) earMonitorDelay
| read write nonatomic assign

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

## ◆ aecEstimatedDelay

- (NSUInteger) aecEstimatedDelay
| read write nonatomic assign

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