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

audio:Null<EitherType<Bool, MediaTrackConstraints>>

fake:Null<Bool>

fakeTracks:Null<Bool>

peerIdentity:Null<String>

picture:Null<Bool>

video:Null<EitherType<Bool, MediaTrackConstraints>>

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