Platforms to show: All Mac Windows Linux Cross-Platform
Back to AVAssetReaderOutputMBS class.
AVAssetReaderOutputMBS.alwaysCopiesSampleData as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
When the value of this property is true, the output always vends a buffer with copied data—you can freely modify data in such buffers.
When the value of this property is false, the buffers vended may not be copied—such buffers may still be referenced by other entities. The result of modifying a buffer whose data hasn't been copied is undefined.
Requesting buffers whose data hasn't been copied when possible can lead to performance improvements.
The default value of this property is true.
Available in OS X v10.8 and later.
(Read and Write property)
AVAssetReaderOutputMBS.Handle as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
(Read and Write property)
AVAssetReaderOutputMBS.mediaType as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The value of this property is one of the media type strings defined in AVMediaFormat.h.
(Read only property)
AVAssetReaderOutputMBS.supportsRandomAccess as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | AVFoundation | MBS AVFoundation Plugin | 14.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
When the value of this property is true, the time ranges read by the asset reader output can be reconfigured during reading using the -resetForReadingTimeRanges method. This also prevents the attached AVAssetReader from progressing to AVAssetReaderStatusCompleted until markConfigurationAsFinal has been invoked.
The default value is false, which means that the asset reader output may not be reconfigured once reading has begin. When the value of this property is false, AVAssetReader may be able to read media data more efficiently, particularly when multiple asset reader outputs are attached.
This property may not be set after startReading has been called on the attached asset reader.
(Read and Write property)
The items on this page are in the following plugins: MBS AVFoundation Plugin.