[webrtc-pc] If a preferred codec is filtered out, does it still get assigned a PT? (#2938)

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

== If a preferred codec is filtered out, does it still get assigned a PT? ==
Use case:
- A want to signal in the SDP that I support sending X, but my transceiver is `sendrecv`.

X is filtered out from the preference list at createOffer, so it's not in the `m=video` line. But should it be in the `a=rtpmap` list?

Arguments for:
- It's useful and avoids having to signal things outside SDP.
Argument against:
- [JSEP](https://www.rfc-editor.org/rfc/rfc8829.html#section-5.2.1): "media formats MUST be generated in the corresponding order and MUST exclude any codecs not present in the codec preferences"

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


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

Received on Tuesday, 13 February 2024 09:26:20 UTC