Contents

init(dataBuffer:formatDescription:sampleProperties:)

Creates a sample buffer with media data.

Declaration

init(dataBuffer content: Content, formatDescription: CMFormatDescription, sampleProperties: CMSampleBuffer.SamplePropertiesCollection)

Parameters

  • formatDescription:

    Format description of the content.

  • sampleProperties:

    Properties of samples in the sample buffer.