You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{RTCRtpTransceiver}} on which the method is called.
11120
-
Additionally, the {{RTCRtpCodecCapability}} dictionary
11121
-
members cannot be modified. If <var>codecs</var> does not
11122
-
fulfill these requirements, the user agent MUST [=
11123
-
exception/throw =] an {{InvalidModificationError}}.
11124
11119
</p>
11125
11120
<p class="note">
11126
11121
Due to a recommendation in [[!SDP]], calls to
@@ -11196,9 +11191,10 @@ <h2>
11196
11191
For each <var>codec</var> in <var>codecs</var>,
11197
11192
</p>
11198
11193
<ol>
11199
-
<li>If <var>codec</var> is not in
11200
-
<var>codecCapabilities</var>, throw
11201
-
{{InvalidModificationError}}.
11194
+
<li>
11195
+
<p>If <var>codec</var> does [=not match any codec|codec match=]
11196
+
in <var>codecCapabilities</var>, throw {{InvalidModificationError}}.
11197
+
</p>
11202
11198
</li>
11203
11199
</ol>
11204
11200
</li>
@@ -11209,6 +11205,42 @@ <h2>
11209
11205
</p>
11210
11206
</li>
11211
11207
</ol>
11208
+
<p>
11209
+
The <dfn class="export">codec match</dfn> algorithm given two {{RTCRtpCodec}} or compatible dictionaries <var>first</var> and <var>second</var> is as follows:
11210
+
</p>
11211
+
<ol class=algorithm>
11212
+
<li>
11213
+
<p>
11214
+
If <var>first</var>.{{RTCRtpCodec/mimeType}} is different from
0 commit comments