[webrtc-pc] receiver.getParameters().codecs seems under-specified. (#2956)

jan-ivar has just created a new issue for https://github.com/w3c/webrtc-pc:

== receiver.getParameters().codecs seems under-specified. ==
[receiver.getParameters](https://w3c.github.io/webrtc-pc/#dom-rtcrtpreceiver-getparameters) has this non-normative note:

![image](https://github.com/w3c/webrtc-pc/assets/3136226/465f1912-06ae-4658-b31e-5fb0ed2c59f7)

It suggests that post sRD(answer), `receiver.getParameters().codecs` is updated to only reflect what's been negotiated.

But I can't find any normative steps to support this note:
- [[ReceiveCodecs]] is [initialized]() to _"the [list of implemented receive codecs](https://w3c.github.io/webrtc-pc/#dfn-list-of-implemented-receive-codecs) for kind"_
- [[ReceiveCodecs]] is only ever assigned to [[LastStableStateReceiveCodecs]] (on rollback)
- [[ReceiveCodecs]] does not appear to ever be modified
- The "enabled" flag is only ever set to true

Is the note wrong or are we missing some normative steps? What was the intent?

Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/2956 using your GitHub account


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

Received on Tuesday, 16 April 2024 23:55:50 UTC