default
This commit is contained in:
parent
18ea4841e0
commit
20d3c059d7
@ -114,8 +114,8 @@
|
||||
var count = 0
|
||||
clientList.setChannel(`music-data-${item.id}`, {
|
||||
onmessage: async (event, client) => {
|
||||
console.log('收到音乐数据 chunk', count, buffer.byteLength)
|
||||
buffer = appendBuffer(buffer, event.data)
|
||||
console.log('收到音乐数据 chunk', count, buffer.byteLength)
|
||||
count++
|
||||
if (buffer.byteLength >= item.size) {
|
||||
console.log('音乐数据接收完毕')
|
||||
|
Loading…
Reference in New Issue
Block a user