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

Addressing issues with RTCRtpEncodingParameters.adaptivePtime #89

Merged
merged 7 commits into from Nov 18, 2021
Merged
Changes from 6 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
25 changes: 13 additions & 12 deletions index.html
Expand Up @@ -450,9 +450,9 @@ <h3>
RTCRtpEncodingParameters extensions
</h3>
<p>
The {{RTCRtpEncodingParameters}}
dictionary is defined in [[WEBRTC]]. This document extends that dictionary
by adding an additional boolean flag.
The {{RTCRtpEncodingParameters}} dictionary is defined in
[[WEBRTC]]. This document extends that dictionary with
additional members.
</p>
<pre class="idl">partial dictionary RTCRtpEncodingParameters {
boolean adaptivePtime = false;
Expand All @@ -463,17 +463,18 @@ <h2>Dictionary {{RTCRtpEncodingParameters}} Members</h2>
<dt><dfn data-idl>adaptivePtime</dfn> of type <span class="idlMemberType">boolean</span>, defaulting to <code>false</code>.</dt>
<dd>
<p>Indicates whether this encoding MAY dynamically change
the frame length. If the value is <code>true</code>,
the user agent MAY use any valid frame length for any of its
frames, and MAY change this at any time. Valid values are multiples
of 10ms. If the <code>maxptime</code> attribute (defined in
[[RFC4566]] Section 6) is specified, that maximum applies.
<a data-cite="WEBRTC#dfn-read-only-parameter">Read-only parameter.</a></p>
the frame length. If the value is <code>true</code>, the
user agent MAY use any valid frame length for any of its
frames, and MAY change this at any time. Valid values are
multiples of 10ms. If the <code>maxptime</code> attribute
(defined in [[RFC4566]] Section 6) is specified, that maximum
applies. If the value is <code>false</code>, the user agent
MUST use a fixed frame length.</p>
<p class="note">Using a longer frame length reduces the
bandwidth consumption due to overhead, but does so at the cost
of increased latency. Changing the frame length dynamically allows the
user agent to adapt its bandwidth allocation strategy based on the
current network conditions.</p>
of increased latency. Changing the frame length dynamically
allows the user agent to adapt its bandwidth allocation strategy
based on the current network conditions.</p>
<p>If {{adaptivePtime}} is set to <code>true</code>,
<code>ptime</code> MUST NOT be set; otherwise,
{{InvalidModificationError}} MUST be [=exception/throw|thrown=].</p>
aboba marked this conversation as resolved.
Show resolved Hide resolved
Expand Down