Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AVAssetDownloadTask not working properly

I am having issues with downloading and playing an HLS URL at the same time.

I have followed WWDC'16 video and also below link.

But either I am able to play the audio or I am only able to download it. I am not able to achieve doing both the tasks at the same time. And the download is also working only on iOS 11 beta releases, not on iOS 10 devices.

Am I missing something or there is some other way of achieving it?

like image 930
Vikas Dadheech Avatar asked Aug 01 '17 09:08

Vikas Dadheech


1 Answers

There are a lot of changes related to HLS and FPS for iOS 11

And there are two examples from Apple for developers:

  • FairPlay Streaming Server SDK beta - only for XCode 9
  • FairPlay Streaming Server SDK - for XCode 8

As for me: on iOS 10 I can play and download HLS+FPS without any issues, but the same code for iOS 11 is not working (as I wrote - there a lot of new instances and workflows in it).

like image 191
Vadim Nikolaev Avatar answered Sep 20 '22 04:09

Vadim Nikolaev