Questions tagged [avassetdownloadurlsession]
4 questions
1
vote
1 answer
Resume HLS download with changed URL (AVAssetDownloadURLSession)
Need some help here from strong AVKit'ers and AVFoundation'ers
I'm struggling to resume previously partly downloaded HLS stream.
URL, that I have, changes every 24H. And if user tries to resume download - it just starts again and ignores earlier…

Pete Streem
- 360
- 5
- 14
1
vote
0 answers
AVAssetDownloadDelegate method not called in background
In a recent project I'm working on video downloading using AVAssetDownloadURLSession. I'm using AVAssetDownloadDelegate to listen to any download updates. Using the below method I'm able to get the percentage download updated for each download…

PGDev
- 23,751
- 6
- 34
- 88
0
votes
1 answer
iOS - Setting total max size limit for downloads with AVAssetDownloadURLSession
I am creating an app to download audio tracks and videos with AVAssetDownloadURLSession and AVAssetDownloadTask. What I would love to do is set a threshold for downloads.
Say, the threshold is 5GB then total downloads would never exceed 5GB.
I went…

Pankaj Gaikar
- 2,357
- 1
- 23
- 29
0
votes
1 answer
What is the best way to update downloaded HLS files in iOS app?
I'm working on an iOS app. I implemented downloading HLS video files logic. I use AVAssetDownloadURLSession, AVAggregateAssetDownloadTask, URLSessionConfiguration.background for it.
I need to implement the logic to update HLS files if they were…

Alexander Khitev
- 6,417
- 13
- 59
- 115