mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2025-08-18 09:25:49 +00:00
Merge pull request #20 from Unknownforce351/patch-1
Increase RTP RECV BUFFER size
This commit is contained in:
commit
f69ab5dd5e
@ -22,7 +22,7 @@ static unsigned short lastSeq;
|
|||||||
// This is much larger than we should typically have buffered, but
|
// This is much larger than we should typically have buffered, but
|
||||||
// it needs to be. We need a cushion in case our thread gets blocked
|
// it needs to be. We need a cushion in case our thread gets blocked
|
||||||
// for longer than normal.
|
// for longer than normal.
|
||||||
#define RTP_RECV_BUFFER (64 * MAX_PACKET_SIZE)
|
#define RTP_RECV_BUFFER (64 * 1024)
|
||||||
|
|
||||||
#define SAMPLE_RATE 48000
|
#define SAMPLE_RATE 48000
|
||||||
|
|
||||||
@ -307,4 +307,4 @@ int startAudioStream(void) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user