Struct ReliableUtility.RTTInfo
RTT (round-trip time) information tracked internally by the reliable pipeline stage. Can be read from the ReliableUtility.SharedContext, which itself can be obtained through the GetPipelineBuffers(NetworkPipeline, NetworkPipelineStageId, NetworkConnection, out NativeArray<byte>, out NativeArray<byte>, out NativeArray<byte>) method.
Inherited Members
Namespace: Unity.Networking.Transport.Utilities
Assembly: Unity.Networking.Transport.dll
Syntax
public struct ReliableUtility.RTTInfoFields
LastRtt
RTT of the last packet acknowledged.
Declaration
public int LastRttField Value
| Type | Description | 
|---|---|
| int | RTT in milliseconds. | 
ResendTimeout
Timeout used to resend unacknowledged packets.
Declaration
public int ResendTimeoutField Value
| Type | Description | 
|---|---|
| int | Resend timeout in milliseconds. | 
SmoothedRtt
Smoothed RTT of the last packets acknowledged.
Declaration
public float SmoothedRttField Value
| Type | Description | 
|---|---|
| float | Smoothed RTT in milliseconds. | 
SmoothedVariance
Variance of the smoothed RTT.
Declaration
public float SmoothedVarianceField Value
| Type | Description | 
|---|---|
| float | Smoothed RTT variance in milliseconds. |