<!--
{
  "availability" : [
    "iOS: 8.0.0 - 27.0.0",
    "iPadOS: 8.0.0 - 27.0.0",
    "macCatalyst: 13.1.0 - 27.0.0",
    "macOS: 10.10.0 - 27.0.0",
    "tvOS: 9.0.0 - 27.0.0",
    "visionOS: 1.0.0 - 27.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVAssetReaderOutput/supportsRandomAccess",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVAssetReaderOutput(py)supportsRandomAccess"
  },
  "title" : "supportsRandomAccess"
}
-->

# supportsRandomAccess

A Boolean value that indicates whether the output supports reconfiguring the time ranges it reads.

```
var supportsRandomAccess: Bool { get set }
```

## Discussion

The default value is <doc://com.apple.documentation/documentation/Swift/false>, which means you can’t reconfigure the output after reading begins. This setting may result in more efficient reading, particularly when you’re using multiple asset reader outputs.

A value of <doc://com.apple.documentation/documentation/Swift/true> indicates that you can reconfigure the output’s time ranges after reading begins by calling the [`reset(forReadingTimeRanges:)`](/documentation/AVFoundation/AVAssetReaderOutput/reset(forReadingTimeRanges:)) method. This setting also prevents the asset reader from progressing to a completed state until you call the [`markConfigurationAsFinal()`](/documentation/AVFoundation/AVAssetReaderOutput/markConfigurationAsFinal()) method.

You can’t set this value after you call [`startReading()`](/documentation/AVFoundation/AVAssetReader/startReading()) on the asset reader.

---

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)