projects
/
umurmur.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add Opus threshold config variable
[umurmur.git]
/
src
/
client.h
diff --git
a/src/client.h
b/src/client.h
index 0e5e1353300fdb2e1fdd3e48fab9151f7b536b0c..a3ce2c29303bba2f0f419639334fb24120076bdc 100644
(file)
--- a/
src/client.h
+++ b/
src/client.h
@@
-1,5
+1,5
@@
-/* Copyright (C) 2009-201
1
, Martin Johansson <martin@fatbob.nu>
- Copyright (C) 2005-201
1
, Thorvald Natvig <thorvald@natvig.com>
+/* Copyright (C) 2009-201
2
, Martin Johansson <martin@fatbob.nu>
+ Copyright (C) 2005-201
2
, Thorvald Natvig <thorvald@natvig.com>
All rights reserved.
All rights reserved.
@@
-51,7
+51,7
@@
#define BUFSIZE 8192
#define UDP_BUFSIZE 512
#define BUFSIZE 8192
#define UDP_BUFSIZE 512
-#define INACTI
C
ITY_TIMEOUT 15 /* Seconds */
+#define INACTI
V
ITY_TIMEOUT 15 /* Seconds */
#define MAX_CODECS 10
#define MAX_TOKENSIZE 64
#define MAX_TOKENS 32
#define MAX_CODECS 10
#define MAX_TOKENSIZE 64
#define MAX_TOKENS 32
@@
-73,7
+73,7
@@
typedef struct {
int sessionId;
uint64_t key;
char *username;
int sessionId;
uint64_t key;
char *username;
- bool_t bUDP, authenticated, deaf, mute, recording;
+ bool_t bUDP, authenticated, deaf, mute,
self_deaf, self_mute,
recording;
char *os, *release, *os_version;
uint32_t version;
int codec_count;
char *os, *release, *os_version;
uint32_t version;
int codec_count;
@@
-89,6
+89,8
@@
typedef struct {
struct dlist voicetargets;
struct dlist tokens;
int tokencount;
struct dlist voicetargets;
struct dlist tokens;
int tokencount;
+ uint8_t hash[20];
+ bool_t isAdmin;
float UDPPingAvg, UDPPingVar, TCPPingAvg, TCPPingVar;
uint32_t UDPPackets, TCPPackets;
} client_t;
float UDPPingAvg, UDPPingVar, TCPPingAvg, TCPPingVar;
uint32_t UDPPackets, TCPPackets;
} client_t;