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

> Seems like we want this getter to reflect the content of the currently negotiated SDP description,

Yes, that seems a useful way to look at it.

> and this is independent of the SendCodecs and ReceiveCodecs (it's a shorthand for an SDP parser).

Internal slots are cheap, as long as we're not confusing things we can do it a couple of ways.

But for consistency with 1.0 (and TR) we may wish to keep [[SendCodecs]] and [[ReceiveCodecs]] the same, doing their old job of reflecting currentDescription (at least as implemented when it comes to [[ReceiveCodecs]]). E.g. start out empty (when currentDescription is null). 

In https://github.com/w3c/webrtc-pc/issues/2956#issuecomment-2080031280 I proposed some new internal slots.



-- 
GitHub Notification of comment by jan-ivar
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/2967#issuecomment-2080067875 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 20:22:10 UTC