setCameraCapturerConfiguration method Null safety

Future<void> setCameraCapturerConfiguration(
  1. CameraCapturerConfiguration config
)

Sets The camera capture 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 capture configuration. See CameraCapturerConfiguration.

Implementation

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