mirror of
https://github.com/badaix/snapcast.git
synced 2025-07-27 21:38:48 +02:00
Improve time sync over websocket
This commit is contained in:
parent
0fb90802b5
commit
a638da0ff7
3 changed files with 4 additions and 7 deletions
|
@ -123,8 +123,8 @@ void StreamSessionTcp::read_next()
|
|||
return;
|
||||
}
|
||||
|
||||
tv t;
|
||||
baseMessage_.received = t;
|
||||
tv now;
|
||||
baseMessage_.received = now;
|
||||
if (messageReceiver_ != nullptr)
|
||||
messageReceiver_->onMessageReceived(this, baseMessage_, buffer_.data());
|
||||
read_next();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue