enableCameraAutoExposureFaceMode abstract method

Future<int?> enableCameraAutoExposureFaceMode(
  1. bool enable
)

Valid since v3.56.1

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.

Return value:

  • 0: Success.
  • <0: Failure.

You must call this API before calling RTCVideo.startVideoCapture to enable video capture to make the setting valid.

Implementation

Future<int?> enableCameraAutoExposureFaceMode(bool enable);