summaryrefslogtreecommitdiff
path: root/config.def.h
blob: 74589edf857b5283677c0d8d2b8a655bea0fcb82 (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      32000
#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 int      proxytype   = 2; /* 1 = HTTP, 2 = SOCKS5 */
static char     proxyaddr[] = "localhost";
static uint16_t proxyport   = 8080;

#include "nodes.h"