[webrtc-pc] codec input to setParameters shouldn't be validated by receive preferred codecs (#2989)

jan-ivar has just created a new issue for https://github.com/w3c/webrtc-pc:

== codec input to setParameters shouldn't be validated by receive preferred codecs ==
Step 4 of the [setParameters validation steps](https://w3c.github.io/webrtc-pc/#dfn-setparameters-validation-steps) says: _"If choosableCodecs is an empty list, set choosableCodecs to transceiver.[[[PreferredCodecs]]](https://w3c.github.io/webrtc-pc/#dfn-preferredcodecs)."_.

transceiver.[[[PreferredCodecs]]](https://w3c.github.io/webrtc-pc/#dfn-preferredcodecs) are _receive_ codecs set through [setCodecPreferences](https://w3c.github.io/webrtc-pc/#dom-rtcrtptransceiver-setcodecpreferences) and shouldn't be used to validate send [codec](https://w3c.github.io/webrtc-pc/#dom-rtcrtpencodingparameters-codec).


Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/2989 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 28 August 2024 21:40:05 UTC