Lowered video bitrate to 500kb/s and lowered audio buffer size.

This commit is contained in:
irungentoo 2014-06-26 12:36:44 -04:00
parent a058a17273
commit 3063f09f2b
No known key found for this signature in database
GPG Key ID: 10349DC9BED89E98
2 changed files with 4 additions and 4 deletions

View File

@ -36,8 +36,8 @@
#include "rtp.h" #include "rtp.h"
#include "codec.h" #include "codec.h"
const uint16_t min_jbuf_size = 10; const uint16_t min_jbuf_size = 4;
const uint16_t min_readiness_idx = 6; /* when is buffer ready to dqq */ const uint16_t min_readiness_idx = 2; /* when is buffer ready to dqq */
int empty_queue(JitterBuffer *q) int empty_queue(JitterBuffer *q)
{ {

View File

@ -77,7 +77,7 @@ struct _ToxAv {
}; };
const ToxAvCodecSettings av_DefaultSettings = { const ToxAvCodecSettings av_DefaultSettings = {
2000, 500,
800, 800,
600, 600,
@ -87,7 +87,7 @@ const ToxAvCodecSettings av_DefaultSettings = {
1, 1,
600, 600,
10 6
}; };