Struct TRTCStatistics
统计数据
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: trtc
Assembly: cs.temp.dll.dll
Syntax
public struct TRTCStatistics
Fields
appCpu
当前 App 的 CPU 使用率(%)
Declaration
public UInt32 appCpu
Field Value
Type | Description |
---|---|
UInt32 |
downLoss
S -> C 下行丢包率(%), 该值越小越好,例如,丢包率为0表示网络很好, 丢包率为30@%则意味着 SDK 向服务器发送的数据包中会有30@%丢失在下行传输中。
Declaration
public UInt32 downLoss
Field Value
Type | Description |
---|---|
UInt32 |
localStatisticsArray
本地的音视频统计信息,可能有主画面、小画面以及辅路画面等多路的情况,因此是一个数组
Declaration
public TRTCLocalStatistics[] localStatisticsArray
Field Value
Type | Description |
---|---|
TRTCLocalStatistics[] |
localStatisticsArraySize
数组 localStatisticsArray 的大小
Declaration
public UInt32 localStatisticsArraySize
Field Value
Type | Description |
---|---|
UInt32 |
receivedBytes
总接收字节数(包含信令和音视频)
Declaration
public UInt32 receivedBytes
Field Value
Type | Description |
---|---|
UInt32 |
remoteStatisticsArray
远端成员的音视频统计信息,可能有主画面、小画面以及辅路画面等多路的情况,因此是一个数组
Declaration
public TRTCRemoteStatistics[] remoteStatisticsArray
Field Value
Type | Description |
---|---|
TRTCRemoteStatistics[] |
remoteStatisticsArraySize
数组 remoteStatisticsArray 的大小
Declaration
public UInt32 remoteStatisticsArraySize
Field Value
Type | Description |
---|---|
UInt32 |
rtt
延迟(毫秒),指 SDK 到腾讯云服务器的一次网络往返时间,该值越小越好。
一般低于50ms的 rtt 相对理想,而高于100ms的 rtt 会引入较大的通话延时。
由于数据上下行共享一条网络连接,所以 local 和 remote 的 rtt 相同。
Declaration
public UInt32 rtt
Field Value
Type | Description |
---|---|
UInt32 |
sentBytes
总发送字节总数(包含信令和音视频)
Declaration
public UInt32 sentBytes
Field Value
Type | Description |
---|---|
UInt32 |
systemCpu
当前系统的 CPU 使用率(%)
Declaration
public UInt32 systemCpu
Field Value
Type | Description |
---|---|
UInt32 |
upLoss
C -> S 上行丢包率(%),
该值越小越好,例如,丢包率为0表示网络很好, 丢包率为30@%则意味着 SDK 向服务器发送的数据包中会有30@%丢失在上行传输中。
Declaration
public UInt32 upLoss
Field Value
Type | Description |
---|---|
UInt32 |