VideoMediaTrackSettingsUpdate

@Serializable
data class VideoMediaTrackSettingsUpdate(deviceId: Update<Device>?, width: Update<Width>?, height: Update<Height>?, frameRate: Update<FrameRate>?, facingMode: Update<FacingModeUpdate>?, torch: Update<Torch>?, zoom: Update<ZoomRatio>?, processor: Update<VideoProcessor>?) : Update<VideoMediaTrackSettingsUpdate>

Settings used to select and configure a video input device.

A number of common selection options are available, and custom MediaTrackConstraints can be specified for compatibility.

Constructors

Link copied to clipboard
fun VideoMediaTrackSettingsUpdate(deviceId: Update<Device>? = null, width: Update<Width>? = null, height: Update<Height>? = null, frameRate: Update<FrameRate>? = null, facingMode: Update<FacingModeUpdate>? = null, torch: Update<Torch>? = null, zoom: Update<ZoomRatio>? = null, processor: Update<VideoProcessor>? = null)

Types

Link copied to clipboard
class Builder

Properties

Link copied to clipboard
val deviceId: Update<Device>? = null

Device ID to select.

Link copied to clipboard
val facingMode: Update<FacingModeUpdate>? = null

Desired video facing mode.

Link copied to clipboard
val frameRate: Update<FrameRate>? = null

Desired video framerate.

Link copied to clipboard
val height: Update<Height>? = null

Desired video height.

Link copied to clipboard
val processor: Update<VideoProcessor>? = null

The choice of video processor.

Link copied to clipboard
val torch: Update<Torch>? = null

Whether the camera flashlight is enabled.

Link copied to clipboard
val width: Update<Width>? = null

Desired video width.

Link copied to clipboard
val zoom: Update<ZoomRatio>? = null

The zoom ratio of the camera.