---
title: connections
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avcapturesession/connections
---

# connections

The connections between inputs and outputs that a capture session contains.

## Declaration

```swift
var connections: [AVCaptureConnection] { get }
```

## Discussion

Discussion A capture session automatically forms connections between inputs and outputs when you call the addInput(_:) or addOutput(_:) methods. You can explicitly add connections to a session by calling the addConnection(_:) method.

## See Also

### Connecting inputs and outputs

- [addConnection(_:)](avfoundation/avcapturesession/addconnection(_:).md)
- [canAddConnection(_:)](avfoundation/avcapturesession/canaddconnection(_:).md)
- [addInputWithNoConnections(_:)](avfoundation/avcapturesession/addinputwithnoconnections(_:).md)
- [addOutputWithNoConnections(_:)](avfoundation/avcapturesession/addoutputwithnoconnections(_:).md)
- [removeConnection(_:)](avfoundation/avcapturesession/removeconnection(_:).md)
- [AVCaptureAudioChannel](avfoundation/avcaptureaudiochannel.md)
