There are two errors we're seeing regularly (though rarely; most playbacks succeed but every day a few of these errors occur), both of which are unknown. Both errors occur when calling [AVAssetResourceLoadingRequest streamingContentKeyRequestDataForApp:contentIdentifier:options:error:], and the underlying error codes are -16834 and -12640.
Error Domain=AVFoundationErrorDomain Code=-11800 "The operation could not be completed" UserInfo={NSUnderlyingError=0x160465630 {Error Domain=NSOSStatusErrorDomain Code=-16834 "(null)"}, NSLocalizedFailureReason=An unknown error occurred (-16834), NSLocalizedDescription=The operation could not be completed}
Error Domain=AVFoundationErrorDomain Code=-11800 "The operation could not be completed" UserInfo=0x172471440 {NSUnderlyingError=0x170a49330 "The operation couldn’t be completed. (OSStatus error -12640.)", NSLocalizedFailureReason=An unknown error occurred (-12640), NSLocalizedDescription=The operation could not be completed}
Are there any hints as to what could be causing these errors when trying to stream a FairPlay video? I've already read the "Re: Fairplay SPC returning nil" thread, but I don't think it's really applicable because our playlists contain EXT-X-KEY (and most of our playbacks succeed).