VideoCaptureParameter

data class VideoCaptureParameter @JvmOverloads constructor(val width: Int, val height: Int, val maxFps: Int, val adaptOutputToDimensions: Boolean = true)

Constructors

Link copied to clipboard
constructor(width: Int, height: Int, maxFps: Int, adaptOutputToDimensions: Boolean = true)

Properties

Link copied to clipboard

Sometimes the capturer may not support the exact desired dimensions requested. If this is enabled, it will scale down and crop the captured frames to the same aspect ratio as width:height.

Link copied to clipboard
val height: Int

Desired height.

Link copied to clipboard
val maxFps: Int

Capture frame rate.

Link copied to clipboard
val width: Int

Desired width.