Contents

sequential(presentationTimeOfFirstSample:uniformDuration:decodeTimeOfFirstSample:)

All samples are adjacent to each other and have the same duration.

Declaration

static func sequential(presentationTimeOfFirstSample: CMTime, uniformDuration: CMTime, decodeTimeOfFirstSample: CMTime = .invalid) -> CMSampleBuffer.TimingPerSample

Parameters

  • presentationTimeOfFirstSample:

    Time at which the first sample is presented.

  • uniformDuration:

    Duration shared by ever sample in the sample buffer.

  • decodeTimeOfFirstSample:

    Time at which the first sample is decoded. Samples must have the same decode and presentation order.