-
Notifications
You must be signed in to change notification settings - Fork 472
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
Add support background filter for ios 16+ #2484
Conversation
7f69440
to
4590a6e
Compare
CHANGELOG.md
Outdated
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |||
### Added | |||
|
|||
- Add the audio output gain and frequency to the meeting readiness checker's configuration. The readiness checker uses this value to set the "Play Tone" gain and frequency. | |||
- Add support for background filter starting from iOS 16. |
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.
nit: Can update later but would be good to update the support documentation as well as include it as part of the CHANGELOG on which browsers we are adding support for.
@@ -17,9 +17,10 @@ Background replacement is available as part of the Amazon Chime SDK for JavaScri | |||
|
|||
### Browser compatibility | |||
|
|||
A background filter in the Amazon Chime SDK for JavaScript works in Firefox, Chrome, and Chromium-based browsers (including Electron) on desktop, Android, and Safari 14.1 and later on macOS. | |||
A background filter in the Amazon Chime SDK for JavaScript works in Firefox, Chrome, and Chromium-based browsers |
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.
Should we call out the iPad firefox limitation here?
@@ -66,6 +67,7 @@ describe('CleanStoppedSessionTask', () => { | |||
|
|||
beforeEach(async () => { | |||
domMockBuilder = new DOMMockBuilder(behavior); | |||
browserBehavior = new DefaultBrowserBehavior(); |
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.
Should there be a afterEach
to set the browserBehavior
to undefined
. Not sure if this will keep stale objects when running unit tests.
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.
Same for other tests included in this change.
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.
Don't think so as we initialize them every time to a new object. The old one should be garbage collected.
cec9f5e
to
c53e93f
Compare
Issue #1059:
Description of changes:
Add support background filter for ios 16+ in Safari, Chrome, and Firefox. The only exception is Firefox in iPad as we cannot detect os version from the user agent.
Testing:
Can these tested using a demo application? Please provide reproducible step-by-step instructions.
Yes, open serverless demo using Safari, Chrome, and Firefox (only on phone) in iPad and iPhone OS >= 16 and verify that you can see video filter drop down in the preview menu as well as during meeting.
Checklist:
Have you successfully run
npm run build:release
locally? YesDo you add, modify, or delete public API definitions? If yes, has that been reviewed and approved? No
Do you change the wire protocol, e.g. the request method? If yes, has that been reviewed and approved? No
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.