I'm trying to play the encrypted video from the fairplay sdk.
I tryed both the assetRessouceLoader and ContentKeySession method, but I'm unable to play the encypted video from the SDK. I am using the key and the initialization vector from the Key.txt file.
I dont know how to do with the AssetRessourceLader because of the line
resourceLoadingRequest.dataRequest?.respond(with: ckcData)
but I dont know what to put into ckcData.
For the ContentKeySessionResponse I use this init(clearKeyData: Data, initializationVector: Data?).
Is this the right Path?
I'm trying this in swift and in c# with Xamarin.
Thanks in advance!!