采用比zlib更快的压缩库zstd
远程桌面帧率提高到12;补充上传zlib.lib。
This commit is contained in:
@@ -43,7 +43,7 @@ DWORD WINAPI CScreenManager::WorkThreadProc(LPVOID lParam)
|
||||
|
||||
clock_t last = clock();
|
||||
This->SendFirstScreen();
|
||||
const int fps = 10;// ֡<><D6A1>
|
||||
const int fps = 12;// ֡<><D6A1>
|
||||
const int sleep = 1000 / fps;// <20><><EFBFBD><EFBFBD>ʱ<EFBFBD>䣨ms<6D><73>
|
||||
while (This->m_bIsWorking)
|
||||
{
|
||||
@@ -202,7 +202,6 @@ VOID CScreenManager::SendFirstScreen()
|
||||
|
||||
const char* CScreenManager::GetNextScreen(ULONG &ulNextSendLength)
|
||||
{
|
||||
AUTO_TICK(5);
|
||||
LPVOID NextScreenData = m_ScreenSpyObject->GetNextScreenData(&ulNextSendLength);
|
||||
|
||||
if (ulNextSendLength == 0 || NextScreenData == NULL)
|
||||
|
||||
Reference in New Issue
Block a user