Fix streaming over the external IP address when discovered via mDNS

This commit is contained in:
Cameron Gutman committed 2015-07-10 00:28:51 -07:00
1 parent 48d1c1a080
commit 935fb6ffe3
7 files changed
+27 -10

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@ static const int MAX_ATTEMPTS = 5;
}
}
if (appImage == nil) {
HttpManager* hMan = [[HttpManager alloc] initWithHost:_host.address uniqueId:[CryptoManager getUniqueID] deviceName:deviceName cert:[CryptoManager readCertFromFile]];
HttpManager* hMan = [[HttpManager alloc] initWithHost:_host.activeAddress uniqueId:[CryptoManager getUniqueID] deviceName:deviceName cert:[CryptoManager readCertFromFile]];
AppAssetResponse* appAssetResp = [[AppAssetResponse alloc] init];
[hMan executeRequestSynchronously:[HttpRequest requestForResponse:appAssetResp withUrlRequest:[hMan newAppAssetRequestWithAppId:self.app.appId]]];