Post

Replies

Boosts

Views

Activity

iOS14 offline broken
I have an app that downloads FairPlay encrypted content and this feature works just fine on iOS 11, 12, 13. On iOS14, the download completes but the asset can't be played in airplane mode. When debugging, I found that task.urlAsset.assetCache.isPlayableOffline is false for the downloaded asset so I guess some part of the content does not get downloaded as expected. All FairPlay keys are downloaded properly so that shouldn't be the issue. I use AVAssetDownloadURLSession.aggregateAssetDownloadTask(_:) to download content and the mediaSelections parameter contains options from both audible and legible characteristics and everything needed for playback seems to be downloaded when debugging using the delegate functions. On iOS13, indeed everything needed for playback gets downloaded but not on iOS14. I'd be happy to provide more information to help resolve this issue as I need to have this working in well time before iOS14 is released to the public. All help would be highly appreciated.
1
0
919
Jul ’20