0 Replies
      Latest reply on Feb 28, 2020 3:34 AM by gerald93
      gerald93 Level 1 Level 1 (0 points)

        Hello. I am having an issue with AirPlay connection while being in my tvOS App which has content playing from AVPlayer. The AirPlay content is coming from an iOS device. When the AirPlay connection is established between my iOS device and Apple TV and something is playing from AVPlayer on my tvOS app the airplay is refusing to play the content on Apple TV and directly disconnecting.


        I see that AVPlayer in the tvOS App is somehow conflicting with airplay player and breaking the AirPlay connection.


        I couldn't find any solution for dedecting incoming airplay content from code side so I could disable or pause AVPlayer content.


        Any suggestion on how to fix this?


        Thanks in advance.