Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.invalid error #1

Open
JakfarShodiq opened this issue Jul 18, 2019 · 2 comments
Open

.invalid error #1

JakfarShodiq opened this issue Jul 18, 2019 · 2 comments

Comments

@JakfarShodiq
Copy link

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

@qi-shun-wang
Copy link
Owner

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

@JakfarShodiq
Copy link
Author

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)})"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants