Skip to content

Commit 2043a2d

Browse files
FF144 MediaDevices.getUserMedia() method allows resizeMode constraint (#41152)
* FF144 MediaDevices.getUserMedia() method allows resizeMode constraint * getDisplayMedia affected too * Update files/en-us/mozilla/firefox/releases/144/index.md Co-authored-by: Dipika Bhattacharya <[email protected]> * remove additional detail as per feedback * Clarify framerate decimation is also allowed for media * Update files/en-us/mozilla/firefox/releases/144/index.md * Update files/en-us/mozilla/firefox/releases/144/index.md Co-authored-by: Dipika Bhattacharya <[email protected]> --------- Co-authored-by: Dipika Bhattacharya <[email protected]>
1 parent b0c2ce6 commit 2043a2d

File tree

1 file changed

+3
-0
lines changed
  • files/en-us/mozilla/firefox/releases/144

1 file changed

+3
-0
lines changed

files/en-us/mozilla/firefox/releases/144/index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ Firefox 144 is the current [Beta version of Firefox](https://www.firefox.com/en-
6262

6363
- {{domxref("RTCDataChannel")}} instances are now [transferrable objects](/en-US/docs/Web/API/Web_Workers_API/Transferable_objects), and hence can be passed to [workers](/en-US/docs/Web/API/Worker). ([Firefox bug 1209163](https://bugzil.la/1209163)).
6464
- The [`closing` event](/en-US/docs/Web/API/RTCDataChannel/closing_event) and the `onclosing()` event handler are now supported on the {{domxref("RTCDataChannel")}} interface. ([Firefox bug 1611953](https://bugzil.la/1611953)).
65+
- The {{domxref("MediaDevices/getUserMedia","getUserMedia()")}} and {{domxref("MediaDevices/getDisplayMedia","getDisplayMedia()")}} methods of the {{domxref("MediaDevices")}} interface now support the [`resizeMode`](/en-US/docs/Web/API/MediaTrackConstraints#resizemode) constraint.
66+
This constraint allows developers to request video that matches other constraints, such as resolution and frame rate, even if the requested constraints are not supported by the underlying hardware.
67+
The browser may then crop, downscale, or reduce the frame rate of the video captured from a camera, or downscale (but not crop) the video captured from a screen or window. ([Firefox bug 1286945](https://bugzil.la/1286945)).
6568

6669
<!-- #### Removals -->
6770

0 commit comments

Comments
 (0)