VideoTrackConstraints

data class VideoTrackConstraints(val width: Int? = null, val height: Int? = null, val frameRate: Int? = null, val aspectRatio: Double? = null, val facingMode: WebRtcMedia.FacingMode? = null, val resizeMode: WebRtcMedia.ResizeMode? = null)(source)

Constraints for video tracks.

See also

Constructors

Link copied to clipboard
constructor(width: Int? = null, height: Int? = null, frameRate: Int? = null, aspectRatio: Double? = null, facingMode: WebRtcMedia.FacingMode? = null, resizeMode: WebRtcMedia.ResizeMode? = null)

Properties

Link copied to clipboard
val aspectRatio: Double? = null

The aspect ratio of the video.

Link copied to clipboard

The camera-facing mode.

Link copied to clipboard
val frameRate: Int? = null

The frame rate of the video.

Link copied to clipboard
val height: Int? = null

The height of the video in pixels.

Link copied to clipboard

The resize mode for the video. Not supported for Android.

Link copied to clipboard
val width: Int? = null

The width of the video in pixels.