Re: [webrtc-stats] codec.sdpFmtpLine isn't clear about which description to use (#616)

> Stats should be consistent with getParameters().

I'm unsure. After pondering https://github.com/w3c/webrtc-pc/pull/2711#issuecomment-1018857181 I think we had reasons for why we decided `receiver.getParameters().codecs` should reflect pendingLocalDescription in "have-local-offer" and "have-remote-offer", but I forget what they were.

But regardless, I don't think the same reasons apply to `"codec"` stats, which instead should always reflect what's "[currently being used](https://w3c.github.io/webrtc-stats/#dom-rtcstatstype-codec)".

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


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

Received on Friday, 21 January 2022 21:17:23 UTC