AgoraChannelStats Class Reference
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
txAudioBytes
音频发送字节数(bytes),累计值
@property (assign, nonatomic) NSInteger txAudioBytes
Declared In
AgoraObjects.h
txVideoBytes
视频发送字节数(bytes),累计值
@property (assign, nonatomic) NSInteger txVideoBytes
Declared In
AgoraObjects.h
rxAudioBytes
音频接收字节数(bytes),累计值
@property (assign, nonatomic) NSInteger rxAudioBytes
Declared In
AgoraObjects.h
rxVideoBytes
视频接收字节数(bytes),累计值
@property (assign, nonatomic) NSInteger rxVideoBytes
Declared In
AgoraObjects.h
txKBitrate
音视频总发送码率(Kbps),瞬时值
@property (assign, nonatomic) NSInteger txKBitrate
Declared In
AgoraObjects.h
rxKBitrate
音视频总接收码率(Kbps),瞬时值
@property (assign, nonatomic) NSInteger rxKBitrate
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
Last mile 的延迟(ms)
@property (assign, nonatomic) NSInteger lastmileDelay
Declared In
AgoraObjects.h
txPacketLossRate
使用抗丢包技术前,本地客户端到边缘服务器的丢包率,单位为 %
@property (assign, nonatomic) NSInteger txPacketLossRate
Declared In
AgoraObjects.h
rxPacketLossRate
使用抗丢包技术前,边缘服务器到本地客户端的丢包率,单位为 %
@property (assign, nonatomic) NSInteger rxPacketLossRate
Declared In
AgoraObjects.h
userCount
当前频道内的用户人数
@property (assign, nonatomic) NSInteger userCount
Discussion
- 通信场景下,当前频道内的用户人数。
- 直播场景下,如果本地用户为观众,为频道内的主播人数 + 1;如果本地用户为主播,为频道内的主播人数。
Declared In
AgoraObjects.h
cpuAppUsage
当前 App 的 CPU 使用率 (%)
@property (assign, nonatomic) double cpuAppUsage
Discussion
该属性在 didLeaveChannelWithStats 回调中报告的值恒为 0
。
Declared In
AgoraObjects.h
cpuTotalUsage
当前系统的 CPU 使用率 (%)
@property (assign, nonatomic) double cpuTotalUsage
Discussion
该属性在 didLeaveChannelWithStats 回调中报告的值恒为 0
。
Declared In
AgoraObjects.h
memoryAppUsageRatio
当前 App 的内存占比 (%)
@property (assign, nonatomic) double memoryAppUsageRatio
Discussion
Note: 该值仅作参考。受系统限制可能无法获取。
Declared In
AgoraObjects.h
memoryTotalUsageRatio
当前系统的内存占比 (%)
@property (assign, nonatomic) double memoryTotalUsageRatio
Discussion
Note: 该值仅作参考。受系统限制可能无法获取。
Declared In
AgoraObjects.h
memoryAppUsageInKbytes
当前 App 的内存大小 (KB)
@property (assign, nonatomic) NSInteger memoryAppUsageInKbytes
Discussion
Note: 该值仅作参考。受系统限制可能无法获取。
Declared In
AgoraObjects.h