A Boolean value that indicates whether the capture device is allowed to turn high dynamic range streaming on or off.
SDKs
- iOS 8.0+
- Mac Catalyst 13.0+
Framework
- AVFoundation
Declaration
var automaticallyAdjustsVideoHDREnabled: Bool { get set }
Discussion
The default value is true
. By default, AVCapture
always sets is
to false
when a client sets a new format using the active
property.
When the client uses the AVCapture
property session
instead, AVCapture
turns video HDR on automatically if it's a good fit for the preset. An generic
exception is thrown if this property is set without first obtaining exclusive access to the receiver using lock
. Clients can use Key-value observing of the is
property to know when the receiver has automatically changed the value.