---
title: "sequential(presentationTimeOfFirstSample:uniformDuration:decodeTimeOfFirstSample:)"
framework: coremedia
role: symbol
role_heading: Type Method
path: "coremedia/cmsamplebuffer/timingpersample/sequential(presentationtimeoffirstsample:uniformduration:decodetimeoffirstsample:)"
---

# sequential(presentationTimeOfFirstSample:uniformDuration:decodeTimeOfFirstSample:)

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

## Declaration

```swift
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.
