<!--
{
  "availability" : [
    "iOS: 8.0.0 - 18.0.0",
    "iPadOS: 8.0.0 - 18.0.0",
    "macCatalyst: 13.1.0 - 18.0.0",
    "macOS: 10.8.0 - 15.0.0",
    "tvOS: 10.2.0 - 18.0.0",
    "visionOS: 1.0.0 - 2.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVSampleBufferDisplayLayer/isReadyForMoreMediaData",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVSampleBufferDisplayLayer(py)readyForMoreMediaData"
  },
  "title" : "isReadyForMoreMediaData"
}
-->

# isReadyForMoreMediaData

A Boolean value that indicates the readiness of the layer to accept more sample buffers.

```
var isReadyForMoreMediaData: Bool { get }
```

## Discussion

Apple discourages the use of this symbol in iOS 17, tvOS 17, and macOS 14 and later. Use [`isReadyForMoreMediaData`](/documentation/AVFoundation/AVQueuedSampleBufferRendering/isReadyForMoreMediaData) on the [`sampleBufferRenderer`](/documentation/AVFoundation/AVSampleBufferDisplayLayer/sampleBufferRenderer) instead.

`AVSampleBufferDisplayLayer` keeps track of the occupancy levels of its internal queues for the benefit of clients that enqueue sample buffers from non-real-time sources — that is, clients that can supply sample buffers faster than they are consumed and need to decide when to hold back buffers.

Clients enqueueing sample buffers from non-real-time sources may hold off from generating or obtaining more sample buffers to enqueue when the value of `readyForMoreMediaData` is <doc://com.apple.documentation/documentation/Swift/false>.

It is safe to call [`enqueue(_:)`](/documentation/AVFoundation/AVSampleBufferDisplayLayer/enqueue(_:)) when [`isReadyForMoreMediaData`](/documentation/AVFoundation/AVSampleBufferDisplayLayer/isReadyForMoreMediaData) is <doc://com.apple.documentation/documentation/Swift/false>, but enqueing more sample buffers than are required for timely rendering by the receiver is highly discouraged.

To help with control of the non-real-time supply of sample buffers, such clients should use [`requestMediaDataWhenReady(on:using:)`](/documentation/AVFoundation/AVSampleBufferDisplayLayer/requestMediaDataWhenReady(on:using:)) in order to specify a block that the layer should invoke whenever it’s ready for sample buffers to be appended.

The value of `readyForMoreMediaData` will often change from <doc://com.apple.documentation/documentation/Swift/false> to <doc://com.apple.documentation/documentation/Swift/true> asynchronously, as previously supplied sample buffers are decoded and displayed.

> Important:
> This property does not support key-value observing.

---

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)