setVideoDenoiser method

FutureOr<int> setVideoDenoiser(
  1. ByteRTCVideoDenoiseMode mode
)

@hidden not available @detail api @hiddensdk(audiosdk) @author Yujianli @brief Sets the video noise reduction mode. @param mode Video noise reduction mode. Refer to ByteRTCVideoDenoiseMode{@link #ByteRTCVideoDenoiseMode} for more details. @return - 0: Success. Please refer to rtcEngine:onVideoDenoiseModeChanged:withReason:{@link #ByteRTCEngineDelegate#rtcEngine:onVideoDenoiseModeChanged:withReason} callback for the actual state of video noise reduction mode. - < 0: Failure.

Implementation

FutureOr<int> setVideoDenoiser(ByteRTCVideoDenoiseMode mode) async {
  return await nativeCall('setVideoDenoiser:', [mode.$value]);
}