Getting Error when trying to download a m3u8 video using AVAssetDownloadURLSession in iOS

后端 未结 1 602

Trying to download a .m3u8 video file (http://devimages.apple.com/iphone/samples/bipbop/bipbopall.m3u8) using AVAssetDownloadURLSession. When i run the code in Xcode, I get

相关标签:
1条回答
  • 2021-01-15 15:51

    I checked your code and found that you missed to add NSAllowsArbitraryLoads key to YES under NSAppTransportSecurity dictionary in your .plist file

    Try and share the results.

    0 讨论(0)
提交回复
热议问题