Playing Offline HLS Content with AES-128 encryption on iOS

Hi Team,

Offline playback with AES-128 encryption

I'm downloading HLS content that is AES-128 encrypted and using the AVAssetResourceLoaderDelegate method shouldWaitForLoadingOfRequestedResource to parse the manifest to fetch the AES key URL. After fetching the key URL, I'll download and save the AES key locally. I will use the locally saved key to start the offline playback.

Since AVContentKeySession has been there for quite some time, is it okay to use the resource loader delegate method to parse and download the AES key?

Is there any chance that Apple will deprecate the downloading keys through the resource loader delegate?

Thanks, Deepak.N

Playing Offline HLS Content with AES-128 encryption on iOS
 
 
Q