react-native-vision-camera
react-native-vision-camera copied to clipboard
🐛 react-native-vision-camera Crash on MI and Realme Phone
What were you trying to do?
<>
<Camera
ref={camera}
device={device}
style={StyleSheet.absoluteFill}
isActive={true}
video={true}
audio={true} />
</>
Reproduceable Code
<>
<Camera
ref={camera}
device={device}
style={StyleSheet.absoluteFill}
isActive={true}
video={true}
audio={true} />
</>
if i am doing isActive = true then it is crashed when i am recording the video in MI and REALME phone althought other phone like samsung , oppo it is working fine.
What happened instead?
No error getting , even i am applying adb logcat but no any i am getting
Relevant log output
No response
Device
RMX3085 Realme 8
VisionCamera Version
2.14.1
Additional information
- [ ] I am using Expo
- [X] I have read the Troubleshooting Guide
- [X] I agree to follow this project's Code of Conduct
- [X] I searched for similar issues in this repository and found none.
Facing same issue any solution?
java.lang.IllegalStateException: Surface was requested when the Recorder had encountered error androidx.camera.video.internal.ResourceCreationException: androidx.camera.video.internal.encoder.InvalidConfigException . . .
Camera was working fine before the new Android update and this package is still working fine in IOS
Camera was working fine before the new Android update and this package is still working fine in IOS
Mind to elaborate what "new Android update" are we talking about here? Update from Android 11 to 12 or just some random OTA patch issued by phone manufacturers?
Possible duplicate of #907 (solution inside)
Closing as this is a stale issue - this might have been fixed with the full rewrite in VisionCamera V3 (🥳) - if not, please create a new issue.