VideoMediaTrackSettingsUpdate

@Serializable
data class VideoMediaTrackSettingsUpdate(val deviceId: Update<Device>? = null, val width: Update<Width>? = null, val height: Update<Height>? = null, val frameRate: Update<FrameRate>? = null, val facingMode: Update<FacingModeUpdate>? = null, val torch: Update<Torch>? = null, val zoom: Update<ZoomRatio>? = null, val processor: Update<VideoProcessor>? = null) : 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
constructor(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

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

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.