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

> Which is expected and how things have been behaving like this for a decade.

It's good for compat that [adding H264 via SDP munging](https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/web_tests/external/wpt/webrtc/protocol/additional-codecs.html) works already. But how do I ask to receive VP8 and have the other endpoint ask to receive H264 using `setCodecPreferences`?

You could tweak it to list both and swap order: https://jsfiddle.net/henbos/jeLav7c3/
But I don't know that this makes sense if the codecs were unidirectional. I don't want to "prefer to receive" something I can't decode if they actually listened to me.

-- 
GitHub Notification of comment by henbos
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/2932#issuecomment-1932073351 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 13:39:46 UTC