Agora Objective-C API Reference for iOS/macOS

AgoraChannelStats Class Reference

Inherits from NSObject
Declared in AgoraObjects.h

Overview

Statistics of the channel

  duration

Call duration (s), represented by an aggregate value.

@property (assign, nonatomic) NSInteger duration

Declared In

AgoraObjects.h

  txBytes

Total number of bytes transmitted, represented by an aggregate value.

@property (assign, nonatomic) NSInteger txBytes

Declared In

AgoraObjects.h

  rxBytes

Total number of bytes received, represented by an aggregate value.

@property (assign, nonatomic) NSInteger rxBytes

Declared In

AgoraObjects.h

  txAudioBytes

Total number of audio bytes sent (bytes), represented by an aggregate value.

@property (assign, nonatomic) NSInteger txAudioBytes

Declared In

AgoraObjects.h

  txVideoBytes

Total number of video bytes sent (bytes), represented by an aggregate value.

@property (assign, nonatomic) NSInteger txVideoBytes

Declared In

AgoraObjects.h

  rxAudioBytes

Total number of audio bytes received (bytes), represented by an aggregate value.

@property (assign, nonatomic) NSInteger rxAudioBytes

Declared In

AgoraObjects.h

  rxVideoBytes

Total number of video bytes received (bytes), represented by an aggregate value.

@property (assign, nonatomic) NSInteger rxVideoBytes

Declared In

AgoraObjects.h

  txKBitrate

Total packet transmission bitrate (Kbps), represented by an instantaneous value.

@property (assign, nonatomic) NSInteger txKBitrate

Declared In

AgoraObjects.h

  rxKBitrate

Total receive bitrate (Kbps), represented by an instantaneous value.

@property (assign, nonatomic) NSInteger rxKBitrate

Declared In

AgoraObjects.h

  txAudioKBitrate

Audio packet transmission bitrate (Kbps), represented by an instantaneous value.

@property (assign, nonatomic) NSInteger txAudioKBitrate

Declared In

AgoraObjects.h

  rxAudioKBitrate

Audio receive bitrate (Kbps), represented by an instantaneous value.

@property (assign, nonatomic) NSInteger rxAudioKBitrate

Declared In

AgoraObjects.h

  txVideoKBitrate

Video transmission bitrate (Kbps), represented by an instantaneous value.

@property (assign, nonatomic) NSInteger txVideoKBitrate

Declared In

AgoraObjects.h

  rxVideoKBitrate

Video receive bitrate (Kbps), represented by an instantaneous value.

@property (assign, nonatomic) NSInteger rxVideoKBitrate

Declared In

AgoraObjects.h

  lastmileDelay

Client-server latency (ms)

@property (assign, nonatomic) NSInteger lastmileDelay

Declared In

AgoraObjects.h

  txPacketLossRate

The packet loss rate (%) from the local client to Agora’s edge server, before using the anti-packet-loss method.

@property (assign, nonatomic) NSInteger txPacketLossRate

Declared In

AgoraObjects.h

  rxPacketLossRate

The packet loss rate (%) from Agora’s edge server to the local client, before using the anti-packet-loss method.

@property (assign, nonatomic) NSInteger rxPacketLossRate

Declared In

AgoraObjects.h

  userCount

Number of users in the channel.

@property (assign, nonatomic) NSInteger userCount

Discussion

  • Communication profile: The number of users in the channel.
  • Live broadcast profile:

    • If the local user is an audience: The number of users in the channel = The number of hosts in the channel + 1.
    • If the user is a host: The number of users in the channel = The number of hosts in the channel.

Declared In

AgoraObjects.h

  cpuAppUsage

Application CPU usage (%).

@property (assign, nonatomic) double cpuAppUsage

Declared In

AgoraObjects.h

  cpuTotalUsage

System CPU usage (%).

@property (assign, nonatomic) double cpuTotalUsage

Declared In

AgoraObjects.h

X
Is this page helpful?