createCameraSession

abstract suspend fun createCameraSession(enableMultiCam: Boolean): CameraSession

Creates a new CameraSession.

If enableMultiCam is true, the session supports attaching multiple CameraDevices as inputs at the same time. Otherwise, it only supports a single CameraDevice input at a time.

Throws