Fix streaming over the external IP address when discovered via mDNS

This commit is contained in:
Cameron Gutman
2015-07-10 00:28:51 -07:00
parent 48d1c1a080
commit 935fb6ffe3
7 changed files with 27 additions and 10 deletions

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]]];