-/* Copyright (C) 2009-2012, Martin Johansson <martin@fatbob.nu>
- Copyright (C) 2005-2012, Thorvald Natvig <thorvald@natvig.com>
+/* Copyright (C) 2009-2013, Martin Johansson <martin@fatbob.nu>
+ Copyright (C) 2005-2013, Thorvald Natvig <thorvald@natvig.com>
All rights reserved.
Client_send_message_except(NULL, sendmsg);
- Log_info("CELT codec switch 0x%x 0x%x (prefer 0x%x)", iCodecAlpha, iCodecBeta,
- bPreferAlpha ? iCodecAlpha : iCodecBeta);
-
if (enableOpus && !bOpus) {
client_itr = NULL;
while (Client_iterate(&client_itr) != NULL) {
Client_textmessage(client_itr, OPUS_WARN_SWITCHING);
}
}
+ Log_info("OPUS codec %s", bOpus ? "enabled" : "disabled");
}
-
+
bOpus = enableOpus;
- Log_info("OPUS codec is %s", bOpus ? "enabled" : "disabled");
}
static int findFreeSessionId()
Timer_restart(&client->idleTime);
Timer_restart(&client->lastActivity);
+ counter = Pds_get_numval(pdi); /* step past session id */
if ((type >> 5) != UDPVoiceOpus) {
- counter = Pds_get_numval(pdi); /* step past session id */
do {
counter = Pds_next8(pdi);
offset = Pds_skip(pdi, counter & 0x7f);