IOS 11 [MediaRemote] [AVOutputContext] WARNING: AVF context is not available for MRAVOutputContextCreateIndependentRoutingContext

I am using a video player (framework MediaPlayer) in an iOS application. If I rotate the device in landscape orientation, the video does not rotate to the landscape.

No video rotation only on iOS 11. iOS 9, 10 - rotates well.

Before starting the video player and when the device is spinning, Xcode receives a message:

[MediaRemote] [AVOutputContext] WARNING: AVF context unavailable for MRAVOutputContextCreateIndependentRoutingContext 

What to do to rotate the video?

+7
ios objective-c video media-player mpmovieplayercontroller
source share
1 answer

When I delete all breakpoints, my problem has been fixed. Perhaps you can try this and hope that it will also be fixed for you.

enter image description here

-one
source share

All Articles