<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 14.0.0 -",
    "tvOS: 17.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVCaptureDevice/isVideoHDREnabled",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVCaptureDevice(py)videoHDREnabled"
  },
  "title" : "isVideoHDREnabled"
}
-->

# isVideoHDREnabled

A Boolean value that indicates whether the device streams high dynamic range video buffers, also known as extended dynamic range (EDR).

```
var isVideoHDREnabled: Bool { get set }
```

## Discussion

The device ignores the value of this property when [`activeColorSpace`](/documentation/AVFoundation/AVCaptureDevice/activeColorSpace) is HLG BT2020 color space because HDR is effectively always on and can’t be disabled.

Before changing the value of this property, you must call [`lockForConfiguration()`](/documentation/AVFoundation/AVCaptureDevice/lockForConfiguration()) to acquire exclusive access to the device’s configuration properties. Otherwise, setting the value of this property raises an exception. When you finish configuring the device, call [`unlockForConfiguration()`](/documentation/AVFoundation/AVCaptureDevice/unlockForConfiguration()) to release the lock and allow other devices to configure the settings.

Note that setting this property may cause a lengthy reconfiguration of the device, similar to setting a new active format or capture session preset. If you’re setting either the active format or the [`sessionPreset`](/documentation/AVFoundation/AVCaptureSession/sessionPreset) *and* this property, you should bracket these operations with [`beginConfiguration()`](/documentation/AVFoundation/AVCaptureSession/beginConfiguration()) and session [`commitConfiguration()`](/documentation/AVFoundation/AVCaptureSession/commitConfiguration()) to minimize reconfiguration time.

This property is key-value observable.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)