When using the Camera1 API:
For the best experience, avoid calling the method setRecordingHint(true). Passing the value true to this method will shorten the exposure time in the shutter, resulting in a higher frame rate, but less brightness.
When using the Camera2 API:
Use CameraDevice.TEMPLATE_PREVIEW over CameraDevice.TEMPLATE_RECORD for increased brightness in low-light environments.