neekeetab / CachingPlayerItem

Play and cache media content simultaneously on your iOS device
MIT License
520 stars 89 forks source link

How can we download multiple files simultaneously? #44

Open mohamedrafi-rapid opened 1 year ago

mohamedrafi-rapid commented 1 year ago

Please help to download multiple files simultaneously

neekeetab commented 1 year ago

Just create multiple instances of CachingPlayerItem – one per each url, and call .download() on all of them. Note that CachingPlayerItem only gives you the Data objects via a delegate, it's up to you to implement saving these files on disk