Re: [webrtc-pc] RTCRtpParameters.codec matching is probably too strict (#2987)

> The wpt also expects .codec to be automatically unset if the remote SDP does not contain a match (there's definitely nothing in the spec about this).

The wording is in: https://w3c.github.io/webrtc-pc/#set-the-session-description 4.6.13.2

> For each transceiver in connection's [set of transceivers](https://w3c.github.io/webrtc-pc/#transceivers-set):
> 1. Let codecs be transceiver.[[[Sender]]](https://w3c.github.io/webrtc-pc/#dfn-sender).[[[SendCodecs]]](https://w3c.github.io/webrtc-pc/#dfn-sendcodecs).
> 2. If codecs is not an empty list:
> Remove any codec value in transceiver.[[[Sender]]](https://w3c.github.io/webrtc-pc/#dfn-sender).[[[SendEncodings]]](https://w3c.github.io/webrtc-pc/#dfn-sendencodings) that does not [match](https://w3c.github.io/webrtc-pc/#dfn-codec-dictionary-match) any entry in codecs.

We can update it if it's not clear enough.

-- 
GitHub Notification of comment by Orphis
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/2987#issuecomment-2312751216 using your GitHub account


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

Received on Tuesday, 27 August 2024 14:36:54 UTC