Closed YumTheDeathGod closed 2 years ago
Thank you for opening the issue. We’ll look into more.
I found the solution already. I just need to start the cameraCaptureSource whenever we want that blur effect. Thank you for your time @georgezy-amzn .
But still I need your help. Please assist. whenever I tried to add that blur effect then it is being applied correctly but when I observe the mobile video from web chime demo (on desktop) with the same room. I get distorted image of attendee (from mobile side) and the blurred background.
I am not able to get why is there is pixelated image of user after applying blurry effect. Do I have to change the frame rates for it? if yes then how should i do it?
Thanks for pointing this out. We're seeing the pixelated image from mobile device on the desktop side too. At first look, it appears to be a bug with how the image is downscaled and then upscaled during the processing. We're continuing to look into this and will keep you posted.
Resolving this as it should be merged now.
hello @YumTheDeathGod would you mind to share your solution on this here please? (especially for ios)
@YumTheDeathGod it would be really helpful if you could provide the code
Describe the bug Tried to implement the background blur functionality in react native project. So I have integrated all the necessary binaries into the project like amazon-chime-sdk, amazon-chime-sdk-media, amazon-chime-sdk-machine-learning. I have created a function to implement the background blur on click of button inside NativeMobileSDKBridge. Like this: @ReactMethod fun setBackgroundBlur(enabled: Boolean) { logger.info(TAG, "this is background blur functionality $enabled")
Above function is imported inside bridge.js file like this: setBackgroundBlur: NativeModules.NativeMobileSDKBridge.setBackgroundBlur
And use this function on js:
<BlurButton onPress={() => { NativeFunction.setBackgroundBlur(!isBlurEnabled); // Value is hard coded for demo purpose }} />
To Reproduce Steps to reproduce the behavior:
Expected behavior It should have applied blur effect on background but its freezing the video
Logs If applicable, add logs from logcat to help explain your problem.
Screenshots If applicable, add screenshots to help explain your problem.
Test environment Info (please complete the following information):
Hey folks first of all
Is my implementation is correct if yes then why my video getting freeze on remote side as well as on local side also?
and If it not a correct implementation then please help me to do so.Logs for debugging
Thanks