Contents

remote(serverName:signalingHeaders:)

Connects to a remote endpoint by server name.

Declaration

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

Discussion

The framework uses the server name to look up the remote URL from the app’s ApprovedStreamingEndpoints in Info.plist.

  • Parameter

    • serverName: The server name corresponding to an entry in the ApprovedStreamingEndpoints dictionary.

    • signalingHeaders: HTTP headers which the session forwards to the remote server. Use these headers for authentication and session management.