enableLastmileTest method

  1. @override
Future<void> enableLastmileTest()

Enables the network connection quality test.

This method tests the quality of the users' network connections and is disabled by default.

Before users join a channel or before an audience switches to a host, call this method to check the uplink network quality. This method consumes additional network traffic, which may affect the communication quality. Call the RtcEngine.disableLastmileTest method to disable this test after receiving the RtcEngineEventHandler.lastmileQuality callback, and before the user joins a channel or switches the user role.

Note

Implementation

@override
Future<void> enableLastmileTest() {
  return _invokeMethod('enableLastmileTest');
}