private void CleanUpAfterPendingFramesWereRecorded() { videoWriter.SafeDispose(); debugWaveFile.SafeDispose(); isRecordingPendingFrames = false; LogConsole.WriteLine($"Video: {videoSamples}, Audio: {audioSamples}, Written: {samplesWritten}"); }