disconnect()
Disconnects from the remote streaming endpoint, ending the streaming session.
Declaration
@MainActor final func disconnect() asyncDiscussion
When this function returns, the foveated streaming session’s status will equal FoveatedStreamingSession.Status.disconnected(_:) with the reason appInitiatedDisconnect.
You can reconnect by calling connect(endpoint:).