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

[BUG] set BeautyEffectOptions not working #67

Closed
Hawaii88 opened this issue Feb 9, 2022 · 2 comments
Closed

[BUG] set BeautyEffectOptions not working #67

Hawaii88 opened this issue Feb 9, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@Hawaii88
Copy link

Hawaii88 commented Feb 9, 2022

Set up Beauty Effect Options not working

I use agora_rtc_engine: ^4.0.7 to set with flutter. already adjust following the document but still not working.

To Reproduce
Steps to reproduce the behavior:
_engine.setBeautyEffectOptions(
true,
BeautyOptions(
lighteningContrastLevel: LighteningContrastLevel
lighteningLevel: value / 10,
rednessLevel: value / 10,
smoothnessLevel: value / 10,
),

Expected behavior
It's suppost to working on frontend.

Screenshots
So i attacted video screenshot to show how I adjust.

Smartphone:

Device: [e.g. iPhone12]
OS: [e.g. iOS15.2.1]
666045070.413774.mp4.zip

@Meherdeep
Copy link
Contributor

@Hawaii88 I am not so sure how you're calling the _engine. But the correct method to call the setBeautyEffectOptions from the UIKit would be :

client.sessionController.value.engine.setBeautyEffectOptions(enabled, options)

@Meherdeep
Copy link
Contributor

@Hawaii88 Closing this issue for now. Feel free to open it again if you're still facing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants