---
title: formats
framework: coremediaio
role: symbol
role_heading: Instance Property
path: coremediaio/cmioextensionstreamsource/formats
---

# formats

An array of formats that a stream supports.

## Declaration

```swift
var formats: [CMIOExtensionStreamFormat] { get }
```

## Discussion

Discussion Don’t change stream formats during the life cycle of the associated stream.

## See Also

### Accessing the Source Format

- [CMIOExtensionStreamFormat](coremediaio/cmioextensionstreamformat.md)
