It doesn't look like RTCRtpReceiver.disableHardwareDecoding() [update: and RTCRtpSender.disableHardwareEncoding()!] have shipped anywhere.
Mozilla feedback in mozilla/standards-positions#728 was originally negative (though a formal position never formed).
But after recent review, we'd like to propose a slightly different API shape that Mozilla would get behind:
partial interface RTCRtpReceiver {
HardwareAcceleration hardwareAcceleration = "no-preference";
}
// update: also
partial interface RTCRtpSender {
HardwareAcceleration hardwareAcceleration = "no-preference";
}
It's a receiver[ / sender] attribute instead of a static method.
Importantly for us, HardwareAcceleration is defined in WebCodecs, which has a page-long note about when the UA might override webpage preference.
We think this would resolve our concerns raised in the issue, specifically around the UAs ability to override website preference in situations like after a hardware codec fix.