feat: 提交前端逻辑分析仪后台捕获;Camera现在可以以更高帧率运行
This commit is contained in:
@@ -471,7 +471,7 @@ public class UDPClientPool
|
||||
// Send address packages in batches of 128, control outstanding
|
||||
int sentCount = 0;
|
||||
var startTime = DateTime.Now;
|
||||
const int batchSize = 64;
|
||||
const int batchSize = 32;
|
||||
while (sentCount < pkgList.Count)
|
||||
{
|
||||
var elapsed = DateTime.Now - startTime;
|
||||
@@ -483,7 +483,7 @@ public class UDPClientPool
|
||||
int outstanding = sentCount - (found.HasValue ? found.Value : 0);
|
||||
|
||||
// If outstanding >= 512 - batchSize, wait for some data to be received
|
||||
if (outstanding >= 256 - batchSize)
|
||||
if (outstanding >= 128 - batchSize)
|
||||
continue;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user