summaryrefslogtreecommitdiff
path: root/config.def.h
blob: aa95a0e61d9cfc81650d2f7c401a2720f2f7c915 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/* See LICENSE file for copyright and license details. */

/* Connection delay in seconds */
#define CONNECTDELAY 3

/* Ringing delay in seconds */
#define RINGINGDELAY 16

/* Maximum number of simultaneous calls */
#define MAXCALLS 8

/* Audio settings definition */
#define AUDIOCHANNELS     1
#define AUDIOBITRATE      32
#define AUDIOFRAME        20
#define AUDIOSAMPLERATE   48000

/* Video settings definition */
#define VIDEOWIDTH        1280
#define VIDEOHEIGHT       720
#define VIDEOBITRATE      2500

static char *savefile        = ".ratox.tox";
static int   encryptsavefile = 0;

static int                 ipv6        = 0;
static int                 tcp         = 0;
static int                 proxy       = 0;
static TOX_PROXY_TYPE      proxytype   = TOX_PROXY_TYPE_SOCKS5; /* NONE, HTTP, SOCKS5 */
static char     proxyaddr[] = "localhost";
static uint16_t proxyport   = 8080;

#include "nodes.h"