Open davidfeldt opened 1 day ago
Guten Tag, Hans here! 🥨
Thanks for reporting this issue. It seems like you might be facing a crash when stopping the video recording. However, to better assist you, could you please provide more detailed logs from Xcode? Specifically, look for any runtime errors in ze console window to help us diagnose zhis issue more effectively.
Also, make sure to check if zhese issues can be replicated in a basic example with only ze vision camera functionality, as it might help in pinpointing onde the problem lies.
If you're enjoying ze project, consider supporting mrousavy by sponsoring him: Sponsor mrousavy. Your support helps in maintaining ze project!
Looking forward to your updates! 🍻
Note: If you think I made a mistake, please ping
@mrousavy
to take a look.
What's happening?
When user stops recording a video, app crashes. The error log from XCode shows the following (see image)
This happened when we upgraded to version 4.5.2 of the library. The error seems to be happening in the Swift CameraSession+Audio.swift file
final func deactivateAudioSession() { VisionLogger.log(level: .info, message: "Deactivating Audio Session...")
}
This was working fine before we upgraded to RN 0.75 with react-native-vision-camera v. 4.5.2
Reproduceable Code
Relevant log output
Camera Device
Device
iPhone 14 Pro Max
VisionCamera Version
4.5.2
Can you reproduce this issue in the VisionCamera Example app?
No, I cannot reproduce the issue in the Example app
Additional information