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 );
|
const bool bPreserve = false );
|
||||||
int GetSockBufNumFrames() const { return iCurSockBufNumFrames; }
|
int GetSockBufNumFrames() const { return iCurSockBufNumFrames; }
|
||||||
|
|
||||||
void UpdateSocketBufferSize ( const double dLocalStdDev );
|
void UpdateSocketBufferSize();
|
||||||
|
|
||||||
int GetUploadRateKbps();
|
int GetUploadRateKbps();
|
||||||
|
|
||||||
|
|
2016
src/client.cpp
2016
src/client.cpp
File diff suppressed because it is too large
Load diff
|
@ -694,8 +694,7 @@ void CServer::OnTimer()
|
||||||
vecChannels[iCurChanID].GetAddress() );
|
vecChannels[iCurChanID].GetAddress() );
|
||||||
|
|
||||||
// update socket buffer size
|
// update socket buffer size
|
||||||
vecChannels[iCurChanID].UpdateSocketBufferSize (
|
vecChannels[iCurChanID].UpdateSocketBufferSize();
|
||||||
CycleTimeVariance.GetStdDev() );
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue