sh0rty 507 Posted July 1, 2016 Posted July 1, 2016 (edited) My Windows Machine is not running 24/7, it goes to standby depending on activity at 23:30. The task scheduler sets the PC into sleep except there is e.g. a stream transcoding for a user. Since the usage of transcoding got heavily minimized in the last months (thx @@Luke ) the Windows task scheduler does not recognize anymore if someone is using the server since there is no heavy activiy when e.g. direct playing is happening. So the server goes to standby except transcoding is happening. I read around resetting the system idle timer by calling SetThreadExecutionState with ES_SYSTEM_REQUIRED as execution requirement and was asking myself if this could be implemented into the server for the use case of active streams (remux, driect play, transcode)? https://msdn.microsoft.com/en-us/library/aa373208(VS.85).aspx Edited July 1, 2016 by shorty1483
sh0rty 507 Posted July 1, 2016 Author Posted July 1, 2016 We're actually already doing this Then it doesn't seem to work on my system Nevermind I try to find another solution. Thanks!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now