Class NERoomRtcStats
-
- All Implemented Interfaces:
public final class NERoomRtcStats通话相关的统计信息。
-
-
Field Summary
Fields Modifier and Type Field Description private LongtxBytesprivate LongrxBytesprivate IntegercpuAppUsageprivate IntegercpuTotalUsageprivate IntegermemoryAppUsageRatioprivate IntegermemoryTotalUsageRatioprivate LongmemoryAppUsageInKBytesprivate LongtotalDurationprivate LongtxAudioBytesprivate LongtxVideoBytesprivate LongrxAudioBytesprivate LongrxVideoBytesprivate IntegerrxAudioKBitRateprivate IntegerrxVideoKBitRateprivate IntegertxAudioKBitRateprivate IntegertxVideoKBitRateprivate LongupRttprivate LongdownRttprivate IntegertxAudioPacketLossRateprivate IntegertxVideoPacketLossRateprivate IntegertxAudioPacketLossSumprivate IntegertxVideoPacketLossSumprivate IntegertxAudioJitterprivate IntegertxVideoJitterprivate IntegerrxAudioPacketLossRateprivate IntegerrxVideoPacketLossRateprivate LongrxAudioPacketLossSumprivate IntegerrxVideoPacketLossSumprivate IntegerrxAudioJitterprivate IntegerrxVideoJitter
-
Constructor Summary
Constructors Constructor Description NERoomRtcStats(Long txBytes, Long rxBytes, Integer cpuAppUsage, Integer cpuTotalUsage, Integer memoryAppUsageRatio, Integer memoryTotalUsageRatio, Long memoryAppUsageInKBytes, Long totalDuration, Long txAudioBytes, Long txVideoBytes, Long rxAudioBytes, Long rxVideoBytes, Integer rxAudioKBitRate, Integer rxVideoKBitRate, Integer txAudioKBitRate, Integer txVideoKBitRate, Long upRtt, Long downRtt, Integer txAudioPacketLossRate, Integer txVideoPacketLossRate, Integer txAudioPacketLossSum, Integer txVideoPacketLossSum, Integer txAudioJitter, Integer txVideoJitter, Integer rxAudioPacketLossRate, Integer rxVideoPacketLossRate, Long rxAudioPacketLossSum, Integer rxVideoPacketLossSum, Integer rxAudioJitter, Integer rxVideoJitter)
-
Method Summary
Modifier and Type Method Description final LonggetTxBytes()发送字节数(Byte),累计值。 final UnitsetTxBytes(Long txBytes)发送字节数(Byte),累计值。 final LonggetRxBytes()接收字节数(Byte),累计值。 final UnitsetRxBytes(Long rxBytes)接收字节数(Byte),累计值。 final IntegergetCpuAppUsage()当前 App 的 CPU 使用率 (%)。Android 8. final UnitsetCpuAppUsage(Integer cpuAppUsage)当前 App 的 CPU 使用率 (%)。Android 8. final IntegergetCpuTotalUsage()当前系统的 CPU 使用率 (%)。Android 8. final UnitsetCpuTotalUsage(Integer cpuTotalUsage)当前系统的 CPU 使用率 (%)。Android 8. final IntegergetMemoryAppUsageRatio()当前 App 的内存占比 (%) , 占最大可用内存,由于计算方式的原因可能会超过100。 final UnitsetMemoryAppUsageRatio(Integer memoryAppUsageRatio)当前 App 的内存占比 (%) , 占最大可用内存,由于计算方式的原因可能会超过100。 final IntegergetMemoryTotalUsageRatio()当前系统的内存占比 (%)。 final UnitsetMemoryTotalUsageRatio(Integer memoryTotalUsageRatio)当前系统的内存占比 (%)。 final LonggetMemoryAppUsageInKBytes()当前 App 的内存大小 (KB)。 final UnitsetMemoryAppUsageInKBytes(Long memoryAppUsageInKBytes)当前 App 的内存大小 (KB)。 final LonggetTotalDuration()自加入房间的通话时长 , 退出后再加入重新计时 ( 单位:S)。 final UnitsetTotalDuration(Long totalDuration)自加入房间的通话时长 , 退出后再加入重新计时 ( 单位:S)。 final LonggetTxAudioBytes()自加入房间后累计的发送的音频字节数(Byte)。 final UnitsetTxAudioBytes(Long txAudioBytes)自加入房间后累计的发送的音频字节数(Byte)。 final LonggetTxVideoBytes()自加入房间后累计的发送的视频字节数(Byte)。 final UnitsetTxVideoBytes(Long txVideoBytes)自加入房间后累计的发送的视频字节数(Byte)。 final LonggetRxAudioBytes()自加入房间后累计的接收的音频字节数(Byte)。 final UnitsetRxAudioBytes(Long rxAudioBytes)自加入房间后累计的接收的音频字节数(Byte)。 final LonggetRxVideoBytes()自加入房间后累计的接收的视频字节数(Byte)。 final UnitsetRxVideoBytes(Long rxVideoBytes)自加入房间后累计的接收的视频字节数(Byte)。 final IntegergetRxAudioKBitRate()音频接收码率(kbps)。 final UnitsetRxAudioKBitRate(Integer rxAudioKBitRate)音频接收码率(kbps)。 final IntegergetRxVideoKBitRate()视频接收码率(kbps)。 final UnitsetRxVideoKBitRate(Integer rxVideoKBitRate)视频接收码率(kbps)。 final IntegergetTxAudioKBitRate()音频发送码率(kbps)。 final UnitsetTxAudioKBitRate(Integer txAudioKBitRate)音频发送码率(kbps)。 final IntegergetTxVideoKBitRate()视频发送码率(kbps)。 final UnitsetTxVideoKBitRate(Integer txVideoKBitRate)视频发送码率(kbps)。 final LonggetUpRtt()上行平均往返时延(ms)。 final UnitsetUpRtt(Long upRtt)上行平均往返时延(ms)。 final LonggetDownRtt()下行平均往返时延(ms)。 final UnitsetDownRtt(Long downRtt)下行平均往返时延(ms)。 final IntegergetTxAudioPacketLossRate()本地上行音频丢包率(%)。 final UnitsetTxAudioPacketLossRate(Integer txAudioPacketLossRate)本地上行音频丢包率(%)。 final IntegergetTxVideoPacketLossRate()本地上行视频实际丢包率(%)。 final UnitsetTxVideoPacketLossRate(Integer txVideoPacketLossRate)本地上行视频实际丢包率(%)。 final IntegergetTxAudioPacketLossSum()本地上行音频丢包数。 final UnitsetTxAudioPacketLossSum(Integer txAudioPacketLossSum)本地上行音频丢包数。 final IntegergetTxVideoPacketLossSum()本地上行视频丢包数。 final UnitsetTxVideoPacketLossSum(Integer txVideoPacketLossSum)本地上行视频丢包数。 final IntegergetTxAudioJitter()本地上行音频抖动 (ms)。 final UnitsetTxAudioJitter(Integer txAudioJitter)本地上行音频抖动 (ms)。 final IntegergetTxVideoJitter()本地上行视频抖动 (ms)。 final UnitsetTxVideoJitter(Integer txVideoJitter)本地上行视频抖动 (ms)。 final IntegergetRxAudioPacketLossRate()本地下行音频丢包率(%)。 final UnitsetRxAudioPacketLossRate(Integer rxAudioPacketLossRate)本地下行音频丢包率(%)。 final IntegergetRxVideoPacketLossRate()本地下行视频丢包率(%)。 final UnitsetRxVideoPacketLossRate(Integer rxVideoPacketLossRate)本地下行视频丢包率(%)。 final LonggetRxAudioPacketLossSum()本地下行音频丢包数。 final UnitsetRxAudioPacketLossSum(Long rxAudioPacketLossSum)本地下行音频丢包数。 final IntegergetRxVideoPacketLossSum()本地下行视频丢包数。 final UnitsetRxVideoPacketLossSum(Integer rxVideoPacketLossSum)本地下行视频丢包数。 final IntegergetRxAudioJitter()本地下行音频抖动 (ms)。 final UnitsetRxAudioJitter(Integer rxAudioJitter)本地下行音频抖动 (ms)。 final IntegergetRxVideoJitter()本地下行视频抖动 (ms)。 final UnitsetRxVideoJitter(Integer rxVideoJitter)本地下行视频抖动 (ms)。 -
-
Constructor Detail
-
NERoomRtcStats
NERoomRtcStats(Long txBytes, Long rxBytes, Integer cpuAppUsage, Integer cpuTotalUsage, Integer memoryAppUsageRatio, Integer memoryTotalUsageRatio, Long memoryAppUsageInKBytes, Long totalDuration, Long txAudioBytes, Long txVideoBytes, Long rxAudioBytes, Long rxVideoBytes, Integer rxAudioKBitRate, Integer rxVideoKBitRate, Integer txAudioKBitRate, Integer txVideoKBitRate, Long upRtt, Long downRtt, Integer txAudioPacketLossRate, Integer txVideoPacketLossRate, Integer txAudioPacketLossSum, Integer txVideoPacketLossSum, Integer txAudioJitter, Integer txVideoJitter, Integer rxAudioPacketLossRate, Integer rxVideoPacketLossRate, Long rxAudioPacketLossSum, Integer rxVideoPacketLossSum, Integer rxAudioJitter, Integer rxVideoJitter)
-
-
Method Detail
-
getTxBytes
final Long getTxBytes()
发送字节数(Byte),累计值。
-
setTxBytes
final Unit setTxBytes(Long txBytes)
发送字节数(Byte),累计值。
-
getRxBytes
final Long getRxBytes()
接收字节数(Byte),累计值。
-
setRxBytes
final Unit setRxBytes(Long rxBytes)
接收字节数(Byte),累计值。
-
getCpuAppUsage
final Integer getCpuAppUsage()
当前 App 的 CPU 使用率 (%)。Android 8.0及后续版本无法获取。
-
setCpuAppUsage
final Unit setCpuAppUsage(Integer cpuAppUsage)
当前 App 的 CPU 使用率 (%)。Android 8.0及后续版本无法获取。
-
getCpuTotalUsage
final Integer getCpuTotalUsage()
当前系统的 CPU 使用率 (%)。Android 8.0及后续版本无法获取。
-
setCpuTotalUsage
final Unit setCpuTotalUsage(Integer cpuTotalUsage)
当前系统的 CPU 使用率 (%)。Android 8.0及后续版本无法获取。
-
getMemoryAppUsageRatio
final Integer getMemoryAppUsageRatio()
当前 App 的内存占比 (%) , 占最大可用内存,由于计算方式的原因可能会超过100。
-
setMemoryAppUsageRatio
final Unit setMemoryAppUsageRatio(Integer memoryAppUsageRatio)
当前 App 的内存占比 (%) , 占最大可用内存,由于计算方式的原因可能会超过100。
-
getMemoryTotalUsageRatio
final Integer getMemoryTotalUsageRatio()
当前系统的内存占比 (%)。
-
setMemoryTotalUsageRatio
final Unit setMemoryTotalUsageRatio(Integer memoryTotalUsageRatio)
当前系统的内存占比 (%)。
-
getMemoryAppUsageInKBytes
final Long getMemoryAppUsageInKBytes()
当前 App 的内存大小 (KB)。
-
setMemoryAppUsageInKBytes
final Unit setMemoryAppUsageInKBytes(Long memoryAppUsageInKBytes)
当前 App 的内存大小 (KB)。
-
getTotalDuration
final Long getTotalDuration()
自加入房间的通话时长 , 退出后再加入重新计时 ( 单位:S)。
-
setTotalDuration
final Unit setTotalDuration(Long totalDuration)
自加入房间的通话时长 , 退出后再加入重新计时 ( 单位:S)。
-
getTxAudioBytes
final Long getTxAudioBytes()
自加入房间后累计的发送的音频字节数(Byte)。
-
setTxAudioBytes
final Unit setTxAudioBytes(Long txAudioBytes)
自加入房间后累计的发送的音频字节数(Byte)。
-
getTxVideoBytes
final Long getTxVideoBytes()
自加入房间后累计的发送的视频字节数(Byte)。
-
setTxVideoBytes
final Unit setTxVideoBytes(Long txVideoBytes)
自加入房间后累计的发送的视频字节数(Byte)。
-
getRxAudioBytes
final Long getRxAudioBytes()
自加入房间后累计的接收的音频字节数(Byte)。
-
setRxAudioBytes
final Unit setRxAudioBytes(Long rxAudioBytes)
自加入房间后累计的接收的音频字节数(Byte)。
-
getRxVideoBytes
final Long getRxVideoBytes()
自加入房间后累计的接收的视频字节数(Byte)。
-
setRxVideoBytes
final Unit setRxVideoBytes(Long rxVideoBytes)
自加入房间后累计的接收的视频字节数(Byte)。
-
getRxAudioKBitRate
final Integer getRxAudioKBitRate()
音频接收码率(kbps)。
-
setRxAudioKBitRate
final Unit setRxAudioKBitRate(Integer rxAudioKBitRate)
音频接收码率(kbps)。
-
getRxVideoKBitRate
final Integer getRxVideoKBitRate()
视频接收码率(kbps)。
-
setRxVideoKBitRate
final Unit setRxVideoKBitRate(Integer rxVideoKBitRate)
视频接收码率(kbps)。
-
getTxAudioKBitRate
final Integer getTxAudioKBitRate()
音频发送码率(kbps)。
-
setTxAudioKBitRate
final Unit setTxAudioKBitRate(Integer txAudioKBitRate)
音频发送码率(kbps)。
-
getTxVideoKBitRate
final Integer getTxVideoKBitRate()
视频发送码率(kbps)。
-
setTxVideoKBitRate
final Unit setTxVideoKBitRate(Integer txVideoKBitRate)
视频发送码率(kbps)。
-
getDownRtt
final Long getDownRtt()
下行平均往返时延(ms)。
-
setDownRtt
final Unit setDownRtt(Long downRtt)
下行平均往返时延(ms)。
-
getTxAudioPacketLossRate
final Integer getTxAudioPacketLossRate()
本地上行音频丢包率(%)。
-
setTxAudioPacketLossRate
final Unit setTxAudioPacketLossRate(Integer txAudioPacketLossRate)
本地上行音频丢包率(%)。
-
getTxVideoPacketLossRate
final Integer getTxVideoPacketLossRate()
本地上行视频实际丢包率(%)。
-
setTxVideoPacketLossRate
final Unit setTxVideoPacketLossRate(Integer txVideoPacketLossRate)
本地上行视频实际丢包率(%)。
-
getTxAudioPacketLossSum
final Integer getTxAudioPacketLossSum()
本地上行音频丢包数。
-
setTxAudioPacketLossSum
final Unit setTxAudioPacketLossSum(Integer txAudioPacketLossSum)
本地上行音频丢包数。
-
getTxVideoPacketLossSum
final Integer getTxVideoPacketLossSum()
本地上行视频丢包数。
-
setTxVideoPacketLossSum
final Unit setTxVideoPacketLossSum(Integer txVideoPacketLossSum)
本地上行视频丢包数。
-
getTxAudioJitter
final Integer getTxAudioJitter()
本地上行音频抖动 (ms)。
-
setTxAudioJitter
final Unit setTxAudioJitter(Integer txAudioJitter)
本地上行音频抖动 (ms)。
-
getTxVideoJitter
final Integer getTxVideoJitter()
本地上行视频抖动 (ms)。
-
setTxVideoJitter
final Unit setTxVideoJitter(Integer txVideoJitter)
本地上行视频抖动 (ms)。
-
getRxAudioPacketLossRate
final Integer getRxAudioPacketLossRate()
本地下行音频丢包率(%)。
-
setRxAudioPacketLossRate
final Unit setRxAudioPacketLossRate(Integer rxAudioPacketLossRate)
本地下行音频丢包率(%)。
-
getRxVideoPacketLossRate
final Integer getRxVideoPacketLossRate()
本地下行视频丢包率(%)。
-
setRxVideoPacketLossRate
final Unit setRxVideoPacketLossRate(Integer rxVideoPacketLossRate)
本地下行视频丢包率(%)。
-
getRxAudioPacketLossSum
final Long getRxAudioPacketLossSum()
本地下行音频丢包数。
-
setRxAudioPacketLossSum
final Unit setRxAudioPacketLossSum(Long rxAudioPacketLossSum)
本地下行音频丢包数。
-
getRxVideoPacketLossSum
final Integer getRxVideoPacketLossSum()
本地下行视频丢包数。
-
setRxVideoPacketLossSum
final Unit setRxVideoPacketLossSum(Integer rxVideoPacketLossSum)
本地下行视频丢包数。
-
getRxAudioJitter
final Integer getRxAudioJitter()
本地下行音频抖动 (ms)。
-
setRxAudioJitter
final Unit setRxAudioJitter(Integer rxAudioJitter)
本地下行音频抖动 (ms)。
-
getRxVideoJitter
final Integer getRxVideoJitter()
本地下行视频抖动 (ms)。
-
setRxVideoJitter
final Unit setRxVideoJitter(Integer rxVideoJitter)
本地下行视频抖动 (ms)。
-
-
-
-