RtcStats
- Electron
更新时间不可用
通话相关的统计信息。
export class RtcStats {
duration?: number;
txBytes?: number;
rxBytes?: number;
txAudioBytes?: number;
txVideoBytes?: number;
rxAudioBytes?: number;
rxVideoBytes?: number;
txKBitRate?: number;
rxKBitRate?: number;
rxAudioKBitRate?: number;
txAudioKBitRate?: number;
rxVideoKBitRate?: number;
txVideoKBitRate?: number;
lastmileDelay?: number;
userCount?: number;
cpuAppUsage?: number;
cpuTotalUsage?: number;
gatewayRtt?: number;
memoryAppUsageRatio?: number;
memoryTotalUsageRatio?: number;
memoryAppUsageInKbytes?: number;
connectTimeMs?: number;
firstAudioPacketDuration?: number;
firstVideoPacketDuration?: number;
firstVideoKeyFramePacketDuration?: number;
packetsBeforeFirstKeyFramePacket?: number;
firstAudioPacketDurationAfterUnmute?: number;
firstVideoPacketDurationAfterUnmute?: number;
firstVideoKeyFramePacketDurationAfterUnmute?: number;
firstVideoKeyFrameDecodedDurationAfterUnmute?: number;
firstVideoKeyFrameRenderedDurationAfterUnmute?: number;
txPacketLossRate?: number;
rxPacketLossRate?: number;
}属性
| 参数名 | 描述 |
|---|---|
duration | |
txBytes | |
rxBytes | |
txAudioBytes | |
txVideoBytes | |
rxAudioBytes | |
rxVideoBytes | |
txKBitRate | |
rxKBitRate | |
rxAudioKBitRate | |
txAudioKBitRate | |
rxVideoKBitRate | |
txVideoKBitRate | |
lastmileDelay | |
txPacketLossRate | |
rxPacketLossRate | |
userCount | |
cpuAppUsage | |
cpuTotalUsage | 当前系统的 CPU 使用率 (%)。 对于 Windows 平台,在多核环境中,该成员指多核 CPU 的平均使用率。 计算方式为 (100 - 任务管理中显示的系统空闲进程 CPU)/100。 注:
|
connectTimeMs | |
gatewayRtt | |
memoryAppUsageRatio | |
memoryTotalUsageRatio | |
memoryAppUsageInKbytes |