CMSampleBuffer
A reference to a buffer of media data.
Declaration
class CMSampleBufferOverview
A sample buffer is a Core Foundation object that contains zero or more media samples of a particular type (audio, video, muxed, and so on).
Topics
Determining Readiness
Invalidating Sample Buffers
Inspecting Size Information
Inspecting Duration and Timing
durationdecodeTimeStamppresentationTimeStampoutputDurationoutputDecodeTimeStampoutputPresentationTimeStampsetOutputPresentationTimeStamp(_:)sampleTimingInfos()sampleTimingInfo(at:)outputSampleTimingInfos()
Accessing the Format Description
Modifying Sample Buffers
dataBuffersetDataBuffer(_:)imageBufferwithAudioBufferList(blockBufferMemoryAllocator:flags:body:)setDataBuffer(fromAudioBufferList:blockBufferMemoryAllocator:flags:)copyPCMData(fromRange:into:)audioStreamPacketDescriptions()withUnsafeAudioStreamPacketDescriptions(_:)singleSampleBuffers()CMSampleBuffer.SingleSampleBuffers
Managing Attachments
CMSampleBuffer.AttachmentKeysampleAttachmentsCMSampleBuffer.SampleAttachmentsArrayCMSampleBuffer.PerSampleAttachmentsDictionary
Accessing the Type Identifier
Accessing Tagged Buffers
Constants
Notifications
Protocols
Structures
CMSampleBuffer.HEVCTemporalInfoCMSampleBuffer.SampleAttachmentsCMSampleBuffer.SamplePropertiesCMSampleBuffer.SamplePropertiesCollection