startEchoTest abstract method

Future<void> startEchoTest({
  1. int? intervalInSeconds,
  2. EchoTestConfiguration? config,
})

Starts an audio call test. This method starts an audio call test to determine whether the audio devices (for example, headset and speaker) and the network connection are working properly. To conduct the test, let the user speak for a while, and the recording is played back within the set interval. If the user can hear the recording within the interval, the audio devices and network connection are working properly. Call this method before joining a channel. After calling stopEchoTest , you must call startEchoTest to end the test. Otherwise, the app cannot perform the next echo test, and you cannot join the channel. In the live streaming channels, only a host can call this method.

Param intervalInSeconds The time interval (s) between when you speak and when the recording plays back.

Implementation

Future<void> startEchoTest(
    {int? intervalInSeconds, EchoTestConfiguration? config});