W3cubDocs

/Haxe JavaScript

MediaStreamConstraints

package js.html

Available on js

The MediaStreamConstraints dictionary is used when calling getUserMedia() to specify what kinds of tracks should be included in the returned MediaStream, and, optionally, to establish constraints for those tracks' settings.

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

See:

Properties

@:optional audio:Null<EitherType<Bool, MediaTrackConstraints>>

@:optional fake:Null<Bool>

@:optional fakeTracks:Null<Bool>

@:optional peerIdentity:Null<String>

@:optional picture:Null<Bool>

@:optional video:Null<EitherType<Bool, MediaTrackConstraints>>

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