Removed the old voice io

This commit is contained in:
WolverinDEV
2021-04-15 17:34:44 +02:00
parent cd5804125d
commit 63eccff578
10 changed files with 33 additions and 581 deletions
-1
View File
@@ -71,7 +71,6 @@ namespace ts {
class ConnectedClient : public DataClient {
friend class VirtualServer;
friend class VoiceServer;
friend class VoiceClient;
friend class MusicClient;
friend class WebClient;
+1 -1
View File
@@ -19,7 +19,7 @@ constexpr static auto kMaxWhisperClientNameLength{30};
constexpr static auto kWhisperClientUniqueIdLength{28}; /* base64 encoded SHA1 hash */
VoiceClient::VoiceClient(const std::shared_ptr<VoiceServer>& server, const sockaddr_storage* address) :
SpeakingClient{server->server->sql, server->server},
SpeakingClient{server->get_server()->sql, server->get_server()},
voice_server(server) {
assert(address);
memtrack::allocated<VoiceClient>(this);
-6
View File
@@ -15,7 +15,6 @@
#include "VoiceClientConnection.h"
#include "src/server/PrecomputedPuzzles.h"
#include "../../lincense/TeamSpeakLicense.h"
#include "src/client/shared/ServerCommandExecutor.h"
//#define LOG_INCOMPING_PACKET_FRAGMENTS
//#define LOG_AUTO_ACK_AUTORESPONSE
@@ -38,7 +37,6 @@ namespace ts {
}
namespace server {
namespace server::udp {
class ServerCommandExecutor;
class CryptSetupHandler;
}
@@ -51,12 +49,8 @@ namespace ts {
friend class POWHandler;
friend class ts::connection::VoiceClientConnection;
friend class ConnectedClient;
friend class io::IOServerHandler;
friend class server::udp::ServerCommandExecutor;
friend class server::udp::CryptSetupHandler;
friend class VoiceClientCommandHandler;
using ServerCommandExecutor = ts::server::ServerCommandQueue;
public:
VoiceClient(const std::shared_ptr<VoiceServer>& server, const sockaddr_storage*);
~VoiceClient() override;