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

> It's good for compat that adding H264 via SDP munging works already.

This isn't munging, this is signaling ;-)

>  But how do I ask to receive VP8 and have the other endpoint ask to receive H264 using setCodecPreferences?

That is not what setCodecPreferences does, it only controls receive preferences. We have answer handling for additional codecs but we do not have anything in offers. https://www.rfc-editor.org/rfc/rfc8829.html#section-5.2.1 is *quite* specific:
> If codec preferences have been set for the associated transceiver, media formats MUST be generated in the 
> corresponding order  and MUST exclude any codecs not present in the codec preferences.

and that is what we are doing?

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


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

Received on Wednesday, 7 February 2024 17:14:47 UTC