removed command message

This commit is contained in:
badaix 2016-01-22 22:16:07 +01:00
parent fe89220b15
commit 4218bedd01
6 changed files with 2 additions and 79 deletions

View file

@ -32,7 +32,6 @@
#include "message/time.h"
#include "message/request.h"
#include "message/ack.h"
#include "message/command.h"
#include "message/hello.h"
using namespace std;
@ -191,10 +190,6 @@ void Controller::worker()
player_->setMute(serverSettings->muted);
player_->start();
msg::Command startStream("startStream");
shared_ptr<msg::Ack> ackMsg(NULL);
while (active_ && !(ackMsg = clientConnection_->sendReq<msg::Ack>(&startStream)));
while (active_)
{
for (size_t n=0; n<10 && active_; ++n)