From 3063f09f2bddacdac3ea844fd2da4f7b93b1dc95 Mon Sep 17 00:00:00 2001 From: irungentoo Date: Thu, 26 Jun 2014 12:36:44 -0400 Subject: [PATCH] Lowered video bitrate to 500kb/s and lowered audio buffer size. --- toxav/codec.c | 4 ++-- toxav/toxav.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/toxav/codec.c b/toxav/codec.c index f3d24969f..9ca9a50cb 100644 --- a/toxav/codec.c +++ b/toxav/codec.c @@ -36,8 +36,8 @@ #include "rtp.h" #include "codec.h" -const uint16_t min_jbuf_size = 10; -const uint16_t min_readiness_idx = 6; /* when is buffer ready to dqq */ +const uint16_t min_jbuf_size = 4; +const uint16_t min_readiness_idx = 2; /* when is buffer ready to dqq */ int empty_queue(JitterBuffer *q) { diff --git a/toxav/toxav.c b/toxav/toxav.c index dcab06d05..ab5fe6114 100644 --- a/toxav/toxav.c +++ b/toxav/toxav.c @@ -77,7 +77,7 @@ struct _ToxAv { }; const ToxAvCodecSettings av_DefaultSettings = { - 2000, + 500, 800, 600, @@ -87,7 +87,7 @@ const ToxAvCodecSettings av_DefaultSettings = { 1, 600, - 10 + 6 };