getConstraints()
method of the MediaStreamTrack
interface returns a MediaTrackConstraints
object containing the set of constraints most recently established for the track using a prior call to applyConstraints()
. These constraints indicate values and ranges of values that the Web site or application has specified are acceptable for the included constrainable properties.