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

## Detailed Description

The statistics of the local audio.

## Property Documentation

## ◆ numChannels

- (NSUInteger) numChannels
| readwritenonatomicassign

The number of audio channels.

## ◆ sentSampleRate

- (NSUInteger) sentSampleRate
| readwritenonatomicassign

The sample rate (Hz).

## ◆ sentBitrate

- (NSUInteger) sentBitrate
| readwritenonatomicassign

The average sending bitrate (Kbps).

## ◆ internalCodec

- (NSUInteger) internalCodec
| readwritenonatomicassign

The internal payload type.

## ◆ txPacketLossRate

- (NSUInteger) txPacketLossRate
| readwritenonatomicassign

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

## ◆ audioDeviceDelay

- (NSUInteger) audioDeviceDelay
| readwritenonatomicassign

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