Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebIDL for supported constraints #146

Merged
merged 5 commits into from Mar 19, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
58 changes: 57 additions & 1 deletion getusermedia.html
Expand Up @@ -1319,6 +1319,62 @@ <h2>Track Source Types</h2>
</dl>
</section>

<section id="media-track-supported-constraints">
<h2>MediaTrackSupportedConstraints</h2>

<p><code><a>MediaTrackSupportedConstraints</a></code> represents the
list of constraints recognized by a User Agent for controlling the
<a>Capabilities</a> of a <code><a>MediaStreamTrack</a></code> object.
</p>

<dl class="idl" title="dictionary MediaTrackSupportedConstraints">
<dt>boolean width</dt>

<dd />

<dt>boolean height</dt>

<dd />

<dt>boolean aspectRatio</dt>

<dd />

<dt>boolean frameRate</dt>

<dd />

<dt>boolean facingMode</dt>

<dd />

<dt>boolean volume</dt>

<dd />

<dt>boolean sampleRate</dt>

<dd />

<dt>boolean sampleSize</dt>

<dd />

<dt>boolean echoCancellation</dt>

<dd />

<dt>boolean deviceId</dt>

<dd />

<dt>boolean groupId</dt>

<dd />
</dl>

</section>

<section id="media-track-capabilities">
<h2>MediaTrackCapabilities</h2>

Expand Down Expand Up @@ -3019,7 +3075,7 @@ <h3>MediaDevices Interface Extensions</h3>
recognizes.</p>

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

<dd>
<p>Returns a dictionary whose members are the constrainable properties
Expand Down