stopHardwareEchoDetection abstract method
Stops the echo detection before joining a room.
Return value:
- 0: Success.
- -1: Failure.
Notes:
- Refer to startHardwareEchoDetection for information on how to start a echo detection.
- We recommend calling this API to stop the detection once getting the detection result from RTCVideoEventHandler.onHardwareEchoDetectionResult.
- You must stop the echo detection to release the audio devices before the user joins a room. Otherwise, the detection may interfere with the call.
Implementation
Future<int?> stopHardwareEchoDetection();