setCameraCapturerConfiguration method

  1. @override
Future<void> setCameraCapturerConfiguration(
  1. CameraCapturerConfiguration config
)

Sets the camera capturer configuration.

For a video call or live broadcast, generally the SDK controls the camera output parameters. When the default camera capture settings do not meet special requirements or cause performance problems, we recommend using this method to set the camera capturer configuration:

Note

Parameter config The camera capturer configuration. See CameraCapturerConfiguration.

Implementation

@override
Future<void> setCameraCapturerConfiguration(
    CameraCapturerConfiguration config) {
  return _invokeMethod(
      'setCameraCapturerConfiguration', {'config': config.toJson()});
}