AVURLAssetShouldSupportAliasDataReferencesKey

Static AVURLAssetShouldSupportAliasDataReferencesKey 

Source
pub unsafe static AVURLAssetShouldSupportAliasDataReferencesKey: &'static NSString
Available on crate feature AVAsset only.
Expand description

Indicates whether alias data references in the asset should be parsed and resolved.

Default is NO. Although the majority of QuickTime movie files contain all of the media data they require, some contain references to media stored in other files. While AVFoundation and CoreMedia typically employ a URL reference for this purpose, older implementations such as QuickTime 7 have commonly employed a Macintosh alias instead, as documented in the QuickTime File Format specification. If your application must work with legacy QuickTime movie files containing alias-based references to media data stored in other files, the use of this AVURLAsset initialization option is appropriate.

If you provide a value for AVURLAssetReferenceRestrictionsKey, restrictions will be observed for resolved alias references just as they are for URL references.

For more details about alias resolution, consult documentation of the bookmark-related interfaces of NSURL.

See also Apple’s documentation