From e7e653e2d5564e6baf65e2f3edbbdc630de3d4e9 Mon Sep 17 00:00:00 2001 From: Jan-Ivar Bruaroey Date: Wed, 4 Jan 2023 19:47:53 -0500 Subject: [PATCH 1/2] Ignore comma-separated rid alternatives. --- webrtc.html | 37 +++++++++++++++++++++++++++++-------- 1 file changed, 29 insertions(+), 8 deletions(-) diff --git a/webrtc.html b/webrtc.html index 614059114..ccc7dd665 100644 --- a/webrtc.html +++ b/webrtc.html @@ -2368,7 +2368,9 @@

{{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 proposedSendEncodings be the list containing the created dictionaries. Otherwise, let proposedSendEncodings @@ -4054,13 +4056,32 @@

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 - a=simulcast attribute, remove all - duplicates except the first one. No RID restrictions are set. + to receive simulcast, run the following steps: +

+
    +
  1. +

    + If the a=simulcast + attribute contains comma-separated alternatives + for RIDs, remove all but the first ones. +

    +
  2. +
  3. +

    + If there are any identically named RIDs in the + a=simulcast attribute, + remove all but the first one. No RID + restrictions are set. +

    +
  4. +
  5. +

    + Exclude from the media section in the answer any + RID not found in the corresponding transceiver's + {{RTCRtpTransceiver/[[Sender]]}}.{{RTCRtpSender/[[SendEncodings]]}}. +

    +

  6. +

From 048d4038369fa4385754103ce455ffd59afd9e6d Mon Sep 17 00:00:00 2001 From: Jan-Ivar Bruaroey Date: Wed, 11 Jan 2023 15:22:23 -0500 Subject: [PATCH 2/2] Add amendments. --- amendments.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/amendments.json b/amendments.json index 5bf87432b..6e4591f6d 100644 --- a/amendments.json +++ b/amendments.json @@ -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": [ @@ -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 } ] }