setCameraCapturerConfiguration abstract method

Future<void> setCameraCapturerConfiguration(
  1. CameraCapturerConfiguration config
)

Sets the camera capture configuration.

  • config The camera capture configuration. See CameraCapturerConfiguration. In this method, you do not need to set the deviceId parameter.

Returns When the method call succeeds, there is no return value; when fails, the AgoraRtcException exception is thrown. You need to catch the exception and handle it accordingly. < 0: Failure.

Implementation

Future<void> setCameraCapturerConfiguration(
    CameraCapturerConfiguration config);