Closed michhyun1 closed 1 year ago
Should we update the storybook entries for these two providers to mention that you can use the processors if you need to do more advance use cases https://aws.github.io/amazon-chime-sdk-component-library-react/?path=/docs/sdk-providers-backgroundblurprovider--page
Should we update the storybook entries for these two providers to mention that you can use the processors if you need to do more advance use cases https://aws.github.io/amazon-chime-sdk-component-library-react/?path=/docs/sdk-providers-backgroundblurprovider--page
done
Issue #:
Description of changes:
Revert the changes to expose an observer prop on BG Blur provider and BG Replacement provider. Instead, expose the processors that are created in the BG Blur and BG Replacement providers, so that builders may modify the processors, or add observer functions directly to the processors.
Testing
Have you successfully run
npm run build:release
locally? yesHow did you test these changes?
In the test demo, take the processor from the BG Blur and BG replacement providers, and call addObserver() and removeObserver() on them.
yes
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.