AgoraChannelStats 类

Inherits from NSObject
Declared in AgoraObjects.h

概览

频道的统计数据

  duration

通话时长,单位为秒,累计值

@property (assign, nonatomic) NSInteger duration

Declared In

AgoraObjects.h

  txBytes

发送字节数 (bytes),累计值

@property (assign, nonatomic) NSInteger txBytes

Declared In

AgoraObjects.h

  rxBytes

接收字节数 (bytes),累计值

@property (assign, nonatomic) NSInteger rxBytes

Declared In

AgoraObjects.h

  txAudioKBitrate

音频发送码率 (Kbps),瞬时值

@property (assign, nonatomic) NSInteger txAudioKBitrate

Declared In

AgoraObjects.h

  rxAudioKBitrate

音频接收码率 (Kbps),瞬时值

@property (assign, nonatomic) NSInteger rxAudioKBitrate

Declared In

AgoraObjects.h

  txVideoKBitrate

视频发送码率 (Kbps),瞬时值

@property (assign, nonatomic) NSInteger txVideoKBitrate

Declared In

AgoraObjects.h

  rxVideoKBitrate

视频接收码率 (Kbps),瞬时值

@property (assign, nonatomic) NSInteger rxVideoKBitrate

Declared In

AgoraObjects.h

  lastmileDelay

客户端到接入服务器的延迟(ms)

@property (assign, nonatomic) NSInteger lastmileDelay

Declared In

AgoraObjects.h

  userCount

当前频道内的用户人数

@property (assign, nonatomic) NSInteger userCount

详情

  • 通信模式下,当前频道内的用户人数。
  • 直播模式下,如果本地用户为观众,为频道内的主播人数 + 1;如果本地用户为主播,为频道内的主播人数。

Declared In

AgoraObjects.h

  cpuAppUsage

当前 App 的 CPU 使用率 (%)

@property (assign, nonatomic) double cpuAppUsage

Declared In

AgoraObjects.h

  cpuTotalUsage

当前系统的 CPU 使用率 (%)

@property (assign, nonatomic) double cpuTotalUsage

Declared In

AgoraObjects.h