Offline HLS Fairplay playback error when the app is closed, code 16227
Clash Royale CLAN TAG #URR8PPP Offline HLS Fairplay playback error when the app is closed, code 16227 I'm implementing Offline Playback with HLS Fairplay following the demo in the FairPlay Streaming Server SDK v4.0.1 that uses AVContentSessionKey. I download three contents, each content is downloaded and persisted correctly, both the .movpkg and its content key on the documents directory, when I turn off the WIFI these three contents downloaded plays correctly without any problems, before playing Im using this code: let urlAsset = element.urlAsset! ContentKeyManager.shared.contentKeySession.addContentKeyRecipient(urlAsset) if !urlAsset.resourceLoader.preloadsEligibleContentKeys { urlAsset.resourceLoader.preloadsEligibleContentKeys = true } self.present(playerViewController, animated: true, completion: { AssetPlaybackManager.sharedManager.setAssetForPlayback(urlAsset) }) So far so good. But the problem is when I close the application (Home button to close applications) and then ...