AVPlayerViewController is not working in landscape mode in one scenario.

While the device is held in Landscape mode(Although the applciation is supporting portrait other than video full screen) ,video doesn't start playing in landscape. User has to rotate the device to Portrait and then again to landscape to view the video in Landscape mode.UIDeviceOrientationIsLandscape([[UIDevice currentDevice] orientation] is also returning the portrait at that point of time.

AVPlayerViewController is not working in landscape mode in one scenario.
 
 
Q