<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -",
    "watchOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreMedia",
  "identifier" : "/documentation/CoreMedia/CMSampleBuffer/SampleAttachments-swift.struct/dependsOnOthers",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Core Media"
    ],
    "preciseIdentifier" : "s:So17CMSampleBufferRefa9CoreMediaE17SampleAttachmentsV15dependsOnOthersSbSgvp"
  },
  "title" : "dependsOnOthers"
}
-->

# dependsOnOthers

Indicates whether the sample depends on other samples for decoding.

```
var dependsOnOthers: Bool? { get set }
```

## Discussion

This key has no default value. If this key is not present, dependency information for the sample is unknown.
A value of false indicates that the sample does not depend on other samples (for example, an I frame). A
value of true indicates that the sample does depend on other samples (for example, a P or B frame).

This attachment is read from and written to media files.

---

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)