--- title: "How do I optimize camera performance in dark environments?" slug: "how-do-i-optimize-camera-performance-in-dark-environments" updated: 2024-02-07T16:16:37Z published: 2024-02-07T16:16:37Z canonical: "support.vuzix.com/how-do-i-optimize-camera-performance-in-dark-environments" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.vuzix.com/llms.txt > Use this file to discover all available pages before exploring further. # How do I optimize camera performance in dark environments? 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.