Unreliable offline playback of HLS stream

Hello all,

I recently encountered a problem similar to what has been asked here (sadly no answer): https://developer.apple.com/forums/thread/127808?login=true

When downloading an HLS stream via an aggregate task (regardless if I set it to use preferred, or all media selections) I get an error on offline playback. If my device is connected, all seems to work ok.

Upon inspection of the boot.xml in the .movpkg file, I can see some streams report

<Complete>NO</Complete></Stream>

I cannot quite work out why this is. Before playback the resultant AVURLAsset's status is not ready.

The movie has multiple audio and a single subtitle and video tracks. It is important to mention, playback seems to work for some of my test videos. I also use a VPN.

Any assistance would be much appreciated.

Unreliable offline playback of HLS stream
 
 
Q