VideoMediaTrackSettings

@Serializable
data class VideoMediaTrackSettings

Settings used to select and configure a video input device.

Properties

Link copied to clipboard
val deviceId: String? = null

Selected device ID. If omitted, no device has yet been selected.

Link copied to clipboard
val facingMode: FacingMode

Select camera facing mode, as defined in MediaTrackConstraints.

Link copied to clipboard
val frameRate: Int

Video framerate.

Link copied to clipboard
val height: Int

Video height.

Link copied to clipboard
val processor: VideoProcessor?

The choice of video processor.

Link copied to clipboard
val torch: Boolean

Whether the camera flashlight is enabled.

Link copied to clipboard
val width: Int

Video width.

Link copied to clipboard
val zoom: Double

The zoom ratio of the camera.