Ive written an App wich makes screenshots every few ms and send it via TCP.
This works great, but only if the App stays in foreground.
If my app went to the background (another Window is in fullscreen or just completely hiding my app) after 20-30s there is a delay for 5-10s in the transmission. But as soon i move the mouse the delay is gone immediately. And if i move my applications window a little bit to one side so you can see it few millimeters beside the other apps window there is no delay the whole time.
I don't know much about macOS, but everything indicates that the operating system prioritizes hidden applications very low. Is there a way to disable this bahavior?
This works great, but only if the App stays in foreground.
If my app went to the background (another Window is in fullscreen or just completely hiding my app) after 20-30s there is a delay for 5-10s in the transmission. But as soon i move the mouse the delay is gone immediately. And if i move my applications window a little bit to one side so you can see it few millimeters beside the other apps window there is no delay the whole time.
I don't know much about macOS, but everything indicates that the operating system prioritizes hidden applications very low. Is there a way to disable this bahavior?