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
408 stars 93 forks source link

Starting recording with initial Paused state #233

Closed ranwer-dev closed 1 year ago

ranwer-dev commented 1 year ago

Is it possible to start the recording in a paused state? So that it initializes all the components and can immediately resume when the Pause state is changed later? This can be helpful to ensure that initial moments are not missed in the recording.

sskodje commented 1 year ago

With c0afe3fa29bb8b972cb0465c6a9727fa15455179 you should be able to pause from the start, by calling Pause() directly after Record()