TKRtcStats类
说明 | 类型 |
---|---|
Inherits from | NSObject |
Declared in | TKRoomDefines.h |
概览
音视频总统计数据
outBytes
上行总字节数
@property (assign, nonatomic) int64_t outBytes;
inBytes
下行总字节数
@property (assign, nonatomic) int64_t inBytes;
outPackets
上行总包数
@property (assign, nonatomic) NSInteger outPackets;
inPackets
下行总包数
@property (assign, nonatomic) NSInteger inPackets;
outAudioBitRate
上行音频码率 bps
@property (assign, nonatomic) NSInteger outAudioBitRate;
inAudioBitRate
下行音频码率 bps
@property (assign, nonatomic) NSInteger inAudioBitRate;
outVideoBitRate
上行视频码率 bps
@property (assign, nonatomic) NSInteger outVideoBitRate;
inVideoBitRate
下行视频码率 bps
@property (assign, nonatomic) NSInteger inVideoBitRate;
outAudioPacketLostRate
上行音频丢包率
@property (assign, nonatomic) CGFloat outAudioPacketLostRate;
inAudioPacketLostRate
下行音频丢包率
@property (assign, nonatomic) CGFloat inAudioPacketLostRate;
outVideoPacketLostRate
上行视频丢包率
@property (assign, nonatomic) CGFloat outVideoPacketLostRate;
inVideoPacketLostRate
下行视频丢包率
@property (assign, nonatomic) CGFloat inVideoPacketLostRate;
outNetQuality
上行网络质量
@property (assign, nonatomic) TKNetQuality outNetQuality;
inNetQuality
下行网络质量
@property (assign, nonatomic) TKNetQuality inNetQuality;
netQuality
网络质量
@property (assign, nonatomic) TKNetQuality netQuality;
audioDelay
音频延迟
@property (assign, nonatomic) NSInteger audioDelay;
vidoeDelay
视频延迟
@property (assign, nonatomic) NSInteger vidoeDelay;
duration
时长
@property (assign, nonatomic) int64_t duration;
cpuAppUsage
当前 App 的 CPU 使用率 (%)
@property (assign, nonatomic) CGFloat cpuAppUsage;
cpuTotalUsage
当前系统的 CPU 使用率 (%)
@property (assign, nonatomic) CGFloat cpuTotalUsage;
memoryAppUsageRatio
当前 App 的内存占比 (%)
@property (assign, nonatomic) CGFloat memoryAppUsageRatio;
memoryTotalUsageRatio
当前系统的内存占比 (%)
@property (assign, nonatomic) CGFloat memoryTotalUsageRatio;
memoryAppUsageInKbytes
当前 App 的内存大小 (KB)
@property (assign, nonatomic) CGFloat memoryAppUsageInKbytes;