MEFormatReader
A protocol that defines the requirements for a format reader, which represents a single media asset.
Declaration
protocol MEFormatReader : NSObjectProtocolOverview
This protocol provides an interface for the Media Toolbox to interact with extension plug-in format readers, which provide information about media assets. MEFormatReader objects are always instantiated by the Media Toolbox.
To create an MEFormatReader object, Media Toolbox first creates a primary MEByteSource object from a source media asset. It then creates an MEFormatReaderExtension object and calls its formatReader(with:options:) method.
Once a user installs and runs the host app, embedded MediaExtension format reader extensions become available to any app on the user’s system that opts in to using them by calling MTRegisterProfessionalVideoWorkflowFormatReaders().
Topics
Reading and parsing media assets
loadFileInfo(completionHandler:)loadMetadata(completionHandler:)loadTrackReaders(completionHandler:)parseAdditionalFragments(completionHandler:)MEFormatReaderParseAdditionalFragmentsStatus