<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVAssetReaderOutput/Provider",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "s:So19AVAssetReaderOutputC12AVFoundationE8ProviderC"
  },
  "title" : "AVAssetReaderOutput.Provider"
}
-->

# AVAssetReaderOutput.Provider

An object that reads a collection of samples of a common media type from an asset reader.

```
class Provider<Payload> where Payload : AVAssetReaderOutput.SupportedPayload
```

## Topics

### Reading media data

[`func captionsNotPresentInPreviousGroups(in: AVCaptionGroup) -> [AVCaption]`](/documentation/AVFoundation/AVAssetReaderOutput/Provider/captionsNotPresentInPreviousGroups(in:))

Returns the set of captions that are present in the given group but were not present in any group previously vended by calls to next().

[`func next() async throws -> Payload?`](/documentation/AVFoundation/AVAssetReaderOutput/Provider/next())

Returns the next piece of media data.



---

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)