init(taggedBuffers:formatDescription:presentationTimeStamp:duration:)
Creates a sample buffer carrying tagged buffers.
Declaration
init(taggedBuffers content: Content, formatDescription: CMTaggedBufferGroupFormatDescription? = nil, presentationTimeStamp: CMTime, duration: CMTime = .invalid)Parameters
- formatDescription:
Format description of the content. The format must be have tagged buffer group media type.
- presentationTimeStamp:
The time at which sample will be presented. Must be valid numeric time.
- duration:
Duration of the sample. Set to
CMTime/invalidif not present.