From c1a1dbe881b78005fbef921d21574692289d6434 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Fri, 9 Jan 2015 18:00:35 -0500 Subject: [PATCH] Use larger 1350 byte video packets like Android --- Limelight/Stream/Connection.m | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Limelight/Stream/Connection.m b/Limelight/Stream/Connection.m index 9186cafd..73bee94f 100644 --- a/Limelight/Stream/Connection.m +++ b/Limelight/Stream/Connection.m @@ -302,7 +302,9 @@ void ClDisplayTransientMessage(char* message) _streamConfig.height = config.height; _streamConfig.fps = config.frameRate; _streamConfig.bitrate = config.bitRate; - _streamConfig.packetSize = 1024; + + // FIXME: We should use 1024 when streaming remotely + _streamConfig.packetSize = 1292; memcpy(_streamConfig.remoteInputAesKey, [config.riKey bytes], [config.riKey length]); memset(_streamConfig.remoteInputAesIv, 0, 16);