Skip to content

Commit 2341ea5

Browse files
Linkify to Opus RFC 6716
1 parent e0f0ce1 commit 2341ea5

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

opus_codec_registration.src.html

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@
131131
<xmp>
132132
dictionary OpusEncoderConfig {
133133
OpusBitstreamFormat format = "opus";
134-
[EnforceRange] unsigned long frameDuration = 20;
134+
[EnforceRange] unsigned long frameDuration;
135135
[EnforceRange] unsigned long complexity;
136136
[EnforceRange] unsigned long packetlossperc = 0;
137137
boolean useinbandfec = false;
@@ -161,26 +161,28 @@
161161
</dd>
162162
<dt><dfn dict-member for=OpusEncoderConfig>complexity</dfn></dt>
163163
<dd>
164-
Configures the encoder's computational complexity. The valid range is `0` to `10`,
165-
with `10` representing the highest complexity. If no value is specificied, the
166-
default value is platform-specific: User Agents <em class="rfc2119">SHOULD</em>
167-
set a default of `5` for mobile platforms, and a default of `9` for all other platforms.
164+
Configures the encoder's computational complexity, as described 2.1.9. of
165+
[[RFC6716]]. The valid range is `0` to `10`, with `10` representing the highest
166+
complexity. If no value is specificied, the default value is platform-specific:
167+
User Agents <em class="rfc2119">SHOULD</em> set a default of `5` for mobile
168+
platforms, and a default of `9` for all other platforms.
168169
</dd>
169170
<dt><dfn dict-member for=OpusEncoderConfig>packetlossperc</dfn></dt>
170171
<dd>
171172
Configures the encoder's expected packet loss percentage. The valid range is
172173
`0` to `100`.
173174

174-
NOTE: The packet loss percentage might be updated over the course of the encoding, and
175-
it is recommended for User Agents to support these reconfigurations.
175+
NOTE: The packet loss percentage might be updated over the course of the
176+
encoding, and it is recommended for User Agents to support these reconfigurations.
176177
</dd>
177178
<dt><dfn dict-member for=OpusEncoderConfig>useinbandfec</dfn></dt>
178179
<dd>
179-
Specifies whether the encoder provides Opus in-band FEC.
180+
Specifies whether the encoder provides Opus in-band FEC, as described by
181+
section 2.1.7. of [[RFC6716]].
180182
</dd>
181183
<dt><dfn dict-member for=OpusEncoderConfig>usedtx</dfn></dt>
182184
<dd>
183-
Specifies if the encoder uses DTX.
185+
Specifies if the encoder uses DTX, as described by section 2.1.9. of [[RFC6716]].
184186
</dd>
185187
</dl>
186188

0 commit comments

Comments
 (0)