HLS with SAMPLE-AES download

Hi, I'm trying to download a encripted video using mediafilesegmenter with SAMPLE-AES, not fairplay...

I can play the video online without any problems..

When i try download the video using AVAssetDownloadTask

I get an error:

Error Domain=CoreMediaErrorDomain Code=-12160 "(null)"

And, if I use ClearKey system to deliver the key when I have a custom scheme on the m3u8, Airplay doesn't work either

Sample-aes only works with fairplay?

I can't find any information about it, does anyone know if it is a bug?

I hope someone can help me :)

HLS with SAMPLE-AES download
 
 
Q