<!--
{
  "availability" : [
    "iOS: 4.0.0 -",
    "iPadOS: 4.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 10.7.0 -",
    "tvOS: 17.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVCaptureInput/ports",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVCaptureInput(py)ports"
  },
  "title" : "ports"
}
-->

# ports

The ports available on a capture input.

```
var ports: [AVCaptureInput.Port] { get }
```

## Discussion

Individual ports post an [`formatDescriptionDidChangeNotification`](/documentation/AVFoundation/AVCaptureInput/Port/formatDescriptionDidChangeNotification) notification when their [`formatDescription`](/documentation/AVFoundation/AVCaptureInput/Port/formatDescription) changes.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)