Posts

Post not yet marked as solved
5 Replies
Hello TidBits,Thank you very much for your reply.I have tried the approach you proposed, by adding a window and video player layer and overlay layer to the second UIScreen. However, this approach does not seem to work when the property usesExternalPlaybackWhileExternalScreenIsActive of AVPlayer is set to true. And I need this feature to be enabled because I am dealing with FairPlay streaming so usesExternalPlaybackWhileExternalScreenIsActive must be enabled in order to cast video playback to external device.Can you please confirm that, when usesExternalPlaybackWhileExternalScreenIsActive is enabled or when AVPlayerViewController is used, AirPlay does not allow for any additional UI elements on the secondary screen? If this is the case, I will try to report to bugreporter.apple.com.
Post not yet marked as solved
5 Replies
Hello TidBits,Your answers also caught my interest as I am trying to do similar things. Basically, what I want is to display some overlay image on top of video, like a image logo with transpeancy alpha channel. This can be done easily on the phone. However, when video is casted on AirPlay and when the property of AVPlayer "usesExternalPlaybackWhileExternalScreenIsActive" is set to true, it seems that I cannot place any other view on the secondary screen.You said "Basic AirPlay video playback does not allow for the addition of any UI elements on the secondary screen.". So if I really want to have this feature implemented, is there any possbility and what can you suggest?