New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
馃悰 audio flag is ignored when recording video with Android device #237
Comments
Right, this is a limitation of CameraX. I have created an issue in the CameraX issue tracker and the Google team is working on this. Currently, audio will simply not be recorded when either the permission has not been granted, or the audio session failed to set up (e.g. while on a call or any other error) |
I did try playing with microphone permissions as workaround but it actually red errored when I revoked microphone permission and crashed the camera. |
can you share the native logs (Android Studio/Logcat) for when it crashed? |
|
Can confirm, that revoking microphone permission does not crash anymore. However hot reload breaks the example app now with:
|
Can you try with #258 to see if that fixes the hot-reload bug for you? |
Fails to compile unless HybridData? is changed to HybridData in src/main/java/com/mrousavy/camera/frameprocessor/FrameProcessorRuntimeManager.kt at line 64 But once it compiles it does not crash anymore 馃憤 |
thanks, merged. |
What
The audio flag seems to have no effect. It will record audio regardless if it's true or false on Pixel 4a.
Reproducable sample
react-native-vision-camera example code.
The text was updated successfully, but these errors were encountered: