-
Notifications
You must be signed in to change notification settings - Fork 304
Empty SparseArray on first attempt #2
Comments
Can you give me a sample video where this behavior occurs. I can't reproduce it with the unit tests. |
It happens with vevo vidoes : Adele When we were Young (AdeleVevo) : https://www.youtube.com/watch?v=DDWKuo3gXMQ It doesn't happen always, only sometimes. |
Still can't reproduce it. But since it only happens on signature enciphered videos maybe Line 323 in 88f5fbd
Can you try to increase it to 5-10 seconds and report back if that fixes it. Little insight, afaik there is no way to capture a js error in a webview. The webview just won't respond on an error and without the wait there would be a deadlock. The first start of a webview is usually slower than consecutive ones, which would explain why it works when you try it again. |
Yes, that seems to fix the issue. |
Hi,
I was using this library in an application and sometimes it gives empty SparseArray in first attempt but on trying again for same video, it gives all the links. I know it sounds weird but it happens a lot of times.
Do you know what could be the problem ?
Thanks!
The text was updated successfully, but these errors were encountered: