Following the steps in "Explore HLS variants in AVFoundation" WWDC21 video I have noticed that the URLSession:aggregateAssetDownloadTask:willDownloadToURL: delegate
method is not triggered.
I can't find an alternate delegate method that would let us know what the download path is so that we can utilize that path for offline playback.
The fileURL
on the download task's progress
property is always nil
.
The download does occur because if I create a repeating 1 second timer and print out the progress
property I can see the progress of the download reach 100%.