You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running the hidden camera using this code
mCameraConfig = new CameraConfig()
.getBuilder(this)
.setCameraFacing(CameraFacing.FRONT_FACING_CAMERA)
.setCameraResolution(CameraResolution.HIGH_RESOLUTION)
.setImageFormat(CameraImageFormat.FORMAT_JPEG)
.setImageRotation(CameraRotation.ROTATION_270)
.build();
I keep getting App passed NULL surface error. The mCameraConfig has been properly constructed
The text was updated successfully, but these errors were encountered:
I'm getting the same error using this block: cameraConfig = new CameraConfig() .getBuilder(this) .setCameraFacing(sharedPreferences.getInt("camera", CameraFacing.REAR_FACING_CAMERA)) .setCameraResolution(CameraResolution.HIGH_RESOLUTION) .setImageFormat(CameraImageFormat.FORMAT_JPEG) .setImageRotation(sharedPreferences.getInt("rotation", CameraRotation.ROTATION_0)) .build();
When running the hidden camera using this code
mCameraConfig = new CameraConfig()
.getBuilder(this)
.setCameraFacing(CameraFacing.FRONT_FACING_CAMERA)
.setCameraResolution(CameraResolution.HIGH_RESOLUTION)
.setImageFormat(CameraImageFormat.FORMAT_JPEG)
.setImageRotation(CameraRotation.ROTATION_270)
.build();
I keep getting App passed NULL surface error. The mCameraConfig has been properly constructed
The text was updated successfully, but these errors were encountered: