Skip to content

NSParameterAssert(_task.response.totalLength != 0);崩溃 #85

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

Open
wangxiaojie0379 opened this issue Mar 11, 2025 · 7 comments
Open

NSParameterAssert(_task.response.totalLength != 0);崩溃 #85

wangxiaojie0379 opened this issue Mar 11, 2025 · 7 comments

Comments

@changsanjiang
Copy link
Owner

之前修复过,升级到 2.1.0 再试试。

@wangxiaojie0379
Copy link
Author

升到2.1以后该视频无法播放,我还在看具体原因

@wangxiaojie0379
Copy link
Author

看了一下代码,预加载的时候,asset里面长度没有获取成功,totallength一直是0

@changsanjiang
Copy link
Owner

有不能播放的链接吗? 上面那个视频我在demo能播出来

@wangxiaojie0379
Copy link
Author

就是这个链接,在18.3上面正常,13pro 18.3.1上面播不出来

@wangxiaojie0379
Copy link
Author

试了一下,demo是能播出来,我这边再看看

@wangxiaojie0379
Copy link
Author

应该是缓存影响导致的。我这边删了缓存,重新生成地址缓存,就正常播放了

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