lastmileQuality property

NetworkQualityCallback? lastmileQuality
getter/setter pair

Reports the last mile network quality of the local user once every two seconds before the user joins the channel. Last mile refers to the connection between the local device and Agora's edge server. After the application calls the RtcEngine.enableLastmileTest method, this callback reports once every two seconds the uplink and downlink last mile network conditions of the local user before the user joins the channel.

The NetworkQualityCallback typedef includes the following parameter:

  • NetworkQuality quality: The last mile network quality based on the uplink and downlink packet loss rate and jitter.

Implementation

NetworkQualityCallback? lastmileQuality;