api.RTCRtpSender.setParameters - scaleResolutionDownBy is supported on Edge at least v80
What type of issue is this?
Incorrect support data (example: BrowserX says "86" but support was added in "40")
What information was incorrect, unhelpful, or incomplete?
https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpSender/setParameters#browser_compatibility "parameters.encodings.scaleResolutionDownBy parameter" for Edge is saying "No"
What browsers does this problem apply to, if applicable?
No response
What did you expect to see?
"parameters.encodings.scaleResolutionDownBy parameter" for Edge is supported since at least version 80 (tested), but I think that version 79 is appropriate since all other parameters are also available since v79.
Did you test this? If so, how?
I've tested with the following script on browserstack Windows 11 Edge 80 and the result is, that it's supported (see screenshot):
let supported = false;
try {
const scaleResolutionDownBy = 2;
const pc = new RTCPeerConnection();
const transceiver = pc.addTransceiver('video', { sendEncodings: [{ scaleResolutionDownBy }] });
const parameters = transceiver.sender.getParameters();
const [encoding] = parameters.encodings || [];
supported = Boolean(encoding && encoding.scaleResolutionDownBy === scaleResolutionDownBy);
console.log(encoding, supported);
$('#output').innerHTML = `Supported: ${supported} - ${JSON.stringify(encoding)}<br>${navigator.userAgent}`;
} catch (error) {
console.error(error);
}
Can you link to any release notes, bugs, pull requests, or MDN pages related to this?
https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpSender/setParameters#browser_compatibility
Do you have anything more you want to share?
No response
MDN URL
https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpSender/setParameters
MDN metadata
MDN page report details
- Query:
api.RTCRtpSender.setParameters - Report started: 2024-10-16T14:31:19.856Z