0 Replies
      Latest reply on Nov 6, 2019 5:46 AM by shahuraj
      shahuraj Level 1 Level 1 (0 points)

        We have an Application, in that we do media (Audio and video) playback. We are using iOS AVPlayer for the media playback.


        Before we start the AV playback by using AVplayer, we set the flag "usesExternalPlaybackWhileExternalScreenIsActive" as "NO" during AV player instance creation/configuration to avoid external playback.


        We need to identify if the airplay mirroring is active or not during/before the start of the AV playback. Since we disabled "usesExternalPlaybackWhileExternalScreenIsActive" flag during the AVplayer creation, we are not getting any callback for "externalPlaybackActive" so we do not come to know if the airplay mirroing is active.


        Is there any system properties or any other way to check if airplay mirroring is active or not?