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

特别容易出现文件损坏无法播放 #96

Open
KongQiPeng opened this issue May 10, 2024 · 2 comments
Open

特别容易出现文件损坏无法播放 #96

KongQiPeng opened this issue May 10, 2024 · 2 comments

Comments

@KongQiPeng
Copy link

截屏2024-05-09 22 36 05
奇葩的就是如果我在播放失败之后不断循环去取消任务清除缓存然后再重新创建播放器,在循环很多次之后总有一次会成功播放

@KongQiPeng
Copy link
Author

截屏2024-05-09 22 45 45

@ZeroOnet
Copy link

ZeroOnet commented Jun 25, 2024

if (self.bufferData.length > kBufferSize) {

问题是这个引起的,正确的做法是收到 data 就响应给 ResourceLoader。目前作者看起来已经没有维护了,你可以自行 fork 处理 @KongQiPeng

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