mrousavy / react-native-vision-camera

📸 A powerful, high-performance React Native Camera library.
https://react-native-vision-camera.com
MIT License
6.72k stars 1k forks source link

✨ Is it possible to display the front and back cameras at the same time #2598

Closed Dablu77 closed 2 months ago

Dablu77 commented 3 months ago

What feature or enhancement are you suggesting?

Displaying both the front and back cameras simultaneously in a React Native application is technically feasible, but it's not straightforward using the react-native-camera library alone. The library is designed to handle a single camera instance at a time.

What Platforms whould this feature/enhancement affect?

Android

Alternatives/Workarounds

Is it possible to display the front and back cameras at the same time

Additional information

bglgwyng commented 3 months ago

I haven't tried it before, but could you try just rendering two Camera components at the same time?

mrousavy commented 2 months ago

Might work on Android, will not work on iOS. This would require a lot of effort, but we actually built something like this before at Margelo. The Capture Session is a multi-cam session then.

baatten commented 2 weeks ago

Can we record from both? I mean without displaying it?