Re: [webrtc-extensions] Potential web compat issue with setOfferedRtpHeaderExtensions (#130)

Also note that while setCodecPreferences and setOfferedRtpHeaderExtensions do the same thing (modify what goes into SDP O/A) they work very different.
* setCodecPreferences is filtering with a set of discovered by the static getCapabilities(kind).codecs. We can not modify the semantics of that sadly but I hope [this proposal](https://github.com/w3c/webrtc-extensions/issues/100#issuecomment-1110005582) will address it some day in a way that retains backward compability. Note that passing [] resets to "the default".
* setOfferedRtpHeaderExtensions can take input either from static  getCapabilities(kind).headerExtensions or headerExtensionsToOffer. So this goes a bit more in the direction of the proposal a had already. Passing [] does *not* reset to the default but that is easy to do in JS, getCapabilities(kind).headerExtensions provides the default but this still seems worth changing.

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


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

Received on Wednesday, 7 December 2022 13:08:15 UTC