AVFragmentedAsset
An asset with a duration that the system can extend without modifying its existing media data.
Declaration
class AVFragmentedAssetOverview
By using an mvex box in their moov box, QuickTime movie files and MPEG-4 files can indicate that they accommodate additional fragments. To determine whether a fragmented asset can monitor the addition of fragments, check the value of its canContainFragments property.
Associate a fragmented asset with an instance of AVFragmentedAssetMinder to know when the system appends new fragments. When it has an associated asset minder, AVFragmentedAssetTrack posts AVAssetDurationDidChangeNotification notifications whenever it detects new fragments. It may also post AVAssetContainsFragmentsDidChangeNotification and AVAssetWasDefragmentedNotification, as the documentation of those notifications explains.
Topics
Loading tracks
tracksloadTrack(withTrackID:completionHandler:)loadTracks(withMediaType:completionHandler:)loadTracks(withMediaCharacteristic:completionHandler:)