Public 成员函数 | |
RtcStats () | |
RtcStats (int connectionId, int duration, int txBytes, int rxBytes, int txAudioBytes, int txVideoBytes, int rxAudioBytes, int rxVideoBytes, short txKBitRate, short rxKBitRate, short rxAudioKBitRate, short txAudioKBitRate, short rxVideoKBitRate, short txVideoKBitRate, short lastmileDelay, int userCount, double cpuAppUsage, double cpuTotalUsage, int gatewayRtt, double memoryAppUsageRatio, double memoryTotalUsageRatio, int memoryAppUsageInKbytes, int connectTimeMs, int firstAudioPacketDuration, int firstVideoPacketDuration, int firstVideoKeyFramePacketDuration, int packetsBeforeFirstKeyFramePacket, int firstAudioPacketDurationAfterUnmute, int firstVideoPacketDurationAfterUnmute, int firstVideoKeyFramePacketDurationAfterUnmute, int firstVideoKeyFrameDecodedDurationAfterUnmute, int firstVideoKeyFrameRenderedDurationAfterUnmute, int txPacketLossRate, int rxPacketLossRate) | |
int | getConnectionId () |
void | setConnectionId (int connectionId) |
int | getDuration () |
void | setDuration (int duration) |
int | getTxBytes () |
void | setTxBytes (int txBytes) |
int | getRxBytes () |
void | setRxBytes (int rxBytes) |
int | getTxAudioBytes () |
void | setTxAudioBytes (int txAudioBytes) |
int | getTxVideoBytes () |
void | setTxVideoBytes (int txVideoBytes) |
int | getRxAudioBytes () |
void | setRxAudioBytes (int rxAudioBytes) |
int | getRxVideoBytes () |
void | setRxVideoBytes (int rxVideoBytes) |
short | getTxKBitRate () |
void | setTxKBitRate (short txKBitRate) |
short | getRxKBitRate () |
void | setRxKBitRate (short rxKBitRate) |
short | getRxAudioKBitRate () |
void | setRxAudioKBitRate (short rxAudioKBitRate) |
short | getTxAudioKBitRate () |
void | setTxAudioKBitRate (short txAudioKBitRate) |
short | getRxVideoKBitRate () |
void | setRxVideoKBitRate (short rxVideoKBitRate) |
short | getTxVideoKBitRate () |
void | setTxVideoKBitRate (short txVideoKBitRate) |
short | getLastmileDelay () |
void | setLastmileDelay (short lastmileDelay) |
int | getUserCount () |
void | setUserCount (int userCount) |
double | getCpuAppUsage () |
void | setCpuAppUsage (double cpuAppUsage) |
double | getCpuTotalUsage () |
void | setCpuTotalUsage (double cpuTotalUsage) |
int | getGatewayRtt () |
void | setGatewayRtt (int gatewayRtt) |
double | getMemoryAppUsageRatio () |
void | setMemoryAppUsageRatio (double memoryAppUsageRatio) |
double | getMemoryTotalUsageRatio () |
void | setMemoryTotalUsageRatio (double memoryTotalUsageRatio) |
int | getMemoryAppUsageInKbytes () |
void | setMemoryAppUsageInKbytes (int memoryAppUsageInKbytes) |
int | getConnectTimeMs () |
void | setConnectTimeMs (int connectTimeMs) |
int | getFirstAudioPacketDuration () |
void | setFirstAudioPacketDuration (int firstAudioPacketDuration) |
int | getFirstVideoPacketDuration () |
void | setFirstVideoPacketDuration (int firstVideoPacketDuration) |
int | getFirstVideoKeyFramePacketDuration () |
void | setFirstVideoKeyFramePacketDuration (int firstVideoKeyFramePacketDuration) |
int | getPacketsBeforeFirstKeyFramePacket () |
void | setPacketsBeforeFirstKeyFramePacket (int packetsBeforeFirstKeyFramePacket) |
int | getFirstAudioPacketDurationAfterUnmute () |
void | setFirstAudioPacketDurationAfterUnmute (int firstAudioPacketDurationAfterUnmute) |
int | getFirstVideoPacketDurationAfterUnmute () |
void | setFirstVideoPacketDurationAfterUnmute (int firstVideoPacketDurationAfterUnmute) |
int | getFirstVideoKeyFramePacketDurationAfterUnmute () |
void | setFirstVideoKeyFramePacketDurationAfterUnmute (int firstVideoKeyFramePacketDurationAfterUnmute) |
int | getFirstVideoKeyFrameDecodedDurationAfterUnmute () |
void | setFirstVideoKeyFrameDecodedDurationAfterUnmute (int firstVideoKeyFrameDecodedDurationAfterUnmute) |
int | getFirstVideoKeyFrameRenderedDurationAfterUnmute () |
void | setFirstVideoKeyFrameRenderedDurationAfterUnmute (int firstVideoKeyFrameRenderedDurationAfterUnmute) |
int | getTxPacketLossRate () |
void | setTxPacketLossRate (int txPacketLossRate) |
int | getRxPacketLossRate () |
void | setRxPacketLossRate (int rxPacketLossRate) |
RtcStats 类。
io.agora.rtc.RtcStats.RtcStats | ( | ) |
io.agora.rtc.RtcStats.RtcStats | ( | int | connectionId, |
int | duration, | ||
int | txBytes, | ||
int | rxBytes, | ||
int | txAudioBytes, | ||
int | txVideoBytes, | ||
int | rxAudioBytes, | ||
int | rxVideoBytes, | ||
short | txKBitRate, | ||
short | rxKBitRate, | ||
short | rxAudioKBitRate, | ||
short | txAudioKBitRate, | ||
short | rxVideoKBitRate, | ||
short | txVideoKBitRate, | ||
short | lastmileDelay, | ||
int | userCount, | ||
double | cpuAppUsage, | ||
double | cpuTotalUsage, | ||
int | gatewayRtt, | ||
double | memoryAppUsageRatio, | ||
double | memoryTotalUsageRatio, | ||
int | memoryAppUsageInKbytes, | ||
int | connectTimeMs, | ||
int | firstAudioPacketDuration, | ||
int | firstVideoPacketDuration, | ||
int | firstVideoKeyFramePacketDuration, | ||
int | packetsBeforeFirstKeyFramePacket, | ||
int | firstAudioPacketDurationAfterUnmute, | ||
int | firstVideoPacketDurationAfterUnmute, | ||
int | firstVideoKeyFramePacketDurationAfterUnmute, | ||
int | firstVideoKeyFrameDecodedDurationAfterUnmute, | ||
int | firstVideoKeyFrameRenderedDurationAfterUnmute, | ||
int | txPacketLossRate, | ||
int | rxPacketLossRate | ||
) |
构造函数。
connectionId | 连接 ID。 |
duration | 本地用户的通话时长,单位为秒,累计值。 |
txBytes | 发送字节数(bytes),累计值。 |
rxBytes | 接收字节数(bytes),累计值。 |
txAudioBytes | 发送音频字节数(bytes),累计值。 |
txVideoBytes | 发送视频字节数(bytes),累计值。 |
rxAudioBytes | 接收音频字节数(bytes),累计值。 |
rxVideoBytes | 接收视频字节数(bytes),累计值。 |
txKBitRate | 发送码率(Kbps),瞬时值。 |
rxKBitRate | 接收码率(Kbps),瞬时值。 |
rxAudioKBitRate | 音频接收码率(Kbps),瞬时值。 |
txAudioKBitRate | 音频包的发送码率(Kbps),瞬时值。 |
rxVideoKBitRate | 视频接收码率(Kbps),瞬时值。 |
txVideoKBitRate | 视频发送码率(Kbps),瞬时值。 |
lastmileDelay | 客户端到服务器的延迟(毫秒)。 |
userCount | 当前频道内的人数。 |
cpuAppUsage | 当前 App 的 CPU 使用率 (%)。 |
cpuTotalUsage | 当前系统的 CPU 使用率 (%)。 |
gatewayRtt | 客户端到本地路由器的往返时延 (ms)。 |
memoryAppUsageRatio | 当前 App 的内存占比 (%)。 |
memoryTotalUsageRatio | 当前系统的内存占比 (%)。 |
memoryAppUsageInKbytes | 当前 App 的内存大小 (KB)。 |
connectTimeMs | 从开始建立连接到成功连接的时间(毫秒)。如报告 0,则表示无效。 |
firstAudioPacketDuration | 从 SDK 开始连接 RTC 频道到接收到第一个音频包的时间(毫秒)。 |
firstVideoPacketDuration | 从 SDK 开始连接 RTC 频道到接收到第一个视频包的时间(毫秒)。 |
firstVideoKeyFramePacketDuration | 从 SDK 开始连接 RTC 频道到接收到第一个视频关键帧的时间(毫秒)。 |
packetsBeforeFirstKeyFramePacket | 在收到第一个视频关键帧之前收到的视频包数量。 |
firstAudioPacketDurationAfterUnmute | 从最后一次恢复发送音频到接收到第一个音频包的时间(毫秒)。 |
firstVideoPacketDurationAfterUnmute | 从最后一次恢复发送视频到接收到第一个视频包的时间(毫秒)。 |
firstVideoKeyFramePacketDurationAfterUnmute | 从最后一次恢复发送视频到接收到第一个视频关键帧的时间(毫秒)。 |
firstVideoKeyFrameDecodedDurationAfterUnmute | 从最后一次恢复发送视频到接收到第一个视频关键帧解码的时间(毫秒)。 |
firstVideoKeyFrameRenderedDurationAfterUnmute | 从最后一次恢复发送视频到接收到第一个视频帧关键帧渲染的时间(毫秒)。 |
txPacketLossRate | 发送端的丢包率。 |
rxPacketLossRate | 接收端的丢包率。 |
int io.agora.rtc.RtcStats.getConnectionId | ( | ) |
int io.agora.rtc.RtcStats.getConnectTimeMs | ( | ) |
double io.agora.rtc.RtcStats.getCpuAppUsage | ( | ) |
double io.agora.rtc.RtcStats.getCpuTotalUsage | ( | ) |
int io.agora.rtc.RtcStats.getDuration | ( | ) |
int io.agora.rtc.RtcStats.getFirstAudioPacketDuration | ( | ) |
int io.agora.rtc.RtcStats.getFirstAudioPacketDurationAfterUnmute | ( | ) |
int io.agora.rtc.RtcStats.getFirstVideoKeyFrameDecodedDurationAfterUnmute | ( | ) |
int io.agora.rtc.RtcStats.getFirstVideoKeyFramePacketDuration | ( | ) |
int io.agora.rtc.RtcStats.getFirstVideoKeyFramePacketDurationAfterUnmute | ( | ) |
int io.agora.rtc.RtcStats.getFirstVideoKeyFrameRenderedDurationAfterUnmute | ( | ) |
int io.agora.rtc.RtcStats.getFirstVideoPacketDuration | ( | ) |
int io.agora.rtc.RtcStats.getFirstVideoPacketDurationAfterUnmute | ( | ) |
int io.agora.rtc.RtcStats.getGatewayRtt | ( | ) |
short io.agora.rtc.RtcStats.getLastmileDelay | ( | ) |
int io.agora.rtc.RtcStats.getMemoryAppUsageInKbytes | ( | ) |
double io.agora.rtc.RtcStats.getMemoryAppUsageRatio | ( | ) |
double io.agora.rtc.RtcStats.getMemoryTotalUsageRatio | ( | ) |
int io.agora.rtc.RtcStats.getPacketsBeforeFirstKeyFramePacket | ( | ) |
int io.agora.rtc.RtcStats.getRxAudioBytes | ( | ) |
short io.agora.rtc.RtcStats.getRxAudioKBitRate | ( | ) |
int io.agora.rtc.RtcStats.getRxBytes | ( | ) |
short io.agora.rtc.RtcStats.getRxKBitRate | ( | ) |
int io.agora.rtc.RtcStats.getRxPacketLossRate | ( | ) |
int io.agora.rtc.RtcStats.getRxVideoBytes | ( | ) |
short io.agora.rtc.RtcStats.getRxVideoKBitRate | ( | ) |
int io.agora.rtc.RtcStats.getTxAudioBytes | ( | ) |
short io.agora.rtc.RtcStats.getTxAudioKBitRate | ( | ) |
int io.agora.rtc.RtcStats.getTxBytes | ( | ) |
short io.agora.rtc.RtcStats.getTxKBitRate | ( | ) |
int io.agora.rtc.RtcStats.getTxPacketLossRate | ( | ) |
int io.agora.rtc.RtcStats.getTxVideoBytes | ( | ) |
short io.agora.rtc.RtcStats.getTxVideoKBitRate | ( | ) |
int io.agora.rtc.RtcStats.getUserCount | ( | ) |
void io.agora.rtc.RtcStats.setConnectionId | ( | int | connectionId | ) |
void io.agora.rtc.RtcStats.setConnectTimeMs | ( | int | connectTimeMs | ) |
void io.agora.rtc.RtcStats.setCpuAppUsage | ( | double | cpuAppUsage | ) |
void io.agora.rtc.RtcStats.setCpuTotalUsage | ( | double | cpuTotalUsage | ) |
void io.agora.rtc.RtcStats.setDuration | ( | int | duration | ) |
void io.agora.rtc.RtcStats.setFirstAudioPacketDuration | ( | int | firstAudioPacketDuration | ) |
void io.agora.rtc.RtcStats.setFirstAudioPacketDurationAfterUnmute | ( | int | firstAudioPacketDurationAfterUnmute | ) |
void io.agora.rtc.RtcStats.setFirstVideoKeyFrameDecodedDurationAfterUnmute | ( | int | firstVideoKeyFrameDecodedDurationAfterUnmute | ) |
void io.agora.rtc.RtcStats.setFirstVideoKeyFramePacketDuration | ( | int | firstVideoKeyFramePacketDuration | ) |
void io.agora.rtc.RtcStats.setFirstVideoKeyFramePacketDurationAfterUnmute | ( | int | firstVideoKeyFramePacketDurationAfterUnmute | ) |
void io.agora.rtc.RtcStats.setFirstVideoKeyFrameRenderedDurationAfterUnmute | ( | int | firstVideoKeyFrameRenderedDurationAfterUnmute | ) |
void io.agora.rtc.RtcStats.setFirstVideoPacketDuration | ( | int | firstVideoPacketDuration | ) |
void io.agora.rtc.RtcStats.setFirstVideoPacketDurationAfterUnmute | ( | int | firstVideoPacketDurationAfterUnmute | ) |
void io.agora.rtc.RtcStats.setGatewayRtt | ( | int | gatewayRtt | ) |
void io.agora.rtc.RtcStats.setLastmileDelay | ( | short | lastmileDelay | ) |
void io.agora.rtc.RtcStats.setMemoryAppUsageInKbytes | ( | int | memoryAppUsageInKbytes | ) |
void io.agora.rtc.RtcStats.setMemoryAppUsageRatio | ( | double | memoryAppUsageRatio | ) |
void io.agora.rtc.RtcStats.setMemoryTotalUsageRatio | ( | double | memoryTotalUsageRatio | ) |
void io.agora.rtc.RtcStats.setPacketsBeforeFirstKeyFramePacket | ( | int | packetsBeforeFirstKeyFramePacket | ) |
void io.agora.rtc.RtcStats.setRxAudioBytes | ( | int | rxAudioBytes | ) |
void io.agora.rtc.RtcStats.setRxAudioKBitRate | ( | short | rxAudioKBitRate | ) |
void io.agora.rtc.RtcStats.setRxBytes | ( | int | rxBytes | ) |
void io.agora.rtc.RtcStats.setRxKBitRate | ( | short | rxKBitRate | ) |
void io.agora.rtc.RtcStats.setRxPacketLossRate | ( | int | rxPacketLossRate | ) |
void io.agora.rtc.RtcStats.setRxVideoBytes | ( | int | rxVideoBytes | ) |
void io.agora.rtc.RtcStats.setRxVideoKBitRate | ( | short | rxVideoKBitRate | ) |
void io.agora.rtc.RtcStats.setTxAudioBytes | ( | int | txAudioBytes | ) |
void io.agora.rtc.RtcStats.setTxAudioKBitRate | ( | short | txAudioKBitRate | ) |
void io.agora.rtc.RtcStats.setTxBytes | ( | int | txBytes | ) |
void io.agora.rtc.RtcStats.setTxKBitRate | ( | short | txKBitRate | ) |
void io.agora.rtc.RtcStats.setTxPacketLossRate | ( | int | txPacketLossRate | ) |
void io.agora.rtc.RtcStats.setTxVideoBytes | ( | int | txVideoBytes | ) |
void io.agora.rtc.RtcStats.setTxVideoKBitRate | ( | short | txVideoKBitRate | ) |
void io.agora.rtc.RtcStats.setUserCount | ( | int | userCount | ) |