---
title: "removeStreamOutput(_:type:)"
framework: screencapturekit
role: symbol
role_heading: Instance Method
path: "screencapturekit/scstream/removestreamoutput(_:type:)"
---

# removeStreamOutput(_:type:)

Removes a destination from receiving stream output.

## Declaration

```swift
func removeStreamOutput(_ output: any SCStreamOutput, type: SCStreamOutputType) throws
```

## Parameters

- `output`: The object to remove that conforms to the stream output protocol.
- `type`: The stream output type.

## See Also

### Adding and removing stream output

- [addStreamOutput(_:type:sampleHandlerQueue:)](screencapturekit/scstream/addstreamoutput(_:type:samplehandlerqueue:).md)
