How to stop AVPlayer to cache/download hls chunks during playback

Hi Team, I am pre-caching first 5 seconds of vidoes to improve start up playback latency. I am using AVAssetDownloadTask(AVAssetDownloadTask | Apple Developer Documentation) for pre-caching first 5 seconds in movpkg container in local. Now during playback of pre-cache vidoe from local file, AVPlayer start downloading remaining video chunks hence completely download video in local which increase space in device.

Is there any way to stop AVPlayer to cache/download chunks in local during playback ?

Replies

Have you solved this? I'm looking for an answer.