mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-09 23:26:47 +02:00
"sendNow"
This commit is contained in:
parent
a6993f11df
commit
bd979f1c0e
4 changed files with 38 additions and 15 deletions
|
@ -243,7 +243,7 @@ void StreamServer::onMessageReceived(StreamSession* connection, const msg::BaseM
|
|||
timeMsg->refersTo = timeMsg->id;
|
||||
timeMsg->latency = timeMsg->received - timeMsg->sent;
|
||||
// logO << "Latency sec: " << timeMsg.latency.sec << ", usec: " << timeMsg.latency.usec << ", refers to: " << timeMsg.refersTo << "\n";
|
||||
connection->sendAsync(timeMsg);
|
||||
connection->sendAsync(timeMsg, true);
|
||||
|
||||
// refresh connection state
|
||||
ClientInfoPtr client = Config::instance().getClientInfo(connection->macAddress);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue