I intend to ship getCapabilities in MediaStreamTrack for all platforms in Firefox 132.
Summary: The getCapabilities method allows applications to gather the media capabilities supported for the MediaStreamTrack.
Bug for Feature: https://bugzilla.mozilla.org/show_bug.cgi?id=1179084
Standard:
Platform Coverage: Available on all platforms.
Preference: This WebRTC API will be available by default.
Other Browsers: Other browsers have shipped this feature.
Blink: https://groups.google.com/a/chromium.org/g/blink-dev/c/h4sCuIqb_78/m/Dcx-XuOTCAAJ
WebKit: https://github.com/mdn/browser-compat-data/pull/7938
Web-platform-tests: WPT tests exist for setCodecPreferences
Web-platform-tests: WPT tests exist for MediaStreamTrack::getCapabilities.
https://wpt.fyi/results/mediacapture-streams/MediaStreamTrack-getCapabilities.https.html