Platforms to show: All Mac Windows Linux Cross-Platform

Back to AVAssetReaderOutputMetadataAdaptorMBS class.

AVAssetReaderOutputMetadataAdaptorMBS.assetReaderOutputMetadataAdaptorWithAssetReaderTrackOutput(trackOutput as AVAssetReaderTrackOutputMBS) as AVAssetReaderOutputMetadataAdaptorMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundation MBS AVFoundation Plugin 14.4 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates a new timed metadata group adaptor for retrieving timed metadata group objects from an asset reader output.

Parameter: an instance of AVAssetReaderTrackOutput that vends sample buffers containing metadata, e.g. an AVAssetReaderTrackOutput object initialized with a track of media type AVMediaTypeMetadata and nil outputSettings.

Returns an instance of AVAssetReaderOutputMetadataAdaptor

It is an error to create a timed metadata group adaptor with an asset reader output that does not vend metadata. It is also an error to create a timed metadata group adaptor with an asset reader output whose asset reader has already started reading, or an asset reader output that already has been used to initialize another timed metadata group adaptor.

Clients should not mix calls to AVAssetReaderTrackOutput.NextSampleBuffer and AVAssetReaderOutputMetadataAdaptor.nextTimedMetadataGroup. Once an AVAssetReaderTrackOutput instance has been used to initialize an AVAssetReaderOutputMetadataAdaptor, calling NextSampleBuffer on that instance will result in an exception being thrown.

AVAssetReaderOutputMetadataAdaptorMBS.available as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundation MBS AVFoundation Plugin 14.4 ✅ Yes ❌ No ❌ No ✅ Yes All
Whether this class is available.

Should be true on Mac OS X 10.10 and newer.

The items on this page are in the following plugins: MBS AVFoundation Plugin.


The biggest plugin in space...