enableCameraAutoExposureFaceMode method

FutureOr<int> enableCameraAutoExposureFaceMode(
  1. boolean enable
)

@valid since 353 @detail api @author yinkaisheng @brief Enable or disable face auto exposure mode during internal video capture. This mode fixes the problem that the face is too dark under strong backlight; but it will also cause the problem of too bright/too dark in the area outside the ROI region. @param enable Whether to enable the mode. True by default for iOS, False by default for Android. @return - 0: Success. - < 0: Failure. @note You must call this API before calling startVideoCapture{@link #RTCEngine#startVideoCapture} to enable internal capture to make the setting valid.

Implementation

FutureOr<int> enableCameraAutoExposureFaceMode(boolean enable) async {
  return await nativeCall('enableCameraAutoExposureFaceMode', [enable]);
}