Hi,
I've been investigating an issue where AVPlayerLayer doesn't render the video(audio only) occasionally, but if you pause the video and wait for 5 sec then play again, the video comes back...
I'm debugging on on iPhone 5s with iOS 10.0.1 (14A403).
I implemented AVPlayer like this:
AVPlayer *player = [AVPlayer playerWithURL:url]; [player play]; AVPlayerLayer *layer = [AVPlayerLayer layer]; layer.player = player; layer.frame = CGRectMake(0, 0, 300, 300); [self.view.layer addSublayer:layer];And the issue NEVER HAPPEDNS on iOS 10 simulator and the same code also works fine on iOS 9 (both device and simulator).
Does anyone know if there is any other change in iOS 10 that I need to make?
Thanks in advance.