How to Check the Round-trip Time (Ping)

Some online games are sensitive to the network latency. Many games use a metric called round-trip time (or ping), that indicates some overall communication delay between the game client and the server.

Strix Unreal SDK calculates this metric for each channel and exposes it to scripts through GetSyncRTT function. Each channel may show a different RTT. It is often best to get the RTT from the primary channel for object synchronization to know the game’s effective RTT value.

Example:

Using GetSyncRTT function in a script

Note

GetSyncRTT returns the round-tip time in milliseconds.