<!--
{
  "availability" : [
    "iOS: 9.3.0 -",
    "iPadOS: 9.3.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.11.3 -",
    "tvOS: 9.2.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.3.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVPlayerItem/remove(_:)-29iuz",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVPlayerItem(im)removeMediaDataCollector:"
  },
  "title" : "remove(_:)"
}
-->

# remove(_:)

Removes the specified media data collector from the player item’s collection of media collectors.

```
nonisolated func remove(_ collector: AVPlayerItemMediaDataCollector)
```

## Parameters

`collector`

The instance of [`AVPlayerItemMediaDataCollector`](/documentation/AVFoundation/AVPlayerItemMediaDataCollector) to remove.

## Discussion

---

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)