I have created an app with fairplay streaming and also download+play of offline video.
The code works on ios 12 and 64 bit.
If I run the code on iPhone 5 or iPad 4 32 bit devices, then I get an error on this line of code:
let persistentContentKeyContext = try loadingRequest.persistentContentKey(fromKeyVendorResponse: data, options: nil)
Error Domain=AVFoundationErrorDomain Code=-11800 "The operation could not be completed" UserInfo={NSLocalizedDescription=The operation could not be completed, NSUnderlyingError=0x185a8de0 {Error Domain=NSOSStatusErrorDomain Code=-42651 "(null)"}, NSLocalizedFailureReason=An unknown error occurred (-42651)}
According to the Apple documentation this should work on iOS 9+
Any suggestion?