smasherprog / screen_capture_lite

cross platform screen/window capturing library
MIT License
619 stars 156 forks source link

no callback to call on frame tick. #41

Closed namkazt closed 6 years ago

namkazt commented 6 years ago

I was checked that OnNewFrame callback only calls when mouse change or desktop change. if everything does not change then it will not be called. that make my record data unable to continue if screen image not moving. is there any change i can get a callback like OnFrameTick(Image img, .. ) if img not change then still use last frame.

smasherprog commented 6 years ago

You're saying that onnewframe doesnt not get called if the mouse doesnt move and the desktop image doesnt change?

What Operating system are you using ?

smasherprog commented 6 years ago

On windows, onnewframe will always be called even if the mouse doesnt move and the desktop image doesnt change. I would double check your code because I would bet that you paused the library and did not resume it

smasherprog commented 6 years ago

Closing this because I dont believe this is an error in the library.

If you get more information ill reopen this issue.