From cde117df064e8e571878e99136b500d4bcd9b338 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Tue, 9 Jan 2018 19:46:19 -0800 Subject: [PATCH] Allocate enough buffer space for high quality audio packets from GFE 3.12 --- src/AudioStream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AudioStream.c b/src/AudioStream.c index 2f8926f..8d9ecec 100644 --- a/src/AudioStream.c +++ b/src/AudioStream.c @@ -17,7 +17,7 @@ static unsigned short lastSeq; #define RTP_PORT 48000 -#define MAX_PACKET_SIZE 250 +#define MAX_PACKET_SIZE 400 // 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