CamView
CamView copied to clipboard
Callback buffer was too small
Hi,
I am getting buffer error when starting camera using ScannerLiveView's startScanner() function. I am running on Android Marshmallow 6 using the latest version of your library. I have also added camera permission in Android manifest file.
E/Camera-JNI: Callback buffer was too small! Expected 460800 bytes, but got 259200 bytes!
E/Camera-JNI: Couldn't allocate byte array for JPEG data
E/Camera-JNI: Callback buffer was too small! Expected 460800 bytes, but got 259200 bytes!
E/Camera-JNI: Couldn't allocate byte array for JPEG data
Update - A clean and rebuild solved the issue, I can see camera now, so I think Android Studio might have been culprit. However, I am still getting the above error in my logcat. Should I be worried about it?