Class MediaTrackConstraints
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
The MediaTrackConstraints dictionary is used to describe a set of capabilities and the value or values each can take on. A constraints dictionary is passed into ApplyConstraints(MediaTrackConstraints) to allow a script to establish a set of exact (required) values or ranges and/or preferred values or ranges of values for the track, and the most recently-requested set of custom constraints can be retrieved by calling GetConstraints().
[ToObject]
public class MediaTrackConstraints : MediaTrackConstraintSet
- Inheritance
-
MediaTrackConstraints
- Inherited Members
Remarks
-Media Capture and Streams API
-Capabilities, constraints, and settings
-Screen Capture API
-Using the Screen Capture API
-GetUserMedia(MediaStreamConstraints)
-GetConstraints()
-ApplyConstraints(MediaTrackConstraints)
-GetSupportedConstraints()
-MediaTrackSupportedConstraints
-GetSettings()
Constructors
MediaTrackConstraints()
public MediaTrackConstraints()
Fields
Advanced
[Value("advanced")]
public List<MediaTrackConstraintSet> Advanced