Specifies where to lay out the media data and whether to interleave the media data as the main media data.
- iOS 11.0+
- macOS 10.13+
- Mac Catalyst 13.0+
- tvOS 11.0+
If this value is set to
AVAsset tries to write the media data for this track before all of the media data for asset writer inputs with this property set to
Use this property to optimize tracks that contain a small amount of data you need all at once, independent of playback time, such as chapter name tracks and chapter image tracks.
Keep it set to
AVAsset for tracks with media data needed only as its presentation time is approaching and, when multiple inputs are present that supply media data playing concurrently and you interleave for optimal access.
For file types that support preloading media data such as QuickTime movie file, if this value is set to
AVAsset will write an indication, such as the 'load' atom, to preload the whole media data.
The default value is
AVAsset, which means that the receiver won't write the indication and to interleave the media data.
This property can't be set after calling
start on the receiver.