You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
When having media like a video in a BrowserWindow, the app prevents the system from going to sleep (on MacOS, have not tested Windows), much like chrome does. If that is not the desired behavior, there would be nice to have an API control wether that should happen or not
Describe the solution you'd like
An API that can enable/disable the "prevent from going to sleep" behavior
Describe alternatives you've considered
A workaround we have found for now is pausing the media when the BrowserWindow is blurred
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
When having media like a video in a
BrowserWindow
, the app prevents the system from going to sleep (on MacOS, have not tested Windows), much like chrome does. If that is not the desired behavior, there would be nice to have an API control wether that should happen or notDescribe the solution you'd like
An API that can enable/disable the "prevent from going to sleep" behavior
Describe alternatives you've considered
A workaround we have found for now is pausing the media when the
BrowserWindow
is blurredThe text was updated successfully, but these errors were encountered: