mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-06-17 14:21:30 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user