This commit is contained in:
ziomus5555 2020-06-19 21:08:30 +02:00
parent 06d459d2db
commit 040f19ca78
2 changed files with 4 additions and 1 deletions

View File

@ -24,7 +24,7 @@ namespace squirrowse.client
for (;;) for (;;)
{ {
var data = _cam.GetBitmap(); var data = _cam.GetBitmap();
await Task.Delay(1000 / 33); await Task.Delay(100);
yield return data; yield return data;
} }

View File

@ -56,10 +56,13 @@ namespace squirrowse.client
try try
{ {
Thread.Sleep(100);
return image; return image;
} }
catch catch
{ {
Thread.Sleep(100);
return image; return image;
} }