Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@
- stop sending traffic to CloudFlare as part of the external IP detection
logic (#633, #1092), suggested by atsampson, coded by hoffie

- bug fix: properly restore mixer levels after reconnecting to a restarted
server. updating the server or the client is sufficient to fix this. coded
by hoffie (#955, #1009, #1010)



### 3.6.2 (2020-12-12) ###
Expand Down
5 changes: 5 additions & 0 deletions src/server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -594,6 +594,11 @@ void CServer::OnNewConnection ( int iChID,
// must be the first message to be sent for a new connection)
vecChannels[iChID].CreateClientIDMes ( iChID );

// Send an empty channel list in order to force clients to reset their
// audio mixer state. This is required to trigger clients to re-send their
// gain levels upon reconnecting after server restarts.
vecChannels[iChID].CreateConClientListMes ( CVector<CChannelInfo> (0) );

// query support for split messages in the client
vecChannels[iChID].CreateReqSplitMessSupportMes();

Expand Down