remoteNetworkRTT property
- @JsonKey(name: 'remoteNetworkRTT')
int
remoteNetworkRTT
getter/setter pair
- Field description: round-trip delay (ms) from the SDK to cloud
- This value represents the total time it takes to send a network packet from the SDK to the cloud and then send a network packet back from the cloud to the SDK, i.e.,
the total time it takes for a network packet to go through the linkage of "SDK -> cloud -> SDK".
- The smaller the value, the better. If remoteNetworkRTT is below 50 ms, it means a short audio/video call delay;
if remoteNetworkRTT is above 200 ms, it means a long audio/video call delay.
- It should be explained that remoteNetworkRTT represents the total time spent on the linkage of "SDK -> cloud -> SDK";
therefore, there is no need to distinguish between remoteNetworkUpRTT and remoteNetworkDownRTT .
Implementation
@JsonKey(name: 'remoteNetworkRTT')
int remoteNetworkRTT;