connections
The connections between inputs and outputs that a capture session contains.
Declaration
var connections: [AVCaptureConnection] { get }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.