[webrtc-pc] sdpFmtpLine prose is vague about which SDP to use (#2710)

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

== sdpFmtpLine prose is vague about which SDP to use ==
webrtc-pc [sdpFmtpLine](https://w3c.github.io/webrtc-pc/#dom-rtcrtpcodecparameters-sdpfmtpline) parameter says: _"... For an RTCRtpSender, these parameters come from the remote description, and for an RTCRtpReceiver, they come from the local description."_

This is vague. We should update this to say: "For an RTCRtpSender, these parameters come from the current remote description, and for an RTCRtpReceiver, they come from the (potentially pending) local description."

This is because:
* sender [getParameters](https://w3c.github.io/webrtc-pc/#dom-rtcrtpsender-getparameters) gets it from [[SendCodecs]] which is set in the answer or pranswer.
* receiver [getParameters](https://w3c.github.io/webrtc-pc/#dom-rtcrtpreceiver-getparameters) gets it from [[ReceiveCodecs]] which is set in SLD.

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


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

Received on Thursday, 20 January 2022 03:46:34 UTC