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