Skip to content

Conversation

hamishwillee
Copy link
Collaborator

FF144 added a new constraint parameter resizeMode for use with MediaDevices.getUserMedia().

This allows a developer to specify whether the video from the camera should be cropped and/or downscaled to match other constraints, which may be natively supported by the camera - essentially gives them what they ask for rather than what the camera is capable of delivering.

This adds a release note.

Related docs work can be tracked in #41132

@hamishwillee hamishwillee requested a review from a team as a code owner September 16, 2025 04:01
@hamishwillee hamishwillee requested review from dipikabh and removed request for a team September 16, 2025 04:01
@github-actions github-actions bot added Content:Firefox Content in the Mozilla/Firefox subtree size/s [PR only] 6-50 LoC changed labels Sep 16, 2025
Copy link
Contributor

github-actions bot commented Sep 16, 2025

Preview URLs

Flaws (2)

URL: /en-US/docs/Mozilla/Firefox/Releases/144
Title: Firefox 144 for developers
Flaw count: 2

  • unknown:
    • Error serializing baseline for numeric-seperators: missing field description``
    • Error serializing baseline for single-color-gradients: missing field description``
External URLs (1)

URL: /en-US/docs/Mozilla/Firefox/Releases/144
Title: Firefox 144 for developers

(comment last updated: 2025-09-22 00:20:33)

Copy link
Contributor

@dipikabh dipikabh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@github-actions github-actions bot added the merge conflicts 🚧 [PR only] label Sep 18, 2025
Copy link
Contributor

This pull request has merge conflicts that must be resolved before it can be merged.

@hamishwillee hamishwillee force-pushed the ff144_getUserMedia_resizeMode_relnote branch from 4881282 to c05d554 Compare September 19, 2025 00:25
@github-actions github-actions bot added size/xs [PR only] 0-5 LoC changed and removed merge conflicts 🚧 [PR only] size/s [PR only] 6-50 LoC changed labels Sep 19, 2025
@hamishwillee
Copy link
Collaborator Author

Thanks for the review @dipikabh . I've thought about this some more and realized my initial answer wasn't very precise. Can you please re-review?

Copy link
Contributor

@dipikabh dipikabh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for revising this! This is a much better version - it's clarifying that it's the browser that may crop/downscale the video. I always appreciate it when we spell out the "doer" :)

@hamishwillee
Copy link
Collaborator Author

Thanks for the review and feedback @dipikabh - changes accepted!

@hamishwillee hamishwillee merged commit 2043a2d into mdn:main Sep 22, 2025
8 checks passed
@hamishwillee hamishwillee deleted the ff144_getUserMedia_resizeMode_relnote branch September 22, 2025 00:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:Firefox Content in the Mozilla/Firefox subtree size/xs [PR only] 0-5 LoC changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants