Skip to content
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

Fix background-blur.js #852

Merged
merged 17 commits into from
Sep 27, 2024

Conversation

markafoltz
Copy link
Collaborator

This makes the following fixes:

  1. Use a normal constraint instead of an advanced constraint to change the blur setting.
  2. The result of applyConstraints() can only be observed via a configurationchange event.
  3. Use async/await for applyConstraints()

I did not test this yet on a PC with the constraint implemented though.

@markafoltz
Copy link
Collaborator Author

This is ready for review @riju @beaufortfrancois

@beaufortfrancois
Copy link
Member

I've tried this code on macOS by running Chrome with --enable-experimental-web-platform-features --use-fake-device-for-media-stream and it works great! Thank you @markafoltz!

@beaufortfrancois beaufortfrancois merged commit 4144077 into GoogleChrome:gh-pages Sep 27, 2024
1 check passed
markafoltz added a commit that referenced this pull request Oct 14, 2024
* Simplify script
* Update constraint
* Fix bugs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants