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.RTTInfo
Fields
LastRtt
RTT of the last packet acknowledged.
Declaration
public int LastRtt
Field Value
Type | Description |
---|---|
int | RTT in milliseconds. |
ResendTimeout
Timeout used to resend unacknowledged packets.
Declaration
public int ResendTimeout
Field Value
Type | Description |
---|---|
int | Resend timeout in milliseconds. |
SmoothedRtt
Smoothed RTT of the last packets acknowledged.
Declaration
public float SmoothedRtt
Field Value
Type | Description |
---|---|
float | Smoothed RTT in milliseconds. |
SmoothedVariance
Variance of the smoothed RTT.
Declaration
public float SmoothedVariance
Field Value
Type | Description |
---|---|
float | Smoothed RTT variance in milliseconds. |