降低检查频率
This commit is contained in:
parent
515492ccab
commit
3d9160a225
@ -168,7 +168,7 @@ export default class MusicList {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if (item.arrayBufferChunks.length <= index) { // 分片数量不足则等待
|
if (item.arrayBufferChunks.length <= index) { // 分片数量不足则等待
|
||||||
await new Promise(resolve => setTimeout(resolve, 100))
|
await new Promise(resolve => setTimeout(resolve, 200))
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
console.log('播放器加载分片:', item.name, `${index+1}/${chunkNumber}`)
|
console.log('播放器加载分片:', item.name, `${index+1}/${chunkNumber}`)
|
||||||
|
Loading…
Reference in New Issue
Block a user