Skip to content

Commit

Permalink
Merge pull request #2885 from fippo/setparameters-extensions
Browse files Browse the repository at this point in the history
Add empty RTCSetParameterOptions dict as argument to setParameters
  • Loading branch information
aboba authored Jul 20, 2023
2 parents 98a2fc0 + 3f4afda commit d8489ee
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 1 deletion.
9 changes: 9 additions & 0 deletions amendments.json
Original file line number Diff line number Diff line change
Expand Up @@ -511,5 +511,14 @@
"status": "candidate",
"id": 35
}
],
"setparameter-options": [
{
"description": "Add empty setParameterOptions as second argument to setParameters for extensibility",
"pr": 2885,
"type": "addition",
"status": "candidate",
"id": 36
}
]
}
1 change: 1 addition & 0 deletions base-rec.html
Original file line number Diff line number Diff line change
Expand Up @@ -10102,6 +10102,7 @@ <h5 id="dictionary-rtcrtpheaderextensioncapability-members">
</section>
</div>
</section>
<div id="setparameter-options"></div>
</section>
<section id="rtcrtpreceiver-interface">
<h3 id="x5-3-rtcrtpreceiver-interface"><bdi class="secno">5.3 </bdi>
Expand Down
19 changes: 18 additions & 1 deletion webrtc.html
Original file line number Diff line number Diff line change
Expand Up @@ -8866,7 +8866,8 @@ <h3>
readonly attribute MediaStreamTrack? track;
readonly attribute RTCDtlsTransport? transport;
static RTCRtpCapabilities? getCapabilities(DOMString kind);
Promise&lt;undefined&gt; setParameters(RTCRtpSendParameters parameters);
Promise&lt;undefined&gt; setParameters(RTCRtpSendParameters parameters,
optional RTCSetParameterOptions setParameterOptions = {});
RTCRtpSendParameters getParameters();
Promise&lt;undefined&gt; replaceTrack(MediaStreamTrack? withTrack);
undefined setStreams(MediaStream... streams);
Expand Down Expand Up @@ -10143,6 +10144,22 @@ <h2>
</section>
</div>
</section>
<div id="setparameter-options"><!-- kept for candidate amendments management purposes --></div>
<section id="setparameter-options">
<h3>
<dfn>RTCSetParameterOptions</dfn> Dictionary
</h3>
<div>
<pre class="idl">dictionary RTCSetParameterOptions {
};</pre>
</div>
<section>
<h2>Dictionary {{RTCSetParameterOptions}} Members</h2>
<p>
RTCSetParameterOptions is defined as an empty dictionary to allow for extensibility.
</p>
</section>
</section>
</section>
<section>
<h3>
Expand Down

0 comments on commit d8489ee

Please sign in to comment.