|
Agora RTC Objective-C API Reference
Refactor
|
Data Fields | |
| unsigned int | duration |
| unsigned int | txBytes |
| unsigned int | rxBytes |
| unsigned int | txAudioBytes |
| unsigned int | txVideoBytes |
| unsigned int | rxAudioBytes |
| unsigned int | rxVideoBytes |
| unsigned short | txKBitRate |
| unsigned short | rxKBitRate |
| unsigned short | rxAudioKBitRate |
| unsigned short | txAudioKBitRate |
| unsigned short | rxVideoKBitRate |
| unsigned short | txVideoKBitRate |
| unsigned short | lastmileDelay |
| unsigned 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 | lanAccelerateState |
|
inline |
| unsigned int duration |
Call duration of the local user in seconds, represented by an aggregate value.
| unsigned int txBytes |
The number of bytes sent.
| unsigned int rxBytes |
The number of bytes received.
| unsigned int txAudioBytes |
The total number of audio bytes sent, represented by an aggregate value.
| unsigned int txVideoBytes |
The total number of video bytes sent, represented by an aggregate value.
| unsigned int rxAudioBytes |
The total number of audio bytes received, represented by an aggregate value.
| unsigned int rxVideoBytes |
The total number of video bytes received, represented by an aggregate value.
| unsigned short txKBitRate |
The actual bitrate (Kbps) while sending the local video stream.
| unsigned short rxKBitRate |
The receiving bitrate (Kbps).
| unsigned short rxAudioKBitRate |
The bitrate (Kbps) of receiving the audio.
| unsigned short txAudioKBitRate |
The bitrate (Kbps) of sending the audio packet.
| unsigned short rxVideoKBitRate |
The bitrate (Kbps) of receiving the video.
| unsigned short txVideoKBitRate |
The bitrate (Kbps) of sending the video.
| unsigned short lastmileDelay |
The client-to-server delay (milliseconds).
| unsigned int userCount |
The number of users in the channel.
| double cpuAppUsage |
Application CPU usage (%).
cpuAppUsage is always reported as 0 in the onLeaveChannel callback.| double cpuTotalUsage |
The system CPU usage (%). For Windows, in the multi-kernel environment, this member represents the average CPU usage. The value = (100 - System Idle Progress in Task Manager)/100.
cpuTotalUsage is always reported as 0 in the onLeaveChannel callback.| int gatewayRtt |
The round-trip time delay (ms) from the client to the local router.
technical support. On Android, to get gatewayRtt, ensure that you add the android.permission.ACCESS_WIFI_STATE permission after </application> in the AndroidManifest.xml file in your project. | double memoryAppUsageRatio |
The memory ratio occupied by the app (%).
| double memoryTotalUsageRatio |
The memory occupied by the system (%).
| int memoryAppUsageInKbytes |
The memory size occupied by the app (KB).
| int connectTimeMs |
The duration (ms) between the SDK starts connecting and the connection is established. If the value reported is 0, it means invalid.
| int firstAudioPacketDuration |
The duration (ms) between the app starting connecting to an Agora channel and the first audio packet is received. 0 indicates that this member does not apply.
| int firstVideoPacketDuration |
The duration (ms) between the app starting connecting to an Agora channel and the first video packet is received. 0 indicates that this member does not apply.
| int firstVideoKeyFramePacketDuration |
The duration (ms) between the app starting connecting to an Agora channel and the first video key frame is received. 0 indicates that this member does not apply.
| int packetsBeforeFirstKeyFramePacket |
The number of video packets before the first video key frame is received. 0 indicates that this member does not apply.
| int firstAudioPacketDurationAfterUnmute |
The duration (ms) between the last time unmute audio and the first audio packet is received. 0 indicates that this member does not apply.
| int firstVideoPacketDurationAfterUnmute |
The duration (ms) between the last time unmute video and the first video packet is received. 0 indicates that this member does not apply.
| int firstVideoKeyFramePacketDurationAfterUnmute |
The duration (ms) between the last time unmute video and the first video key frame is received. 0 indicates that this member does not apply.
| int firstVideoKeyFrameDecodedDurationAfterUnmute |
The duration (ms) between the last time unmute video and the first video key frame is decoded. 0 indicates that this member does not apply.
| int firstVideoKeyFrameRenderedDurationAfterUnmute |
The duration (ms) between the last time unmute video and the first video key frame is rendered. 0 indicates that this member does not apply.
| int txPacketLossRate |
The packet loss rate (%) from the client to the Agora server before applying the anti-packet-loss algorithm.
| int rxPacketLossRate |
The packet loss rate (%) from the Agora server to the client before using the anti-packet-loss method.
| int lanAccelerateState |
The local network acceleration state. A value of 1 indicates that local network acceleration is active, while 0 indicates it is inactive. @technical preview