---
title: defaultMediaDataStorage
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avmutablemovie/defaultmediadatastorage
---

# defaultMediaDataStorage

The default storage container for media data that you add to a movie.

## Declaration

```swift
@NSCopying var defaultMediaDataStorage: AVMediaDataStorage? { get set }
```

## Discussion

Discussion This value specifies a location to write sample data that you add to a movie, for any track for whose mediaDataStorage property is nil.

## See Also

### Configuring a movie

- [isModified](avfoundation/avmutablemovie/ismodified.md)
- [timescale](avfoundation/avmutablemovie/timescale.md)
- [interleavingPeriod](avfoundation/avmutablemovie/interleavingperiod.md)
