Merge pull request #20 from Unknownforce351/patch-1

Increase RTP RECV BUFFER size
This commit is contained in:
Cameron Gutman 2016-04-27 11:12:17 -04:00
commit f69ab5dd5e

View File

@ -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;
} }