简体   繁体   中英

AVPlayerLayer not rendering offline HLS video in iOS 11

I am facing a weird issue in iOS 11. I have an App where I am playing HLS video in AVPlayer. In case of offline HLS video after starting video audio is playing but video content is not getting rendered on AVPlayerLayer . This issue is occurring only in iOS 11 and above . It is working perfectly in iOS 10. But at the same time online HLS contents are playing perfectly in iOS 11 and iOS 10.

This seems to be a bug in iOS 11 as I checked it in Apple's sample code .

I run sample code in iOS 11 device to check.

If it's not a bug in iOS 11 then how to solve this.

This issue is solved now. It was bug in iOS 11.0 but now it's fixed in iOS 11.2.

I used Xcode version 9.2 latest iOS SDK version 11.2

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM