new function interface
This commit is contained in:
parent
980b8aae3c
commit
4325c54605
3 changed files with 1010 additions and 1011 deletions
|
@ -96,7 +96,7 @@ public:
|
|||
const bool bPreserve = false );
|
||||
int GetSockBufNumFrames() const { return iCurSockBufNumFrames; }
|
||||
|
||||
void UpdateSocketBufferSize ( const double dLocalStdDev );
|
||||
void UpdateSocketBufferSize();
|
||||
|
||||
int GetUploadRateKbps();
|
||||
|
||||
|
|
|
@ -962,7 +962,7 @@ fflush(pFileDelay);
|
|||
CycleTimeVariance.Update();
|
||||
|
||||
// update socket buffer size
|
||||
Channel.UpdateSocketBufferSize ( CycleTimeVariance.GetStdDev() );
|
||||
Channel.UpdateSocketBufferSize();
|
||||
}
|
||||
|
||||
int CClient::EstimatedOverallDelay ( const int iPingTimeMs )
|
||||
|
|
|
@ -694,8 +694,7 @@ void CServer::OnTimer()
|
|||
vecChannels[iCurChanID].GetAddress() );
|
||||
|
||||
// update socket buffer size
|
||||
vecChannels[iCurChanID].UpdateSocketBufferSize (
|
||||
CycleTimeVariance.GetStdDev() );
|
||||
vecChannels[iCurChanID].UpdateSocketBufferSize();
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue