resolveConstraints

abstract suspend fun resolveConstraints(device: CameraDevice, outputConfigurations: List<CameraOutputConfiguration>, constraints: List<Constraint>, requiresMultiCam: Boolean = false): CameraSessionConfig

Resolves the given constraints to a fully validated CameraSessionConfig respecting the given device's capabilities negotiated with the given outputConfigurations.

The constraints are ranked by priority in the order they are passed, descending.