Since iOS 10, Apple has provided the support for downloading HLS (m3u8) video for offline viewing.
My question is: Is it necessary that we can only download HLS when
You can easily download an HLS stream with AVAssetDownloadURLSession
makeAssetDownloadTask
. Have a look at the AssetPersistenceManager
in Apples Sample code: https://developer.apple.com/library/content/samplecode/HLSCatalog/Introduction/Intro.html
It should be fairly straight forward to use the Objective C version of the api.