Skip to content

Commit

Permalink
Merge pull request #1541 from w3c/issue-1495-patch
Browse files Browse the repository at this point in the history
getCapabilities behavior with an unsupported value of kind
  • Loading branch information
aboba committed Aug 24, 2017
2 parents 60032cb + f5c3b74 commit 4a852b1
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions webrtc.html
Expand Up @@ -5223,11 +5223,15 @@ <h2>Methods</h2>
<dt><code>getCapabilities</code>, static</dt>
<dd>
<p>The <dfn>getCapabilities()</dfn>
method returns the most optimist view on the capabilities of the
method returns the most optimistic view of the capabilities of the
system for sending media of the given kind. It does not reserve
any resources, ports, or other state but is meant to provide a
way to discover the types of capabilities of the browser
including which codecs may be supported.</p>
including which codecs may be supported. User agents
MUST support <var>kind</var> values of <code>"audio"</code>
and <code>"video"</code>. If the system has no capabilities
corresponding to the value of the <var>kind</var>
argument, <code>getCapabilities</code> returns <code>null</code>.</p>
<p class="fingerprint">These capabilities provide generally
persistent cross-origin information on the device and thus
increases the fingerprinting surface of the application. In
Expand Down Expand Up @@ -6161,7 +6165,11 @@ <h2>Methods</h2>
the system for receiving media of the given kind. It does not
reserve any resources, ports, or other state but is meant to
provide a way to discover the types of capabilities of the
browser including which codecs may be supported.</p>
browser including which codecs may be supported. User agents
MUST support <var>kind</var> values of <code>"audio"</code>
and <code>"video"</code>. If the system has no capabilities
corresponding to the value of the <var>kind</var> argument,
<code>getCapabilities</code> returns <code>null</code>.</p>
<p class="fingerprint">These capabilities provide generally
persistent cross-origin information on the device and thus
increases the fingerprinting surface of the application. In
Expand Down

0 comments on commit 4a852b1

Please sign in to comment.