sskodje / ScreenRecorderLib

A .NET library for screen recording in Windows, using native Microsoft Media Foundation for realtime encoding to h264 video or PNG images.
MIT License
414 stars 94 forks source link

Record() after Pause() bug #268

Closed MihailSklyarenko closed 12 months ago

MihailSklyarenko commented 12 months ago

I noticed a problem with the fact that if, after a pause, you call the Record method on the recorder and pass arbitrary parameters there, recording will continue to the same file/stream that was originally opened. Was it intended to be able to record to different files with one recorder?

изображение

sskodje commented 12 months ago

This is working as intended. Pausing just pauses the current recording, so you have a gap of time in it while paused. If you want to reuse the recorder, you must stop it first, and wait for the recording to finalize.