Struct TRTCStatistics
Statistics
Inherited Members
Namespace: trtc
Assembly: cs.temp.dll.dll
Syntax
public struct TRTCStatistics
Fields
appCpu
CPU usage (%) of the current application
Declaration
public UInt32 appCpu
Field Value
Type | Description |
---|---|
UInt32 |
downLoss
Downstream (server-to-client) packet loss rate
The lower the value, the better. 0
indicates excellent network conditions.
If the value is 30
, it indicates that 30% of data packets are lost during downstream data transfer.
Declaration
public UInt32 downLoss
Field Value
Type | Description |
---|---|
UInt32 |
localStatisticsArray
Local audio/video statistics. This parameter is an array that may contain statistics of multiple streams, including the big image, small image, and substream image.
Declaration
public TRTCLocalStatistics[] localStatisticsArray
Field Value
Type | Description |
---|---|
TRTCLocalStatistics[] |
localStatisticsArraySize
Number of elements in localStatisticsArray
Declaration
public UInt32 localStatisticsArraySize
Field Value
Type | Description |
---|---|
UInt32 |
receivedBytes
Total number of bytes received (including signaling and audio/video data)
Declaration
public UInt32 receivedBytes
Field Value
Type | Description |
---|---|
UInt32 |
remoteStatisticsArray
Remote audio/video statistics. This parameter is an array that may contain statistics of multiple streams, including the big image, small image, and substream image.
Declaration
public TRTCRemoteStatistics[] remoteStatisticsArray
Field Value
Type | Description |
---|---|
TRTCRemoteStatistics[] |
remoteStatisticsArraySize
Number of elements in remoteStatisticsArray
Declaration
public UInt32 remoteStatisticsArraySize
Field Value
Type | Description |
---|---|
UInt32 |
rtt
RTT (ms), which is the time it takes for data to travel from the SDK to the Tencent Cloud server and back again. The lower the value, the better.
Generally, an RTT shorter than 50 ms is acceptable. RTT longer than 100 ms means significant call latency.
As upstream and downstream data transfer use the same network link, RTT is the same for the local user and remote users.
Declaration
public UInt32 rtt
Field Value
Type | Description |
---|---|
UInt32 |
sentBytes
Total number of bytes sent (including signaling and audio/video data)
Declaration
public UInt32 sentBytes
Field Value
Type | Description |
---|---|
UInt32 |
systemCpu
CPU usage (%) of the system
Declaration
public UInt32 systemCpu
Field Value
Type | Description |
---|---|
UInt32 |
upLoss
Upstream (client-to-sever) packet loss rate (%)
The lower the value, the better. `0` indicates excellent network conditions. If the value is `30`, it indicates that 30% of data packets are lost during upstream data transfer.
Declaration
public UInt32 upLoss
Field Value
Type | Description |
---|---|
UInt32 |