AVPlayerItemVideoOutput's hasNewPixelBuffer always returns false

Trying my application on the iOS 16 beta I noticed that the video player does not work with streaming videos. The problem appears to be in AVPlayerItemVideoOutput's hasNewPixelBuffer.

let time = output.itemTime(forHostTime: CACurrentMediaTime())
guard output.hasNewPixelBuffer(forItemTime: time),
        let pixbuf = output.copyPixelBuffer(forItemTime: time, itemTimeForDisplay: nil)
else {
    return
}

output.hasNewPixelBuffer(forItemTime: time) always returns false.

This only happens on iOS 16 and with streaming videos, with local videos everything works fine.

I noticed that this only happens with encrypted streams

Yes, I have same issue with output.hasNewPixelBuffer(forItemTime: time) return false in iOS16. With old version working fine.

AVPlayerItemVideoOutput's hasNewPixelBuffer always returns false
 
 
Q