---
title: "setStreamProperties(_:)"
framework: coremediaio
role: symbol
role_heading: Instance Method
path: "coremediaio/cmioextensionstreamsource/setstreamproperties(_:)"
---

# setStreamProperties(_:)

Sets the property state of a stream.

## Declaration

```swift
func setStreamProperties(_ streamProperties: CMIOExtensionStreamProperties) throws
```

## Parameters

- `streamProperties`: A properties object that contains the new property states.

## See Also

### Managing Stream Properties

- [availableProperties](coremediaio/cmioextensionstreamsource/availableproperties.md)
- [streamProperties(forProperties:)](coremediaio/cmioextensionstreamsource/streamproperties(forproperties:).md)
