From 5ede816e2c7522bcc458c183e94c4051646816bd Mon Sep 17 00:00:00 2001 From: Philipp Hancke Date: Tue, 20 Feb 2024 20:11:19 +0100 Subject: [PATCH] remove setCodecPreferences note already covered by JSEP fixes #2933 --- webrtc.html | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/webrtc.html b/webrtc.html index edb85ea52..ce09e1689 100644 --- a/webrtc.html +++ b/webrtc.html @@ -11224,17 +11224,6 @@

where kind is the kind of the {{RTCRtpTransceiver}} on which the method is called.

-

- Due to a recommendation in [[!SDP]], calls to - {{RTCPeerConnection/createAnswer}} SHOULD use only the common - subset of the codec preferences and the codecs that appear in - the offer. For example, if codec preferences are "C, B, A", - but only codecs "A, B" were offered, the answer should only - contain codecs "B, A". However, [[!RFC8829]] allows adding codecs that - were not in the offer, so implementations can behave - differently. -

When {{setCodecPreferences()}} is invoked, the user agent MUST run the following steps: