mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-09 23:26:47 +02:00
Fix timesync
This commit is contained in:
parent
17f8a1e14b
commit
31c0dd5287
1 changed files with 1 additions and 1 deletions
|
@ -626,7 +626,7 @@ void StreamServer::onMessageReceived(StreamSession* streamSession, const msg::Ba
|
|||
timeMsg->refersTo = timeMsg->id;
|
||||
timeMsg->latency = timeMsg->received - timeMsg->sent;
|
||||
// LOG(INFO) << "Latency sec: " << timeMsg.latency.sec << ", usec: " << timeMsg.latency.usec << ", refers to: " << timeMsg.refersTo << "\n";
|
||||
streamSession->sendAsync(timeMsg, true);
|
||||
streamSession->sendAsync(timeMsg);
|
||||
|
||||
// refresh streamSession state
|
||||
ClientInfoPtr client = Config::instance().getClientInfo(streamSession->clientId);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue