Aerial Inhibits Sleep
I just set my system sleep time to 1 minute and activated the screen saver. It ran for 5 minutes without sleeping.
I had the same problem in a screen saver I built. It may be because AVPlayerView creates some power management assertions to inhiibit sleep when it starts playing. My solution was to use AVPlayerLayer instead.
:+1: Happens to me too
+1
This happens also to me on 10.11.1
+1 Mac OS X 10.11.1
Yup, no sleeping here either. I woke up this morning and found it had been on all night, and running kinda hot, too. Mid-2014 MBP. 10.11.1.
Same here on 10.11.1 with a Mid-2012 MacBook Air
+1
+1
+1 (and it's not working anyway. ;) )
+1
I'm working on this issue. I found an undocumented function in AVKit called AVEnableUserIdleDisplaySleep but I am not able to call it because dlsym can't get a reference to it for some reason I can't figure out. It will take some work to implement a fix, but I'm on it.
@JohnCoates As I mentioned, we had the same problem in our screen saver, and dug into the undocumented APIs for a solution. In the end, the easiest thing was to drop AVPlayerView and use an AVPlayerLayer.
+1 for a fix. Great screensaver otherwise.
+1
Great screensaver . just waiting for the sleep fix
Hey guys, it looks like @JohnCoates is already working this bug. Can we stop +1-ing the thread? Some of us are subscribed to get notified when the bug is fixed
Awesome suggestion @kolpanic, sorry I just briefly glanced over the thread and missed your initial post. I've switched over to AVPlayerLayer. Anyone having this issue, it should be fixed in the latest beta release found here https://github.com/JohnCoates/Aerial/releases
@JohnCoates Glad to help.
works like a charm, thanks for the quick resolution!
I have beta 4 but still get the issue. Any suggestions?