fix for jitter buffer message, added some TODO comment

This commit is contained in:
Volker Fischer 2009-09-17 07:00:21 +00:00
parent e25dc70ed1
commit a8a3ebd483
2 changed files with 10 additions and 0 deletions

View File

@ -109,7 +109,9 @@ void CClient::OnNewConnection()
// the server still thinks that we are connected (the server is still
// waiting for the channel time-out). If we now connect again, we would
// not get the list because the server does not know about a new connection.
// Same problem is with the jitter buffer message.
Channel.CreateReqConnClientsList();
Channel.CreateJitBufMes ( Channel.GetSockBufNumFrames() );
}
void CClient::OnReceivePingMessage ( int iMs )

View File

@ -716,6 +716,14 @@ bAudioOK = true;
// in case the client thinks he is still connected but the server
// was restartet, it is important that we send the channel list
// at this place.
// TODO this does not work somehow (another problem: the channel name
// is not yet received from the new client)
// possible solution: create (new) request channel name message, if this one
// is received, the channel list for all clients are automatically sent
// by the server
CreateAndSendChanListForAllConChannels();
}
}