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

Can't play video in release mode, NSURLErrorDomain Code=-999 "cancelled" #518

Open
zabojad opened this issue Jan 27, 2021 · 2 comments
Open

Comments

@zabojad
Copy link

zabojad commented Jan 27, 2021

I'm using the latest 2.15.2 release version of XCDYouTubeKit:

...
Installing XCDYouTubeKit (2.15.2)
...

I've cleant build folder and rebuilt my app several times. Still, I'm getting those errors:

2021-01-27 14:24:33.162662+0100 MyApp[95703:20601650] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C31.1:2][0x7fdcac146cf0] get output frames failed, state 8196
2021-01-27 14:24:33.162882+0100 MyApp[95703:20601650] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C31.1:2][0x7fdcac146cf0] get output frames failed, state 8196
2021-01-27 14:24:33.165091+0100 MyApp[95703:20601650] TIC Read Status [31:0x0]: 1:57
2021-01-27 14:24:33.165907+0100 MyApp[95703:20601650] TIC Read Status [31:0x0]: 1:57
2021-01-27 14:24:33.843699+0100 MyApp[95703:20602717] Task <42662AEF-08F5-4703-A04C-60F01F6D4212>.<2> load failed with error Error Domain=NSURLErrorDomain Code=-999 "cancelled" UserInfo={NSErrorFailingURLStringKey=https://r1---sn-25glen7r.googlevideo.com/videoplayback?expire=1611775470&ei=jmkRYPuPJMujxN8P6ZWnkAw&ip=2.13.88.8&id=o-AN3wzLvQbCHzAG1HkH5bsatttcs1S3diQ6Pd2v120wXp&itag=22&source=youtube&requiressl=yes&mh=dS&mm=31%2C29&mn=sn-25glen7r%2Csn-25ge7nzs&ms=au%2Crdu&mv=m&mvi=1&pl=16&initcwndbps=980000&vprv=1&mime=video%2Fmp4&ns=cO-5vvKoTYsO19abAe1otn0F&ratebypass=yes&dur=135.859&lmt=1608792985397146&mt=1611753633&fvip=1&c=WEB&txp=6216222&n=Kaz0UvrfvoeXhygTGVjl&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cratebypass%2Cdur%2Clmt&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRQIgHLBHXVbv9x2Eor8ffxLhSKzUj2QCcT-rV6NvC_XcohwCIQDmfFpZjntWsJRJ6hoyTsGJhWAmy-7HeRshG85I4sDklg%3D%3D&sig=AOq0QJ8wRQIhAKJFMM7bLxUTY0d5RmjUUEzZ8WC_RvBau642612dWImFAiACQ-9XBH5AqTrL4vZD6irSIXOuMYeXkdBZO0HcK8tP8w==, NSErrorFailingURLKey=https://r1---sn-25glen7r.googlevideo.com/videoplayback?expire=1611775470&ei=jmkRYPuPJMujxN8P6ZWnkAw&ip=2.13.88.8&id=o-AN3wzLvQbCHzAG1HkH5bsatttcs1S3diQ6Pd2v120wXp&itag=22&source=youtube&requiressl=yes&mh=dS&mm=31%2C29&mn=sn-25glen7r%2Csn-25ge7nzs&ms=au%2Crdu&mv=m&mvi=1&pl=16&initcwndbps=980000&vprv=1&mime=video%2Fmp4&ns=cO-5vvKoTYsO19abAe1otn0F&ratebypass=yes&dur=135.859&lmt=1608792985397146&mt=1611753633&fvip=1&c=WEB&txp=6216222&n=Kaz0UvrfvoeXhygTGVjl&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cratebypass%2Cdur%2Clmt&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRQIgHLBHXVbv9x2Eor8ffxLhSKzUj2QCcT-rV6NvC_XcohwCIQDmfFpZjntWsJRJ6hoyTsGJhWAmy-7HeRshG85I4sDklg%3D%3D&sig=AOq0QJ8wRQIhAKJFMM7bLxUTY0d5RmjUUEzZ8WC_RvBau642612dWImFAiACQ-9XBH5AqTrL4vZD6irSIXOuMYeXkdBZO0HcK8tP8w==, _NSURLErrorRelatedURLSessionTaskErrorKey=(
    "LocalDataTask <42662AEF-08F5-4703-A04C-60F01F6D4212>.<2>"
), _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <42662AEF-08F5-4703-A04C-60F01F6D4212>.<2>, NSLocalizedDescription=cancelled} [-999]
2021-01-27 14:24:33.870818+0100 MyApp[95703:20602463] Task <42662AEF-08F5-4703-A04C-60F01F6D4212>.<2> finished with error - code: -999
2021-01-27 14:24:33.872736+0100 MyApp[95703:20602461] TIC Read Status [33:0x0]: 1:57
2021-01-27 14:24:34.463689+0100 MyApp[95703:20602826] [AudioHAL_Client] HALB_IOBufferManager.cpp:226:GetIOBuffer:  HALB_IOBufferManager::GetIOBuffer: the stream index is out of range
2021-01-27 14:24:34.464149+0100 MyApp[95703:20602826] [AudioHAL_Client] HALB_IOBufferManager.cpp:226:GetIOBuffer:  HALB_IOBufferManager::GetIOBuffer: the stream index is out of range
2021-01-27 14:24:34.476365+0100 MyApp[95703:20602826] [aqme] 254: AQDefaultDevice (1): output stream 0: null buffer
2021-01-27 14:24:34.477554+0100 MyApp[95703:20602826] [aqme] 1640: EXCEPTION thrown (-50): -
2021-01-27 14:24:49.410457+0100 MyApp[95703:20602463] [aqme] 177: timed out after 15.000s (0 1); suspension count=0 (IOSuspensions: )
2021-01-27 14:24:49.411587+0100 MyApp[95703:20602463] 239: CA_UISoundClientBase::StartPlaying: AddRunningClient failed (status = -66681).
2021-01-27 14:24:49.740858+0100 MyApp[95703:20603185] [AudioHAL_Client] HALB_IOBufferManager.cpp:226:GetIOBuffer:  HALB_IOBufferManager::GetIOBuffer: the stream index is out of range
2021-01-27 14:24:49.741013+0100 MyApp[95703:20603185] [AudioHAL_Client] HALB_IOBufferManager.cpp:226:GetIOBuffer:  HALB_IOBufferManager::GetIOBuffer: the stream index is out of range
2021-01-27 14:24:49.753667+0100 MyApp[95703:20603185] [aqme] 254: AQDefaultDevice (1): output stream 0: null buffer
2021-01-27 14:24:49.754822+0100 MyApp[95703:20603185] [aqme] 1640: EXCEPTION thrown (-50): -

Video will still play in debug mode (with that error being thrown). However, it won't play in release mode: the player will show up and disappear right away...

Can you please help me with this issue?

@zabojad
Copy link
Author

zabojad commented Jan 28, 2021

I'm surprised nobody seems to react on this issue. Don't you guys have the same problem on your side???

@zabojad zabojad changed the title Can't play video in release mode, NSURLErrorDomain Can't play video in release mode, NSURLErrorDomain Code=-999 "cancelled" Jan 28, 2021
@zabojad
Copy link
Author

zabojad commented Jan 29, 2021

Today is even worse, I do not have any video playing even in debug mode... Is anyone in the same situation?

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

1 participant