---
title: dependsOnOthers
framework: coremedia
role: symbol
role_heading: Instance Property
path: coremedia/cmsamplebuffer/sampleattachments-swift.struct/dependsonothers
---

# dependsOnOthers

Indicates whether the sample depends on other samples for decoding.

## Declaration

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

## Discussion

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.
