W3cubDocs

/Haxe JavaScript

MediaTrackSupportedConstraints

package js.html

Available on js

The MediaTrackSupportedConstraints dictionary establishes the list of constrainable properties recognized by the user agent or browser in its implementation of the MediaStreamTrack object. An object conforming to MediaTrackSupportedConstraints is returned by MediaDevices.getSupportedConstraints().

Documentation MediaTrackSupportedConstraints by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See also:

Fields

optionalwidth:Null<Bool>

A Boolean value whose value is true if the width constraint is supported in the current environment.

optionalvolume:Null<Bool>

A Boolean value whose value is true if the volume constraint is supported in the current environment.

optionalviewportWidth:Null<Bool>

optionalviewportOffsetY:Null<Bool>

optionalviewportOffsetX:Null<Bool>

optionalviewportHeight:Null<Bool>

optionalscrollWithPage:Null<Bool>

optionalsampleSize:Null<Bool>

A Boolean value whose value is true if the sampleSize constraint is supported in the current environment.

optionalsampleRate:Null<Bool>

A Boolean value whose value is true if the sampleRate constraint is supported in the current environment.

optionalnoiseSuppression:Null<Bool>

A Boolean whose value is true if the noiseSuppression constraint is supported in the current environment.

optionalmediaSource:Null<Bool>

optionallatency:Null<Bool>

A Boolean value whose value is true if the latency constraint is supported in the current environment.

optionalheight:Null<Bool>

A Boolean value whose value is true if the height constraint is supported in the current environment.

optionalgroupId:Null<Bool>

A Boolean value whose value is true if the groupId constraint is supported in the current environment.

optionalframeRate:Null<Bool>

A Boolean value whose value is true if the frameRate constraint is supported in the current environment.

optionalfacingMode:Null<Bool>

A Boolean value whose value is true if the facingMode constraint is supported in the current environment.

optionalechoCancellation:Null<Bool>

A Boolean value whose value is true if the echoCancellation constraint is supported in the current environment.

optionaldeviceId:Null<Bool>

A Boolean value whose value is true if the deviceId constraint is supported in the current environment.

optionalchannelCount:Null<Bool>

A Boolean value whose value is true if the channelCount constraint is supported in the current environment.

optionalbrowserWindow:Null<Bool>

optionalautoGainControl:Null<Bool>

A Boolean whose value is true if the autoGainControl constraint is supported in the current environment.

optionalaspectRatio:Null<Bool>

A Boolean value whose value is true if the aspectRatio constraint is supported in the current environment.

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/MediaTrackSupportedConstraints.html