Cross-platform threading, sockets updates, and control stream implementation, and various other fixes

This commit is contained in:
Cameron Gutman
2014-01-18 18:53:50 -05:00
parent f02e916f6c
commit 103c052729
11 changed files with 443 additions and 8 deletions
+12 -1
View File
@@ -1,7 +1,18 @@
#include "Platform.h"
#include "PlatformSockets.h"
typedef struct _STREAM_CONFIGURATION {
int width;
int height;
int fps;
} STREAM_CONFIGURATION, *PSTREAM_CONFIGURATION;
} STREAM_CONFIGURATION, *PSTREAM_CONFIGURATION;
#include <stdio.h>
#define Limelog printf
char* allocateConfigDataForStreamConfig(PSTREAM_CONFIGURATION streamConfig);
int getConfigDataSize(PSTREAM_CONFIGURATION streamConfig);
void* initializeControlStream(IP_ADDRESS host, PSTREAM_CONFIGURATION streamConfig);
int startControlStream(void* context);
int stopControlStream(void* context);