Skip to content

Commit

Permalink
Remove RTCNetworkType and networkType fields (#521)
Browse files Browse the repository at this point in the history
  • Loading branch information
youennf authored and henbos committed Dec 12, 2019
1 parent 432f1d5 commit 6bf1c53
Showing 1 changed file with 0 additions and 130 deletions.
130 changes: 0 additions & 130 deletions webrtc-stats.html
Original file line number Diff line number Diff line change
Expand Up @@ -3795,7 +3795,6 @@ <h3>
<div>
<pre class="idl">dictionary RTCIceCandidateStats : RTCStats {
DOMString transportId;
RTCNetworkType networkType;
DOMString? address;
long port;
DOMString protocol;
Expand All @@ -3820,28 +3819,6 @@ <h2>
produce the <code>RTCTransportStats</code> associated with this candidate.
</p>
</dd>
<dt>
<dfn><code>networkType</code></dfn> of type <span class=
"idlMemberType"><a>RTCNetworkType</a></span>
</dt>
<dd>
<p>
Represents the type of network interface used by the base of a local candidate
(the address the ICE agent sends from). Only present for local candidates; it's
not possible to know what type of network interface a remote candidate is using.
</p>
<div class="note">
This stat only tells you about the network interface used by the first "hop";
it's possible that a connection will be bottlenecked by another type of network.
For example, when using Wi-Fi tethering, the <code>networkType</code> of the
relevant candidate would be <code>"wifi"</code>, even when the next hop is over a
cellular connection.
</div>
<p class="fingerprint">
This reveals information that would otherwise not be available to web pages,
which increases the fingerprint surface.
</p>
</dd>
<dt>
<dfn><code>address</code></dfn> of type <span class=
"idlMemberType">DOMString</span>
Expand Down Expand Up @@ -3929,103 +3906,6 @@ <h2>
</dl>
</section>
</div>
<section>
<h3>
<dfn>RTCNetworkType</dfn> enum
</h3>
<div>
<pre class="idl">
enum RTCNetworkType {
"bluetooth",
"cellular",
"ethernet",
"wifi",
"wimax",
"vpn",
"unknown"
};</pre>
<table data-link-for="RTCNetworkType" data-dfn-for="RTCNetworkType" class="simple">
<tbody>
<tr>
<th colspan="2">
Enumeration description
</th>
</tr>
<tr>
<td>
<dfn><code>bluetooth</code></dfn>
</td>
<td>
<p>
A Bluetooth connection.
</p>
</td>
</tr>
<tr>
<td>
<dfn><code>cellular</code></dfn>
</td>
<td>
<p>
A cellular connection (e.g., EDGE, HSPA, LTE, etc.).
</p>
</td>
</tr>
<tr>
<td>
<dfn><code>ethernet</code></dfn>
</td>
<td>
<p>
An Ethernet connection.
</p>
</td>
</tr>
<tr>
<td>
<dfn><code>wifi</code></dfn>
</td>
<td>
<p>
A Wi-Fi connection.
</p>
</td>
</tr>
<tr>
<td>
<dfn><code>wimax</code></dfn>
</td>
<td>
<p>
A WiMAX connection.
</p>
</td>
</tr>
<tr>
<td>
<dfn><code>vpn</code></dfn>
</td>
<td>
<p>
The connection runs over a VPN. The underlying network type is not available.
</p>
</td>
</tr>
<tr>
<td>
<dfn><code>unknown</code></dfn>
</td>
<td>
<p>
The user agent is unable or unwilling to identify the underlying connection
technology.
</p>
</td>
</tr>
</tbody>
</table>
</div>
</section>
</section>
<section id="candidatepair-dict*">
<h3>
Expand Down Expand Up @@ -4546,7 +4426,6 @@ <h3>
DOMString url;
long port;
DOMString protocol;
RTCNetworkType networkType;
unsigned long totalRequestsSent;
unsigned long totalResponsesReceived;
double totalRoundTripTime;
Expand Down Expand Up @@ -4583,15 +4462,6 @@ <h2>
on the "transport" defined in [RFC5245] section 15.1.
</p>
</dd>
<dt>
<dfn><code>networkType</code></dfn> of type <span class=
"idlMemberType"><a>RTCNetworkType</a></span>
</dt>
<dd>
<p>
Represents the type of network interface used.
</p>
</dd>
<dt>
<dfn><code>totalRequestsSent</code></dfn> of type <span class=
"idlMemberType">unsigned long</span>
Expand Down

0 comments on commit 6bf1c53

Please sign in to comment.