start stream

git-svn-id: svn://elaine/murooma/trunk@282 d8a302eb-03bc-478d-80e4-98257eca68ef
This commit is contained in:
(no author) 2014-09-21 07:45:09 +00:00
parent ebfcbf5c26
commit 001bfa6aba
8 changed files with 75 additions and 6 deletions

View file

@ -10,6 +10,7 @@
#include "common/serverSettings.h"
#include "common/timeMsg.h"
#include "common/requestMsg.h"
#include "common/ackMsg.h"
using namespace std;
@ -109,6 +110,10 @@ void Controller::worker()
Player player(stream);
player.start();
RequestMsg startStream("startStream");
shared_ptr<AckMsg> ackMsg(NULL);
while (!(ackMsg = clientConnection->sendReq<AckMsg>(&startStream, 1000)));
try
{
while (active_)