DeepARSDK / videocall-android-java

Video call using Agora.io SDK with face masks provided by DeepAR SDK
https://developer.deepar.ai
MIT License
14 stars 7 forks source link

Method called from the thread that DeepAR was not initialized in #11

Closed huang840801 closed 1 year ago

huang840801 commented 2 years ago

I just changed the license_key and agora_id and build the app, but ran into this error. image how to solve it.

rs-hungnl commented 2 years ago

try this

Screen Shot 2022-03-13 at 17 05 06 Screen Shot 2022-03-13 at 17 04 54
KalanaPerera commented 2 years ago

did you able to fix this?

rs-hungnl commented 2 years ago

the demo run on wrong thread. just change to main thread like above

MateGasparini commented 1 year ago

Hi all,

Thanks for reporting this issue.

We have pushed a fix in 451fd1d7. Also, thanks for proposing the solution, @rs-hungnl.