diff options
author | Stefan Hacker <dd0t@users.sourceforge.net> | 2012-08-06 02:45:38 +0400 |
---|---|---|
committer | Stefan Hacker <dd0t@users.sourceforge.net> | 2012-08-06 04:29:20 +0400 |
commit | aa580f392ca5fcd9f8cf270f43c6237e33977a4e (patch) | |
tree | f3d01205ad95bd11b9fbde3e1103a385cd774521 /src/murmur/Server.h | |
parent | 8a9b5325f5d4e06a6276f244fa2ee51fce81eba0 (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.h | 2 |
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(); |