HLSDownloader icon indicating copy to clipboard operation
HLSDownloader copied to clipboard

.invalid error

Open JakfarShodiq opened this issue 5 years ago • 2 comments

Hi Bro,

I try to run that example demo, but can't and showing the error for var backgrounDownloadTask: UIBackgroundTaskIdentifier = .invalid and backgrounDownloadTask = .invalid

Why yaa? Thank you brader.

Jakfar

JakfarShodiq avatar Jul 18 '19 19:07 JakfarShodiq

Could you offer the error message details that showing in the console and give me the detail of the environment you using?

qi-shun-wang avatar Jul 19 '19 01:07 qi-shun-wang

Finally can running but, I found this error.

2019-07-19 17:50:01.109710+0700 HLSDownloader_Example[78935:362141] Task <9241E34B-758D-42B5-A0BD-15EC0F3F9D5C>.<2> load failed with error Error Domain=AVFoundationErrorDomain Code=-11800 "The operation could not be completed" UserInfo={NSLocalizedDescription=The operation could not be completed, _NSURLErrorFailingURLSessionTaskErrorKey=BackgroundAVAssetDownloadTask <9241E34B-758D-42B5-A0BD-15EC0F3F9D5C>.<2>, _NSURLErrorRelatedURLSessionTaskErrorKey=( "BackgroundAVAssetDownloadTask <9241E34B-758D-42B5-A0BD-15EC0F3F9D5C>.<2>" ), NSLocalizedFailureReason=An unknown error occurred (-12780)} [-11800] "Task completed: BackgroundAVAssetDownloadTask <9241E34B-758D-42B5-A0BD-15EC0F3F9D5C>.<2>, error: Optional(Error Domain=AVFoundationErrorDomain Code=-11800 \"The operation could not be completed\" UserInfo={NSLocalizedDescription=The operation could not be completed, _NSURLErrorFailingURLSessionTaskErrorKey=BackgroundAVAssetDownloadTask <9241E34B-758D-42B5-A0BD-15EC0F3F9D5C>.<2>, _NSURLErrorRelatedURLSessionTaskErrorKey=(\n \"BackgroundAVAssetDownloadTask <9241E34B-758D-42B5-A0BD-15EC0F3F9D5C>.<2>\"\n), NSLocalizedFailureReason=An unknown error occurred (-12780)})"

JakfarShodiq avatar Jul 19 '19 10:07 JakfarShodiq