I use the npm package react-native-camera and I would like to have a view like when you have a WhatsApp video-call, but just with your own cameras.
I want my back camera in fullscreen and the front camera as a small component over the other one.
This is in my render() method:
return (
<View style={styles.container}>
<RNCamera
style={styles.back}
type={RNCamera.constants.Type.back}>
</RNCamera>
<RNCamera
style={styles.front}
type={RNCamera.constants.Type.front}>
</RNCamera>
</View>
);
But there is always just the first camera running.
It's on MacOS and I run it on a device, an iPhone SE.