[webrtc-pc] Update description of getParameters() (#3091)

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

== Update description of getParameters() ==
The description of getParameters() is subtly misleading
> The [getParameters](https://w3c.github.io/webrtc-pc/#dom-rtcrtpsender-getparameters)() method returns the [RTCRtpSender](https://w3c.github.io/webrtc-pc/#dom-rtcrtpsender) object's current parameters for how [track](https://w3c.github.io/webrtc-pc/#dom-rtcrtpsender-track) is encoded and transmitted to a remote [RTCRtpReceiver](https://w3c.github.io/webrtc-pc/#dom-rtcrtpreceiver).

This seem to suggest that the parameters are what is currently being sent, but some parameters are actually preferences rather than law, in particular `codec` and `scalabilityMode`.
- We may prefer to send H.265, but due to an HW error we may have fallen back to do AV1 instead.
- We may have preferred to do L3T3_KEY, but unless we're doing SW VP9 we'll probably end up sending L1T3 or L1T1 instead.

If the user wants to know what we're actually sending, they should look at `getStats()`, not `getParameters()`. We could clarify that by changing the cited text.

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


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

Received on Thursday, 26 February 2026 15:24:26 UTC