CameraPreview

fun CameraPreview(cameraPosition: CameraPosition, modifier: Modifier = Modifier, mirror: Boolean = false)

A standalone camera preview composable that can be used without a Room object.

Due to hardware limitations, this should not be used while any camera is in use, or it may fail.

If using this outside of a RoomScope, ensure that LiveKit.init is called prior to use (e.g. in your Application's onCreate method).