requiredMetadataObjectTypesForCinematicVideoCapture
The required metadata object types when Cinematic Video capture is enabled.
Declaration
var requiredMetadataObjectTypesForCinematicVideoCapture: [AVMetadataObject.ObjectType] { get }Discussion
Since the Cinematic Video algorithm requires a particular set of metadata objects to function optimally, you must set your metadataObjectTypes property to this property’s returned value if you’ve set isCinematicVideoCaptureEnabled to true on the connected device input, otherwise an NSInvalidArgumentException is thrown.