0xced/XCDYouTubeKit

Certain videos stopped working

sherwinzadeh opened this issue · 13 comments

Recently the following videos have stopped working:

https://youtu.be/eRr0Fqo1aZU
https://youtu.be/k-aYRib3bHE
https://youtu.be/h7p5e2wyzP0
https://youtu.be/9cdoPD51bng
https://youtu.be/nkbTxAfWvNQ

I tested on iOS using 2.15.1. I am receiving a stream URL but it just spins forever in AVPlayerController in iOS.

@sherwinzadeh Please download this branch and use the macOS demo

https://codeload.github.com/0xced/XCDYouTubeKit/zip/logs

Please my comment here:#507 (comment) to see how the files will look and attach them to your report

I have the same problem. Some videos work, and some don't. The videos linked above all worked, but others did not.

One example: https://www.youtube.com/watch?v=YQHsXMglC9A

I tried to use the macos demo, it keeps loading for a while but eventually it works, it only fails in the ios app.
When it fails, it does not return an error. Instead, it returns a non working url.

@MhmdSalah Did you get an error? Please include your logs.

I have the same problem after pull request. Cannot play the video stream url.

@oTranAnhMinh Did you receive an error?

@SoneeJohn I want to confirm with you that, I just checked and found that the stream url is working properly again after I restarted my laptop. It's very strange! (release/2.15.1)

@SoneeJohn I want to confirm with you that, I just checked and found that the stream url is working properly again after I restarted my laptop. It's very strange! (release/2.15.1)

Me too.

@sherwinzadeh Please download this branch and use the macOS demo

https://codeload.github.com/0xced/XCDYouTubeKit/zip/logs

@SoneeJohn Apologies for the late reply but I have confirmed that the URLs I posted do work on the Mac Demo but not on the iOS Demo app. Is this a confirmed issue? Let me know if there is anything I can do to help investigate further.

Please my comment here:#507 (comment) to see how the files will look and attach them to your report

Here are my logs:
Logs.zip

But again it works in the macOS Demo App but fails on iOS

FYI -- If I use Low Resolution option in the demo app, it does work on iOS.

@sherwinzadeh no, it doesn't work for me, sometimes I am getting url which is not loaded even if low resolution has been used.