-
Notifications
You must be signed in to change notification settings - Fork 22.9k
Editorial review: Add docs for restrictOwnAudio constraint #41437
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Editorial review: Add docs for restrictOwnAudio constraint #41437
Conversation
Preview URLs (6 pages)
Flaws (4)Note! 4 documents with no flaws that don't need to be listed. 🎉 URL:
URL:
(comment last updated: 2025-10-09 08:59:52) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with nits
> [!NOTE] | ||
> If the captured display surface doesn't include system audio, this setting will have no effect. | ||
|
||
If the value is given as `ideal`, that field's boolean value indicates an ideal setting for the `restrictOwnAudio` feature; if it can't be met, then the request will result in an error. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe you meant exact
, not ideal
right? See https://developer.mozilla.org/en-US/docs/Web/API/MediaTrackConstraints#constrainboolean
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a good point. I've updated it to exact
, and altered the description to suit.
files/en-us/web/api/mediatrackconstraints/restrictownaudio/index.md
Outdated
Show resolved
Hide resolved
…ex.md Co-authored-by: François Beaufort <beaufort.francois@gmail.com>
…lls/content into restrictOwnAudio-constraint
Thanks for the review, @beaufortfrancois! I'll move this on to the editorial review stage now, but let me know if you think anything needs further attention. |
Description
Chrome 141 adds support for the
restrictOwnAudio
captured display surface constrainable property. See https://chromestatus.com/feature/5128140732760064.This PR adds docs for this feature
Motivation
Additional details
Related issues and pull requests