Skip to content

Commit 9f2a0a1

Browse files
authored
Merge pull request #247 from youennf/expectedLatency-option
Adding new RTCConfiguration targetLatency parameter
2 parents a42754b + 38b4cc5 commit 9f2a0a1

File tree

1 file changed

+57
-0
lines changed

1 file changed

+57
-0
lines changed

index.html

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1744,6 +1744,63 @@ <h4>Receive timestamp</h4>
17441744
last packet belonging to this frame was received over the network.
17451745
</p>
17461746
</section>
1747+
<section id="target-latency">
1748+
<h2>
1749+
RTCConfiguration target latency extension
1750+
</h2>
1751+
<p>
1752+
The {{RTCConfiguration}} dictionary is defined in [[WEBRTC]].
1753+
This document extends that dictionary with an additional parameter
1754+
to provide a hint on the latency targeted by the web application.
1755+
</p>
1756+
<pre class="idl">
1757+
enum RTCConfigurationTargetLatency {
1758+
"lowest",
1759+
"none"
1760+
};
1761+
partial dictionary RTCConfiguration {
1762+
RTCConfigurationTargetLatency targetLatency = "lowest";
1763+
};
1764+
</pre>
1765+
<section id="rtcconfiguration-target-latency-attribute">
1766+
<h3>
1767+
RTCConfiguration target latency extension
1768+
</h3>
1769+
<dl data-link-for="RTCConfiguration" data-dfn-for="RTCConfiguration" class="attributes">
1770+
<dt>
1771+
<dfn data-idl>targetLatency</dfn> of type <span class="idlMemberType">{{RTCConfigurationTargetLatency}}</span>
1772+
</dt>
1773+
<dd>
1774+
<p>The latency class targeted by the web application.</p>
1775+
</dd>
1776+
</dl>
1777+
<table data-link-for="RTCConfigurationTargetLatency" data-dfn-for="RTCConfigurationTargetLatency" class="simple">
1778+
<tbody>
1779+
<tr>
1780+
<th colspan="2">Enumeration description (non-normative)</th>
1781+
</tr>
1782+
<tr>
1783+
<td><dfn data-idl>lowest</dfn></td>
1784+
<td>
1785+
<p>
1786+
The User Agent is expected to set up the network link to optimize the connection latency.
1787+
For that purpose, it SHOULD use techniques like network slicing as described in [[?etsi-ts-128-530]] if available.
1788+
</p>
1789+
</td>
1790+
</tr>
1791+
<tr>
1792+
<td><dfn data-idl>none</dfn></td>
1793+
<td>
1794+
<p>
1795+
The User Agent is expected to set up the network link without trying to optimize the connection latency.
1796+
It MAY instead try to optimize for some other purposes like power consumption.
1797+
</p>
1798+
</td>
1799+
</tr>
1800+
</tbody>
1801+
</table>
1802+
</section>
1803+
</section>
17471804
<section class="informative" id="security-considerations">
17481805
<h2>
17491806
Security Considerations

0 commit comments

Comments
 (0)