gatewayRtt property

  1. @JsonKey(name: 'gatewayRtt')
int gatewayRtt
getter/setter pair
  • Field description: round-trip delay (ms) from the SDK to gateway
  • This value represents the total time it takes to send a network packet from the SDK to the gateway and then send a network packet back from the gateway to the SDK, i.e., the total time it takes for a network packet to go through the linkage of "SDK -> gateway -> SDK".
  • The smaller the value, the better. If gatewayRtt is below 50 ms, it means a short audio/video call delay; if gatewayRtt is above 200 ms, it means a long audio/video call delay.
  • It should be explained that gatewayRtt is invalid for cellular network.

Implementation

@JsonKey(name: 'gatewayRtt')
int gatewayRtt;