connect(endpoint:streamingProvider:)
Establishes a streaming connection at the provided endpoint using the specified streaming provider.
Declaration
@MainActor final func connect(endpoint: FoveatedStreamingSession.Endpoint = .systemDiscovered, streamingProvider: FoveatedStreamingSession.StreamingProvider) async throwsParameters
- endpoint:
The endpoint to connect to (local IP, remote URL, or system-discovered).
- streamingProvider:
The specific streaming provider to use for this connection.
Discussion
This overload allows you to explicitly specify which streaming provider extension to use.