Re: [webrtc-pc] Implementations only update getParameters().codecs when negotiation has finished (#2967)

Having slept on it, it seems that we've been using SendCodecs and ReceiveCodecs for two different things:
- Representing the capabilities of the transceiver (used to be the capabilities of the platform)
- Representing the current set of negotiated codecs
It seems logical that this needs to be two different internal slots. The "current set of negotiated codecs" doesn't need the Enabled bit - it can be just a simple representation of what's in the currently valid SDP.

Suggested new names:
[[NegotiatedCodecs]] - occurs both in sender and receiver (has PT, does not have Enabled)
[[AvailableCodecs]] - occurs both in sender and receiver (has Enabled, does not have PT)




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


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

Received on Monday, 29 April 2024 06:10:05 UTC