Can someone tell me if there is a way in our tvOS application to detect when the AppleTV is currently being used for Airplay? We have a digital signage app that plays videos on a loop and the video (&audio) is still playing in the background when Airplay device is connected.
We would like to obviously stop that from happening, without restricting Airplay to the device.