From efca8f3cdb50500745552ccf7d9808fa1242317c Mon Sep 17 00:00:00 2001 From: Jan-Ivar Bruaroey Date: Thu, 29 Aug 2024 09:30:47 -0400 Subject: [PATCH 1/3] Don't validate codec input to setParameters by preferred receive codecs --- webrtc.html | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/webrtc.html b/webrtc.html index f3cde540a..a2a8156b8 100644 --- a/webrtc.html +++ b/webrtc.html @@ -9029,11 +9029,7 @@

Let choosableCodecs be codecs.

  • -

    If choosableCodecs is an empty list, set choosableCodecs - to transceiver.{{RTCRtpTransceiver/[[PreferredCodecs]]}}.

    -
  • -
  • -

    If choosableCodecs is still an empty list, set choosableCodecs +

    If choosableCodecs is an empty list, set choosableCodecs to the [=RTCRtpSender/list of implemented send codecs=] for transceiver's kind.

  • Let N be the number From ae4462c610d348c35583a791c50eed16afd6a036 Mon Sep 17 00:00:00 2001 From: Jan-Ivar Bruaroey Date: Tue, 3 Sep 2024 16:46:08 -0400 Subject: [PATCH 2/3] Add amendment --- amendments.json | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/amendments.json b/amendments.json index 4cad0041e..32372dca3 100644 --- a/amendments.json +++ b/amendments.json @@ -966,5 +966,20 @@ "web-platform-tests/wpt#47663" ] } - ] + ], + "setparameters-validation": [ + { + "description": "Don't validate codec input to setParameters by preferred receive codecs", + "type": "correction", + "status": "candidate", + "id": 48, + "pr": 2991, + "tests": [ + "webrtc/RTCRtpParameters-codec.html" + ], + "testUpdates": [ + "web-platform-tests/wpt#47663" + ] + } + ], } From 0d0ee91baa32ed7080bef977185ae52953ebfb9d Mon Sep 17 00:00:00 2001 From: Jan-Ivar Bruaroey Date: Tue, 3 Sep 2024 17:07:03 -0400 Subject: [PATCH 3/3] remove trailing comma --- amendments.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/amendments.json b/amendments.json index 32372dca3..aaf0d4e2d 100644 --- a/amendments.json +++ b/amendments.json @@ -960,10 +960,10 @@ "id": 47, "pr": 2985, "tests": [ - "webrtc/RTCRtpParameters-codec.html" + "webrtc/RTCRtpParameters-codec.html" ], "testUpdates": [ - "web-platform-tests/wpt#47663" + "web-platform-tests/wpt#47663" ] } ], @@ -975,11 +975,11 @@ "id": 48, "pr": 2991, "tests": [ - "webrtc/RTCRtpParameters-codec.html" + "webrtc/RTCRtpParameters-codec.html" ], "testUpdates": [ - "web-platform-tests/wpt#47663" + "web-platform-tests/wpt#47663" ] } - ], + ] }