<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreMedia",
  "identifier" : "/documentation/CoreMedia/CMSampleBufferAttachmentKeyDefinitions/displayEmptyMediaImmediately",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "Core Media"
    ],
    "preciseIdentifier" : "s:9CoreMedia38CMSampleBufferAttachmentKeyDefinitionsO012displayEmptyB11Immediately0A5Video012CVAttachmentF21DefinitionWithDefaultVyAE0L29ModePreferenceShouldPropagateOSbGvpZ"
  },
  "title" : "displayEmptyMediaImmediately"
}
-->

# displayEmptyMediaImmediately

Indicates that the empty marker should be dequeued immediately regardless of its timestamp.

```
static let displayEmptyMediaImmediately: CVAttachmentKeyDefinitionWithDefault<CMSampleBufferAttachmentKeyDefinitions.ShouldPropagate, Bool>
```

## Discussion

Marker sample buffers with this attachment in addition to [`emptyMedia`](/documentation/CoreMedia/CMSampleBufferAttachmentKeyDefinitions/emptyMedia) are used to tell that the empty sample
buffer should be dequeued immediately regardless of its timestamp. This attachment should only be used with
sample buffers with the [`emptyMedia`](/documentation/CoreMedia/CMSampleBufferAttachmentKeyDefinitions/emptyMedia) attachment. The getter returns the default value of false if this
attachment is not present.

---

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)