Contents

AVURLAssetReferenceRestrictionsKey

A value that represents the restrictions used by the asset when resolving references to external media data.

Declaration

let AVURLAssetReferenceRestrictionsKey: String

Discussion

The corresponding value is an NSNumber that wraps an AVAssetReferenceRestrictions enum value, or the logical combination of multiple enum values, that indicate the restrictions the asset uses when resolving references to external media data.

Some assets can contain references to media data stored outside the asset’s container file, for example in another file. Use this key to specify the policy to use when the asset encounters these references. If an asset contains one or more references to a type forbidden by the reference restriction, loading of asset properties fails, and you can’t use this asset with other AVFoundation objects, such as AVPlayerItem or AVAssetExportSession.

Topics

Data types

See Also

Options