Skip to content
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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Callback buffer was too small #61

Open
rohankandwal opened this issue Aug 2, 2016 · 0 comments
Open

Callback buffer was too small #61

rohankandwal opened this issue Aug 2, 2016 · 0 comments

Comments

@rohankandwal
Copy link

rohankandwal commented Aug 2, 2016

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant