How to determine download path when using AVAssetDownloadConfiguration

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%.

Try URLSession:assetDownloadTask:didFinishDownloadingToURL:.

How to determine download path when using AVAssetDownloadConfiguration
 
 
Q