Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Hacker <dd0t@users.sourceforge.net>2012-08-06 02:45:38 +0400
committerStefan Hacker <dd0t@users.sourceforge.net>2012-08-06 04:29:20 +0400
commitaa580f392ca5fcd9f8cf270f43c6237e33977a4e (patch)
treef3d01205ad95bd11b9fbde3e1103a385cd774521 /src/murmur/Server.h
parent8a9b5325f5d4e06a6276f244fa2ee51fce81eba0 (diff)
Trigger codec re-negotiation also on user disconnect and when opusthreshold is set.
- Call recheckCodecVersion on AuthenticatedClient disconnect. - Make every recheckCodecVersions() call switching to Opus send a message to users only supporting CELT.
Diffstat (limited to 'src/murmur/Server.h')
-rw-r--r--src/murmur/Server.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/murmur/Server.h b/src/murmur/Server.h
index bbd4757f9..8d0c2a919 100644
--- a/src/murmur/Server.h
+++ b/src/murmur/Server.h
@@ -167,7 +167,7 @@ class Server : public QThread {
int iCodecBeta;
bool bPreferAlpha;
bool bOpus;
- void recheckCodecVersions();
+ void recheckCodecVersions(ServerUser *connectingUser = 0);
#ifdef USE_BONJOUR
void initBonjour();