<!--
{
  "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/CMReadySampleBuffer/presentationTimeStamp-7ea7z",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Core Media"
    ],
    "preciseIdentifier" : "s:9CoreMedia19CMReadySampleBufferV21presentationTimeStampSo6CMTimeavp"
  },
  "title" : "presentationTimeStamp"
}
-->

# presentationTimeStamp

Numerically earliest sample presentation timestamp in the sample buffer.

```
var presentationTimeStamp: CMTime { get }
```

## Discussion

For in-presentation-order samples, this is the presentation timestamp of the first sample.

For out-of-presentation-order samples, this is the presentation timestamp of the sample that will be presented
first, which is not necessarily the first sample in the buffer.

Returns [`invalid`](/documentation/CoreMedia/CMTime/invalid) if `sampleTimings` is empty or contains invalid [`presentationTimeStamp`](/documentation/CoreMedia/CMSampleTimingInfo/presentationTimeStamp).

---

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)