From 20d3c059d7ce0d162993577c08d8c07bcd84ea1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A7=89?= Date: Tue, 3 Oct 2023 05:47:00 +0800 Subject: [PATCH] default --- public/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/index.html b/public/index.html index 5cafac8..bea0cd2 100644 --- a/public/index.html +++ b/public/index.html @@ -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('音乐数据接收完毕')