---
title: mediaDataStorage
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avmovietrack/mediadatastorage
---

# mediaDataStorage

The storage container for media data added to a track.

## Declaration

```swift
@NSCopying var mediaDataStorage: AVMediaDataStorage? { get }
```

## Discussion

Discussion The value of this property is an AVMediaDataStorage object that indicates the location to which the system writes media data when it’s inserted or appended.

## See Also

### Retrieving track information

- [alternateGroupID](avfoundation/avmovietrack/alternategroupid.md)
- [mediaDecodeTimeRange](avfoundation/avmovietrack/mediadecodetimerange.md)
- [mediaPresentationTimeRange](avfoundation/avmovietrack/mediapresentationtimerange.md)
