createCameraControllerForOutputs

suspend fun createCameraControllerForOutputs(    dynamicRange: Long = this.dynamicRange,     outputs: List<Surface> = this.outputs): CameraSessionController

Creates a new capture session with the given outputs.

The capture session of the current CameraSessionController will be closed.

Return

A new CameraSessionController

Parameters

dynamicRange

The dynamic range to use

outputs

The outputs to use. By default it uses the current outputs.