mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2025-08-18 09:25:49 +00:00
Increase maximum input queue size
This commit is contained in:
parent
132833deeb
commit
1b3c14a792
@ -31,7 +31,9 @@ typedef struct _PACKET_HOLDER {
|
|||||||
int initializeInputStream(void) {
|
int initializeInputStream(void) {
|
||||||
memcpy(currentAesIv, StreamConfig.remoteInputAesIv, sizeof(currentAesIv));
|
memcpy(currentAesIv, StreamConfig.remoteInputAesIv, sizeof(currentAesIv));
|
||||||
|
|
||||||
LbqInitializeLinkedBlockingQueue(&packetQueue, 30);
|
// Set a high maximum queue size limit to ensure input isn't dropped
|
||||||
|
// while the input send thread is blocked for short periods.
|
||||||
|
LbqInitializeLinkedBlockingQueue(&packetQueue, 150);
|
||||||
|
|
||||||
cryptoContext = PltCreateCryptoContext();
|
cryptoContext = PltCreateCryptoContext();
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user