void StartCapture() { captureThread = new Thread(() => scRec.StartRecording(PixelDataCallback)); captureThread.Start(); }
void StartCaptureAsync() { _fpsStopWatch = Stopwatch.StartNew(); captureThread = new Thread(() => ScreenRecorder.StartRecording(PixelDataCallback)); captureThread.Start(); }