Re: [webrtc-pc] receiver.getParameters().codecs is broken (regression) (#2956)

> From [#2925 (comment)](https://github.com/w3c/webrtc-pc/issues/2925#issue-2078387100):
> 
> > Suggested revised model
> > ... When calling setCodecPreferences, checking is done against receiver.[[codecs]], not against sender/receiver.getCapabilities(). If setCodecPreferences() includes a codec with the “enabled” flag set to false in the receiver’s [[codecs]] slot, it is set to “true”.

Also, was part of the intent here to repurpose `receiver.getParameters().codecs` to be an input source for `setCodecPreferences`?

If so, do we need non-static versions of `sender/receiver.getCapabilities()`?

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


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

Received on Friday, 26 April 2024 21:59:36 UTC