package js.html
Available on jsThe
MediaTrackConstraintsdictionary is used to describe a set of capabilities and the value or values each can take on. A constraints dictionary is passed intoapplyConstraints()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 callinggetConstraints().Documentation MediaTrackConstraints by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See:
advanced:Null<Array<MediaTrackConstraintSet>> browserWindow:Null<Int> deviceId:Null<EitherType<String, EitherType<Array<String>, Dynamic>>> echoCancellation:Null<EitherType<Bool, Dynamic>> facingMode:Null<EitherType<String, EitherType<Array<String>, Dynamic>>> frameRate:Null<EitherType<Float, Dynamic>> height:Null<EitherType<Int, Dynamic>> mediaSource:Null<String> scrollWithPage:Null<Bool> viewportHeight:Null<EitherType<Int, Dynamic>> viewportOffsetX:Null<EitherType<Int, Dynamic>> viewportOffsetY:Null<EitherType<Int, Dynamic>> viewportWidth:Null<EitherType<Int, Dynamic>> width:Null<EitherType<Int, Dynamic>>
© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/MediaTrackConstraints.html