mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Lowered video bitrate to 500kb/s and lowered audio buffer size.
This commit is contained in:
parent
a058a17273
commit
3063f09f2b
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
|
@ -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
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user