Merge branch 'master' of github.com:limelight-stream/limelight-common-c

* 'master' of github.com:limelight-stream/limelight-common-c:
  Properly flush the DU queue when we hit the limit. Fixes extreme lag that occurs after streaming for a bit.
  Handle reuse of limelight-common for another stream
  Fix debugging on Windows 8.1
  Fix controller and keyboard packets
  Prevent queuing input packets before the queue is initialized
  Implement LiSendControllerEvent
This commit is contained in:
Diego Waxemberg
2014-08-31 13:07:56 -04:00
10 changed files with 162 additions and 27 deletions
+4 -2
View File
@@ -6,10 +6,10 @@
static SOCKET sock = INVALID_SOCKET;
static IP_ADDRESS remoteAddr;
static int currentSeqNumber = 1;
static int currentSeqNumber;
static char rtspTargetUrl[256];
static char sessionIdString[16];
static int hasSessionId = 0;
static int hasSessionId;
static char responseBuffer[RTSP_MAX_RESP_SIZE];
/* GFE 2.1.1 */
@@ -281,6 +281,8 @@ int performRtspHandshake(IP_ADDRESS addr, PSTREAM_CONFIGURATION streamConfigPtr)
remoteAddr = addr;
memcpy(&inaddr, &addr, sizeof(addr));
sprintf(rtspTargetUrl, "rtsp://%s", inet_ntoa(inaddr));
currentSeqNumber = 1;
hasSessionId = 0;
{
RTSP_MESSAGE response;