VideoSelector class

Specifies a particular video stream within an input source. An input may have only a single video selector.

Constructors

VideoSelector({VideoSelectorColorSpace? colorSpace, VideoSelectorColorSpaceUsage? colorSpaceUsage, VideoSelectorSettings? selectorSettings})
VideoSelector.fromJson(Map<String, dynamic> json)
factory

Properties

colorSpace VideoSelectorColorSpace?
Specifies the color space of an input. This setting works in tandem with colorSpaceUsage and a video description's colorSpaceSettingsChoice to determine if any conversion will be performed.
final
colorSpaceUsage VideoSelectorColorSpaceUsage?
Applies only if colorSpace is a value other than follow. This field controls how the value in the colorSpace field will be used. fallback means that when the input does include color space data, that data will be used, but when the input has no color space data, the value in colorSpace will be used. Choose fallback if your input is sometimes missing color space data, but when it does have color space data, that data is correct. force means to always use the value in colorSpace. Choose force if your input usually has no color space data or might have unreliable color space data.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectorSettings VideoSelectorSettings?
The video selector settings.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited