I was unable to find the error explanation on web.
Somewhere in the mechanism of downloading licensed streams (HLS + FairPlay) the OS reports Error Domain=CoreMediaErrorDomain Code=-12160 "(null)" which makes downloaded movie unable to be played after download.
There must be some way to get more info about this error code. Has anyone an idea where it is defined?
This happens when you use a streaming license for a AVPersistableContentKeyRequest. To convert a streaming license to a persistable license do the following:
Then continue to passing the response to the keyRequest as normal