Apparence-io / CamerAwesome

📸 Embedding a camera experience within your own app shouldn't be that hard. A flutter plugin to integrate awesome Android / iOS camera experience.
https://ApparenceKit.dev
MIT License
910 stars 199 forks source link

Multi camera not working and not showing #376

Open user97116 opened 1 year ago

istornz commented 1 year ago

Hello, what device are you using ? Android / iOS ?

Thanks !

user97116 commented 1 year ago

@istornz Android

istornz commented 1 year ago

@user97116 Thanks for your answer 👍

What is your phone model & Android version ?

Thanks in advance,

kyrill-bo commented 1 year ago

I have maybe the same problem. If I run the provided example of multiple cams on a virtual device (Pixel 3 API 33), it works fine. But on a real device (S9 API 29), it doesn't work. Until now, I could not find the problem behind it.

user97116 commented 1 year ago

@istornz Check this in this showing and working multi camera fine here https://github.com/Kurun-pan/android-multi-camera

istornz commented 1 year ago

Hello @kyrill-bo Multi camera are not supported on all device... Can you can check what isMultiCamSupported() method return ?

Thanks 👍

Hello @user97116, this repository use Camera2 instead of CameraX which is used on Camerawesome.

kyrill-bo commented 1 year ago

@istornz yeah, it's not supported. had wondered how the app BeReal does it. apparently they just do it alternately. first one camera takes the photo then the other.

anyway thanks

istornz commented 1 year ago

@kyrill-bo Yeah, BeReal do not display both camera previews... Camerawesome need to display 2 previews at once so we need to use multi cam feature.