Skip to navigation

ExtendedVideoConstraints (interface)

Web SDK v5 API reference
View as Markdown

Stream

Interface that represents extended video resolution constraints for a video stream.

Properties

Properties

exact

exact?: number

Number specifying a specific, required, value the property should have to be considered acceptable.

Optional.

ideal

ideal?: number

Number specifying an ideal value for the property. If possible, this value is used, but if it is not possible, the user agent uses the closest possible match.

Optional.

max

max?: number

Number specifying the largest permissible value of the property it describes. If the value cannot remain equal to or less than this value, matching fails.

Optional.

min

min?: number

Number specifying the smallest permissible value of the property it describes. If the value cannot remain equal to or greater than this value, matching fails.

Optional.