sukov / CachingPlayerItem

An AVPlayerItem subclass that lets you stream and cache media content on iOS
MIT License
75 stars 19 forks source link

Download function not working #20

Open argiedoubleya opened 2 days ago

argiedoubleya commented 2 days ago

Hi, this is very useful code to me, however, when calling playerItem.download() to pre download the file the download session never starts. Not sure what I am doing wrong. Everything works just fine when after loading the playerItem into AVPlayer, caching works normally.

I have tried following the code, there are no errors thrown, after startDataRequest(with url: url) nothing happens.