diff --git a/android/src/com/google/zxing/client/android/camera/CameraConfigurationManager.java b/android/src/com/google/zxing/client/android/camera/CameraConfigurationManager.java index 02a835ff6..8bce3b66a 100644 --- a/android/src/com/google/zxing/client/android/camera/CameraConfigurationManager.java +++ b/android/src/com/google/zxing/client/android/camera/CameraConfigurationManager.java @@ -179,6 +179,10 @@ final class CameraConfigurationManager { CameraConfigurationUtils.setMetering(parameters); } + //SetRecordingHint to true also a workaround for low framerate on Nexus 4 + //https://stackoverflow.com/questions/14131900/extreme-camera-lag-on-nexus-4 + parameters.setRecordingHint(true); + } parameters.setPreviewSize(bestPreviewSize.x, bestPreviewSize.y);