How to pre buffer avplayer items?

Viewed 388

I have spent the past week researching this and trying all kinds of ways but noting is working to that standard I am after.

I would like to play through a dictionary of AVPlayerItems with no buffer delay. I say Dictionary, not array because I need to attach an index to the item as I am tapping through images and videos. For this reason AVQueuePlayer doesn't seem to work for this situation.

I am creating something similar to Instagrams Stories setup. They have no delay when watching back to back videos and photos.

I realize there are a lot of questions on this subject already but a lot are quite dated now. So just wondering if I'm missing something through all the noise.

Thanks

0 Answers
Related