Implement support for alternate ports with Sunshine

Fixes #529
This commit is contained in:
Cameron Gutman
2023-02-02 21:54:52 -06:00
parent a2b15ed2ac
commit 4f03dd8c08
19 changed files with 247 additions and 42 deletions
+4
View File
@@ -11,6 +11,7 @@
#define TAG_HOSTNAME @"hostname"
#define TAG_EXTERNAL_IP @"ExternalIP"
#define TAG_HTTPS_PORT @"HttpsPort"
#define TAG_LOCAL_IP @"LocalIP"
#define TAG_UNIQUE_ID @"uniqueid"
#define TAG_MAC_ADDRESS @"mac"
@@ -18,6 +19,9 @@
#define TAG_STATE @"state"
#define TAG_CURRENT_GAME @"currentgame"
// Sunshine extension
#define TAG_EXTERNAL_PORT @"ExternalPort"
@interface ServerInfoResponse : HttpResponse <Response>
- (void) populateWithData:(NSData *)data;