dataBuffer
A block buffer that contains the media data.
Declaration
var dataBuffer: CMBlockBuffer? { get }Discussion
The property is nil if the sample buffer doesn’t contain a CMBlockBuffer, if the contains a CVImageBuffer, or if there’s an error.
See Also
Modifying Sample Buffers
setDataBuffer(_:)imageBufferwithAudioBufferList(blockBufferMemoryAllocator:flags:body:)setDataBuffer(fromAudioBufferList:blockBufferMemoryAllocator:flags:)copyPCMData(fromRange:into:)audioStreamPacketDescriptions()withUnsafeAudioStreamPacketDescriptions(_:)singleSampleBuffers()CMSampleBuffer.SingleSampleBuffers