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?
ios objective-c video media-player mpmovieplayercontroller
Viktor
source share