Abort screencasting if viewer stops responding and disconnect message from server didn't arrive.

This commit is contained in:
Jared Goodwin 2020-01-09 17:37:07 -08:00
parent d2d7466998
commit edefa5cead

View File

@ -85,6 +85,11 @@ namespace Remotely.ScreenCast.Core.Capture
}
}
if (viewer.Latency > 30000)
{
// Viewer isn't responding. Abort sending.
break;
}
if (Conductor.Current.IsDebug)
{