Skip to content

Commit

Permalink
use MediaTrackSettings to describe the list of supported constraints
Browse files Browse the repository at this point in the history
  • Loading branch information
dontcallmedom committed Mar 10, 2015
1 parent 79b3de4 commit 410ff73
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions getusermedia.html
Original file line number Diff line number Diff line change
Expand Up @@ -3015,15 +3015,15 @@ <h3>MediaDevices Interface Extensions</h3>
recognizes.</p>

<dl class="idl" title="partial interface MediaDevices">
<dt>static Dictionary getSupportedConstraints(DOMString kind)</dt>
<dt>static MediaTrackSettings getSupportedConstraints(DOMString kind)</dt>

<dd>
<p>Returns a dictionary whose members are the constrainable properties
<p>Returns an object whose members are the constrainable properties
known to the User Agent for the kind given as argument. A
supported constrainable property MUST be represented by a member whose name is
the constraint name and whose value is <code>true</code>. Any
the constraint name and whose value is truthy. Any
constrainable properties not supported by the User Agent MUST not be
present in the returned dictionary.</p>
present in the returned object.</p>
</dd>

<dt>Promise&lt;MediaStream&gt; getUserMedia(
Expand Down

0 comments on commit 410ff73

Please sign in to comment.