mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-06-16 22:00:55 +00:00
Created Xcode project for compiling universal static lib for iOS
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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,4 +1,5 @@
|
||||
#include "Limelight-internal.h"
|
||||
#include <arpa/inet.h>
|
||||
|
||||
#define MAX_OPTION_NAME_LEN 128
|
||||
|
||||
|
||||
Reference in New Issue
Block a user