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

Ignore comma-separated rid alternatives. #2813

Merged
merged 2 commits into from
Jan 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions amendments.json
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,14 @@
"type": "correction",
"status": "candidate",
"id": 25
},
{
"description": "Ignore comma-separated rid alternatives.",
"pr": 2813,
"difftype": "modify",
"type": "correction",
"status": "candidate",
"id": 27
}
],
"apply-local-description": [
Expand All @@ -384,6 +392,14 @@
"type": "correction",
"status": "candidate",
"id": 26
},
{
"description": "Ignore comma-separated rid alternatives.",
"pr": 2813,
"difftype": "modify",
"type": "correction",
"status": "candidate",
"id": 27
}
]
}
37 changes: 29 additions & 8 deletions webrtc.html
Original file line number Diff line number Diff line change
Expand Up @@ -2368,7 +2368,9 @@ <h4>
{{RTCRtpEncodingParameters}} dictionary for
each of the simulcast layers, populating the
{{RTCRtpCodingParameters/rid}} member
according to the corresponding rid value, and
according to the corresponding rid value
(using only the first value if
comma-separated alternatives exist), and
let <var>proposedSendEncodings</var> be the
list containing the created dictionaries.
Otherwise, let <var>proposedSendEncodings</var>
Expand Down Expand Up @@ -4054,13 +4056,32 @@ <h2>
<p>
If this is an answer to an offer to receive
simulcast, then for each media section requesting
to receive simulcast, exclude from the media section
in the answer any RID not found in the corresponding
transceiver's
{{RTCRtpTransceiver/[[Sender]]}}.{{RTCRtpSender/[[SendEncodings]]}}.
If there are any identically named RIDs in the
<code class="sdp">a=simulcast</code> attribute, remove all
duplicates except the first one. No RID restrictions are set.
to receive simulcast, run the following steps:
</p>
<ol>
<li>
<p>
If the <code class="sdp">a=simulcast</code>
attribute contains comma-separated alternatives
for RIDs, remove all but the first ones.
</p>
</li>
<li>
<p>
If there are any identically named RIDs in the
<code class="sdp">a=simulcast</code> attribute,
remove all but the first one. No RID
restrictions are set.
</p>
</li>
<li>
<p>
Exclude from the media section in the answer any
RID not found in the corresponding transceiver's
{{RTCRtpTransceiver/[[Sender]]}}.{{RTCRtpSender/[[SendEncodings]]}}.
<p>
</li>
</ol>
</p>
<div class="note">
<p>
Expand Down