setCameraId

@RequiresPermission(value = "android.permission.CAMERA")
suspend fun IWithVideoSource.setCameraId(cameraId: String)

Sets the camera id.

Same as IWithVideoSource.setVideoSource with a CameraSourceFactory.

Parameters

cameraId

the camera id