Skip to content

Commit 5f6070c

Browse files
committed
Address comments
1 parent 34e8a32 commit 5f6070c

File tree

1 file changed

+39
-29
lines changed

1 file changed

+39
-29
lines changed

index.html

Lines changed: 39 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1468,36 +1468,46 @@ <h2>
14681468
attribute EventHandler oncsrcchange;
14691469
};</pre>
14701470
<p>
1471-
Whenever the {{RTCRtpContributingSource/source}} identifier is updated based on the last decoded frame,
1472-
the [= user agent =] MUST [= queue a task =] to [= fire an event =] named {{RTCRtpReceiver/ssrcchange}}
1473-
if the SSRC changed and an event named {{RTCRtpReceiver/csrcchange}} if the CSRC changed. If both
1474-
identifiers are changed based on the same decoded frame, both events fire in the same queued task. This
1475-
ensures that both SSRC and CSRC information is exposed to the app at the same time.
1471+
Whenever the {{RTCRtpContributingSource/source}} identifier(s) are updated based on the last decoded
1472+
frame as defined <a data-cite="WEBRTC#dom-rtcrtpcontributingsource">here</a>, the [= user agent =]
1473+
MUST append the following steps to the end of the same [=queue a task|queued task=]:
14761474
</p>
1477-
<h3>
1478-
Attributes
1479-
</h3>
1480-
<dl data-link-for="RTCRtpReceiver" data-dfn-for="RTCRtpReceiver" class="attributes">
1481-
<dt>
1482-
<dfn id="dom-rtptransceiver-onssrcchange">onssrcchange</dfn> of type {{EventHandler}}
1483-
</dt>
1484-
<dd>
1485-
<p>
1486-
Fired when the {{RTCRtpContributingSource/source}} in {{RTCRtpReceiver/getSynchronizationSources()}}
1487-
changes, see above.
1488-
</p>
1489-
</dd>
1490-
<dt>
1491-
<dfn id="dom-rtptransceiver-oncsrcchange">oncsrcchange</dfn> of type {{EventHandler}}
1492-
</dt>
1493-
<dd>
1494-
<p>
1495-
Fired when the {{RTCRtpContributingSource/source}} in {{RTCRtpReceiver/getContributingSources()}}
1496-
changes, see above.
1497-
</p>
1498-
</dd>
1499-
</dl>
1500-
</section>
1475+
<ol>
1476+
<li>
1477+
<p>If the SSRC changed, [= fire an event =] named {{RTCRtpReceiver/ssrcchange}}.</p>
1478+
</li>
1479+
<li>
1480+
<p>If the CSRC changed, [= fire an event =] named {{RTCRtpReceiver/csrcchange}}.</p>
1481+
</li>
1482+
</ol>
1483+
<p class="note">
1484+
By firing the events after both the SSRC and CSRC information has been updated, both changes are
1485+
observable at the time that the first event fires.
1486+
</p>
1487+
<h3>
1488+
Attributes
1489+
</h3>
1490+
<dl data-link-for="RTCRtpReceiver" data-dfn-for="RTCRtpReceiver" class="attributes">
1491+
<dt>
1492+
<dfn id="dom-rtptransceiver-onssrcchange">onssrcchange</dfn> of type {{EventHandler}}
1493+
</dt>
1494+
<dd>
1495+
<p>
1496+
Fired when the {{RTCRtpContributingSource/source}} in {{RTCRtpReceiver/getSynchronizationSources()}}
1497+
changes, see above.
1498+
</p>
1499+
</dd>
1500+
<dt>
1501+
<dfn id="dom-rtptransceiver-oncsrcchange">oncsrcchange</dfn> of type {{EventHandler}}
1502+
</dt>
1503+
<dd>
1504+
<p>
1505+
Fired when the {{RTCRtpContributingSource/source}} in {{RTCRtpReceiver/getContributingSources()}}
1506+
changes, see above.
1507+
</p>
1508+
</dd>
1509+
</dl>
1510+
</section>
15011511
<section id="disable-hardware">
15021512
<h2>Disabling hardware acceleration</h2>
15031513
<p>

0 commit comments

Comments
 (0)