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

load failed with error Error Domain=NSURLErrorDomain Code=-999 "cancelled" #9

Open
rafaelreis-hotmart opened this issue May 3, 2019 · 1 comment

Comments

@rafaelreis-hotmart
Copy link

Dear,

first, thank you so much for this library. It worked well with audio files, but now, I'm experiencing the follow error with HLS video:

2019-05-03 09:47:13.559307-0300 DVAssetLoaderDelegate_Example[2277:686162] Task <7C20E763-33A8-4F69-BE7F-A5B75353CD99>.
<1> load failed with error Error Domain=NSURLErrorDomain Code=-999 "cancelled"
 UserInfo={NSErrorFailingURLStringKey=https://devstreaming-cdn.apple.com/videos/streaming/examples/img_bipbop_adv_example_ts/master.m3u8, 
NSErrorFailingURLKey=https://devstreaming-cdn.apple.com/videos/streaming/examples/img_bipbop_adv_example_ts/master.m3u8,
 _NSURLErrorRelatedURLSessionTaskErrorKey=(
    "LocalDataTask <7C20E763-33A8-4F69-BE7F-A5B75353CD99>.<1>"
), _
NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <7C20E763-33A8-4F69-BE7F-A5B75353CD99>.<1>, NSLocalizedDescription=cancelled} [-999]

What I doing is get the sample project and replace de url to https://devstreaming-cdn.apple.com/videos/streaming/examples/img_bipbop_adv_example_ts/master.m3u8 a sample file from apple examples.

@JayCears
Copy link

JayCears commented Nov 5, 2019

The same error occurred in my project.

I just download sample code from GitHub and run it but only black screen displayed and error return in the log section.

2019-11-05 17:46:07.540929+0530 DVAssetLoaderDelegate_Example[1516:62971] Task .<1> load failed with error Error Domain=NSURLErrorDomain Code=-999 "cancelled" UserInfo={NSErrorFailingURLStringKey=https://rg-tv.com/storage/movies/Stuber/YYYtPmPWRUT9tHMvQE6A.m3u8, NSErrorFailingURLKey=https://rg-tv.com/storage/movies/Stuber/YYYtPmPWRUT9tHMvQE6A.m3u8, _NSURLErrorRelatedURLSessionTaskErrorKey=(
"LocalDataTask .<1>"
), _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask .<1>, NSLocalizedDescription=cancelled} [-999]

Here is my URL: https://rg-tv.com/storage/movies/Stuber/YYYtPmPWRUT9tHMvQE6A.m3u8

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