Instance Property

automaticallyAdjustsVideoHDREnabled

A Boolean value that indicates whether the capture device is allowed to turn high dynamic range streaming on or off.

Declaration

@property(nonatomic) BOOL automaticallyAdjustsVideoHDREnabled;

Discussion

The default value is YES. By default, AVCaptureDevice always sets videoHDREnabled to NO when a client sets a new format using the activeFormat property.

When the client uses the AVCaptureSession property sessionPreset instead, AVCaptureDevice turns video HDR on automatically if it's a good fit for the preset. An NSGenericException exception is thrown if this property is set without first obtaining exclusive access to the receiver using lockForConfiguration:. Clients can use Key-value observing of the videoHDREnabled property to know when the receiver has automatically changed the value.

See Also

Managing High Dynamic Range Video

videoHDREnabled

A Boolean value that indicates whether the receiver is allowed to turn high dynamic range streaming on or off.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software