Home > Forum > How do I stop the recorded file from saving when the recording has finished?

How do I stop the recorded file from saving when the recording has finished?

Jun 19 (6 months ago)
Michael wrote
Hello

New to this so apologise if my question is a straight forward one.

I have an application that I've incorporated the screen recording mechanism into. It displays start, pause and stop recording buttons with a preview. As far as I can tell, the recording is saved to a local folder I've assigned on the Stopasync() or Disposeasync() methods. In my application, I'm giving the user to option at the end of the recording whether or not they want to save it. Is there any way to stop and or dispose of the VideoCaptureCore without the file saving?

Reply
1 Answer
Jun 19 (6 months ago)
Roman Miniailov agent wrote
Hi

You can use ScreenPreview mode to not capture file at all, or delete the file if the capture was started.