Interface ConstrainLong

Specifies a constraint for a property, such as the resolution or bitrate for video capture in VideoEncoderConfiguration.

Hierarchy

  • ConstrainLong

Index

Properties

Properties

Optional exact

exact: number

A required value of a property. If the video capture device cannot output this value, the video capture fails.

Optional ideal

ideal: number

An ideal value of a property. If the video capture device cannot output this value, it outputs the closest value instead.

Optional max

max: number

The upper limit of the property.

Optional min

min: number

The lower limit of the property.