setCameraCapturerConfiguration abstract method
Sets the camera capture configuration.
Before adjusting the camera focal length configuration, it is recommended to call queryCameraFocalLengthCapability to check the supported focal length capabilities of the device, and then configure accordingly. Due to limitations of some Android devices, the configuration may not take effect even if you set the focal length type based on the result of queryCameraFocalLengthCapability.
configCamera capture configuration. See CameraCapturerConfiguration. You do not need to set the deviceId parameter in this method.
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. See Error Codes for details and resolution suggestions. < 0: Method call failed. See Error Codes for details and resolution suggestions.
Implementation
Future<void> setCameraCapturerConfiguration(
CameraCapturerConfiguration config);