<!--
{
  "availability" : [
    "visionOS: 26.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FoveatedStreaming",
  "identifier" : "/documentation/FoveatedStreaming/FoveatedStreamingSession/Endpoint",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Foveated Streaming",
      "FoveatedStreaming"
    ],
    "preciseIdentifier" : "s:17FoveatedStreaming0aB7SessionC8EndpointV"
  },
  "title" : "FoveatedStreamingSession.Endpoint"
}
-->

# FoveatedStreamingSession.Endpoint

A streaming endpoint that a foveated streaming session can connect to.

```
struct Endpoint
```

## Overview

Use this object to specify the local or cloud streaming endpoint your foveated streaming session connects to when you call [`connect(endpoint:)`](/documentation/FoveatedStreaming/FoveatedStreamingSession/connect(endpoint:)).

## Topics

### Type Properties

[`static var systemDiscovered: FoveatedStreamingSession.Endpoint`](/documentation/FoveatedStreaming/FoveatedStreamingSession/Endpoint/systemDiscovered)

Connects to an endpoint the person selects from a list of endpoints the system discovers and presents.

### Type Methods

[`static func local(ipAddress: any IPAddress, port: NWEndpoint.Port) -> FoveatedStreamingSession.Endpoint`](/documentation/FoveatedStreaming/FoveatedStreamingSession/Endpoint/local(ipAddress:port:))

Connects to a local endpoint by IP address and port number.

[`static func remote(URL, signalingHeaders: [String : String]) -> FoveatedStreamingSession.Endpoint`](/documentation/FoveatedStreaming/FoveatedStreamingSession/Endpoint/remote(_:signalingHeaders:))

Connects to a remote endpoint at a specific URL.

[`static func remote(serverName: String, signalingHeaders: [String : String]) -> FoveatedStreamingSession.Endpoint`](/documentation/FoveatedStreaming/FoveatedStreamingSession/Endpoint/remote(serverName:signalingHeaders:))

Connects to a remote endpoint by server name.

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Decodable`](/documentation/Swift/Decodable)

[`Encodable`](/documentation/Swift/Encodable)

[`Sendable`](/documentation/Swift/Sendable)

[`Hashable`](/documentation/Swift/Hashable)

[`Equatable`](/documentation/Swift/Equatable)

---

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)