mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-13 09:06:43 +02:00
Codec in header message
git-svn-id: svn://elaine/murooma/trunk@286 d8a302eb-03bc-478d-80e4-98257eca68ef
This commit is contained in:
parent
a833a00cb1
commit
e0a6ac9467
9 changed files with 36 additions and 31 deletions
|
@ -40,7 +40,7 @@ void ControlServer::onMessageReceived(ServerSession* connection, const BaseMessa
|
|||
{
|
||||
RequestMsg requestMsg;
|
||||
requestMsg.deserialize(baseMessage, buffer);
|
||||
cout << "request: " << requestMsg.request << "\n";
|
||||
// cout << "request: " << requestMsg.request << "\n";
|
||||
if (requestMsg.request == "time")
|
||||
{
|
||||
// timeMsg.latency = (timeMsg.received.sec - timeMsg.sent.sec) * 1000000 + (timeMsg.received.usec - timeMsg.sent.usec);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue