Re: [webrtc-pc] Clarify a=rtpmap codec mappings should be offered even if the codec is not a preferred one (#2932)

Just to clarify things:
Still pondering. I think we have an issue but it is orthogonal to my change:
https://jsfiddle.net/fippo/r63bp8d2/1/
sets a receive only codec (VP9 with profile=2). It sets the direction to sendonly.

The spec says:
> The codec preferences of a media description's associated transceiver, transceiver, is said to be the value of transceiver.
> [[PreferredCodecs]] with the following filtering applied (or said not to be set if transceiver.[[PreferredCodecs]] is empty):
> ...
> If transceiver.direction is "sendonly" or "sendrecv", exclude any codecs not included in the list of implemented send codecs for kind.

[[PreferredCodecs]] should be the single-element list with VP9 profile=2. Since that is not in the list of implemented send codecs it should be excluded. But it is not?

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


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

Received on Thursday, 8 February 2024 11:06:46 UTC