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

There was a bug in the fiddle (by awaiting `replaceTrack` I did `setCodecPreferences` too late at `pc2` so it missed the answer!).

Fixed and it works for the case of offer `[vp8, h264]` and answer `[h264, vp8]`: https://jsfiddle.net/henbos/v1rpmfqs/
But it does not work in the case of offering `[vp8]` and answering `[h264]`: https://jsfiddle.net/henbos/jcgwvf20/

This may be good or it may be bad depending on what we want to do with unidirectional codecs.

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