Post not yet marked as solved
Click to stop watching this thread.
You have stopped watching this post. Click to start watching again.
contentPostList.repliesup-voted.tooltip
Replied In
AirPlay mirroring with AVPlayerViewController - I want to mirror the entire primary window
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.