AVAssetReaderHapTrackOutput Class Reference
Inherits from | AVAssetReaderTrackOutput |
Declared in | AVAssetReaderHapTrackOutput.h AVAssetReaderHapTrackOutput.m |
Overview
This subclass of AVAssetReaderTrackOutput works just like its super- you call “copyNextSampleBuffer” on it, and it returns a CMSampleBufferRef made with a CVPixelBufferRef containing RGBA/BGRA image data. The class itself is basically a convenience- it simply uses an AVPlayerItemHapDXTOutput to decode and retrieve data, and as such is relatively lightweight.