AgoraMultipathStats
汇总多路径传输中各网络路径的统计信息。
Objective-C
__attribute__((visibility("default"))) @interface AgoraMultipathStats : NSObject
@property (assign, nonatomic) NSUInteger lanRxBytes;
@property (assign, nonatomic) NSUInteger lanTxBytes;
@property (assign, nonatomic) NSUInteger wifiRxBytes;
@property (assign, nonatomic) NSUInteger wifiTxBytes;
@property (assign, nonatomic) NSUInteger mobileRxBytes;
@property (assign, nonatomic) NSUInteger mobileTxBytes;
@property (assign, nonatomic) NSUInteger activePathNum;
@property (copy, nonatomic) NSArray<AgoraPathStats *> *_Nullable pathStats NS_SWIFT_NAME(pathStats);
@end
自从
自 v4.6.0 版本新增。
lanTxBytes
通过 LAN 路径发送的字节数。
lanRxBytes
通过 LAN 路径接收的总字节数。
wifiTxBytes
通过 Wi-Fi 路径发送的总字节数。
wifiRxBytes
通过 Wi-Fi 路径接收的总字节数。
mobileTxBytes
通过移动网络路径发送的总字节数。
mobileRxBytes
通过移动网络路径接收的总字节数。
activePathNum
当前活跃的传输路径的数量。
pathStats
每一条活跃的传输路径统计信息。详见 AgoraPathStats。