Created Xcode project for compiling universal static lib for iOS

This commit is contained in:
Diego Waxemberg
2014-08-31 13:07:44 -04:00
parent 51b78b628b
commit a0b54e9d42
11 changed files with 644 additions and 4 deletions
+2 -2
View File
@@ -4,8 +4,8 @@
#include "LinkedBlockingQueue.h"
#include "Input.h"
#include "OpenAES\oaes_lib.h"
#include "OpenAES\oaes_common.h"
#include "OpenAES/oaes_lib.h"
#include "OpenAES/oaes_common.h"
static IP_ADDRESS host;
static SOCKET inputSock = INVALID_SOCKET;
+3 -2
View File
@@ -1,5 +1,6 @@
#include "Limelight-internal.h"
#include "Rtsp.h"
#include <arpa/inet.h>
#define RTSP_MAX_RESP_SIZE 16384
@@ -250,7 +251,7 @@ static int sendVideoAnnounce(PRTSP_MESSAGE response, PSTREAM_CONFIGURATION strea
goto FreeMessage;
}
sdpAddr.S_un.S_addr = remoteAddr;
memcpy(&sdpAddr, &remoteAddr, sizeof(remoteAddr));
request.payload = getSdpPayloadForStreamConfig(streamConfig, sdpAddr, &payloadLength);
if (request.payload == NULL) {
goto FreeMessage;
@@ -278,7 +279,7 @@ int performRtspHandshake(IP_ADDRESS addr, PSTREAM_CONFIGURATION streamConfigPtr)
// Initialize global state
remoteAddr = addr;
inaddr.S_un.S_addr = addr;
memcpy(&inaddr, &addr, sizeof(addr));
sprintf(rtspTargetUrl, "rtsp://%s", inet_ntoa(inaddr));
{
+1
View File
@@ -1,4 +1,5 @@
#include "Limelight-internal.h"
#include <arpa/inet.h>
#define MAX_OPTION_NAME_LEN 128