mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-06-17 14:11:35 +00:00
Use larger 1350 byte video packets like Android
This commit is contained in:
@@ -302,7 +302,9 @@ void ClDisplayTransientMessage(char* message)
|
|||||||
_streamConfig.height = config.height;
|
_streamConfig.height = config.height;
|
||||||
_streamConfig.fps = config.frameRate;
|
_streamConfig.fps = config.frameRate;
|
||||||
_streamConfig.bitrate = config.bitRate;
|
_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]);
|
memcpy(_streamConfig.remoteInputAesKey, [config.riKey bytes], [config.riKey length]);
|
||||||
memset(_streamConfig.remoteInputAesIv, 0, 16);
|
memset(_streamConfig.remoteInputAesIv, 0, 16);
|
||||||
|
|||||||
Reference in New Issue
Block a user