rtcEngine$onHardwareEchoDetectionResult method
- ByteRTCEngine engine,
- ByteRTCHardwareEchoDetectionResult result
@detail callback
@brief Callback that notifies you the result of the echo detection before a call
@param engine ByteRTCEngine object.
@param result Refer to ByteRTCHardwareEchoDetectionResult{@link #ByteRTCHardwareEchoDetectionResult} for more details.
@note
- This callback notifies you the result of the echo detection by calling startHardwareEchoDetection:{@link #ByteRTCEngine#startHardwareEchoDetection}.
- We recommend to call stopHardwareEchoDetection{@link #ByteRTCEngine#stopHardwareEchoDetection} to stop the detection.
- Listen to ByteRTCMediaDeviceWarningDetectLeakEcho in the callback of rtcEngine:onAudioDeviceWarning:deviceType:deviceWarning:{@link #ByteRTCEngineDelegate#rtcEngine:onAudioDeviceWarning:deviceType:deviceWarning} for the echo issue during a call.
Implementation
FutureOr<void> rtcEngine$onHardwareEchoDetectionResult(
ByteRTCEngine engine, ByteRTCHardwareEchoDetectionResult result) async {}