public void ReloadVideo() { if (VideoEngine != null) { VideoEngine.Dispose(); } VideoEngine = new VideoEngine(); VideoEngine.OnFrameAvailable += VideoEngine_OnFrameAvailable; VideoEngine.StartRecording(); }
public void Kill() { if (AudioEngine != null) { AudioEngine.Dispose(); AudioEngine = null; } if (VideoEngine != null) { VideoEngine.Dispose(); VideoEngine = null; } }