<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -",
    "watchOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreMedia",
  "identifier" : "/documentation/CoreMedia/CMSampleBuffer/TimingPerSample/sequential(presentationTimeOfFirstSample:uniformDuration:decodeTimeOfFirstSample:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Core Media"
    ],
    "preciseIdentifier" : "s:So17CMSampleBufferRefa9CoreMediaE15TimingPerSampleO10sequential023presentationTimeOfFirstH015uniformDuration06decodeklmH0AESo6CMTimea_A2KtFZ"
  },
  "title" : "sequential(presentationTimeOfFirstSample:uniformDuration:decodeTimeOfFirstSample:)"
}
-->

# sequential(presentationTimeOfFirstSample:uniformDuration:decodeTimeOfFirstSample:)

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

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

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)