onHardwareEchoDetectionResult method

FutureOr<void> onHardwareEchoDetectionResult(
  1. HardwareEchoDetectionResult hardwareEchoDetectionResult
)

@detail callback @author zhangcaining @brief 通话前回声检测结果回调。 @param hardwareEchoDetectionResult 参见 HardwareEchoDetectionResult{@link #HardwareEchoDetectionResult} @note - 通话前调用 startHardwareEchoDetection{@link #RTCEngine#startHardwareEchoDetection} 后,将触发本回调返回检测结果。 - 建议在收到检测结果后,调用 stopHardwareEchoDetection{@link #RTCEngine#stopHardwareEchoDetection} 停止检测,释放对音频设备的占用。 - 如果 SDK 在通话中检测到回声,将通过 onAudioDeviceWarning{@link #IRTCEngineEventHandler#onAudioDeviceWarning} 回调 MEDIA_DEVICE_WARNING_DETECT_LEAK_ECHO

Implementation

FutureOr<void> onHardwareEchoDetectionResult(
    HardwareEchoDetectionResult hardwareEchoDetectionResult) async {}