---
title: FoveatedStreamingSession.Endpoint
framework: foveatedstreaming
role: symbol
role_heading: Structure
path: foveatedstreaming/foveatedstreamingsession/endpoint
---

# FoveatedStreamingSession.Endpoint

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

## Declaration

```swift
struct Endpoint
```

## Mentioned in

Streaming a CloudXR application to Apple Vision Pro with foveation

## Overview

Overview Use this object to specify the local or cloud streaming endpoint your foveated streaming session connects to when you call connect(endpoint:).

## Topics

### Type Properties

- [systemDiscovered](foveatedstreaming/foveatedstreamingsession/endpoint/systemdiscovered.md)

### Type Methods

- [local(ipAddress:port:)](foveatedstreaming/foveatedstreamingsession/endpoint/local(ipaddress:port:).md)
- [remote(serverName:signalingHeaders:)](foveatedstreaming/foveatedstreamingsession/endpoint/remote(servername:signalingheaders:).md)

## Relationships

### Conforms To

- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
