Skip to content

Commit

Permalink
getCapabilities behavior with an unsupported value of kind
Browse files Browse the repository at this point in the history
Fix for Issue #1495
  • Loading branch information
aboba committed Aug 17, 2017
1 parent 945b618 commit af88e79
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions webrtc.html
Expand Up @@ -5189,11 +5189,13 @@ <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. 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 @@ -6127,7 +6129,9 @@ <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. 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 af88e79

Please sign in to comment.