From 3f3da50dfb6417e1ad56f2cb5c8939186efb11fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A7=89?= Date: Tue, 3 Oct 2023 05:47:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=81=A2=E5=A4=8D=E5=8E=9F=E7=8A=B6Ors?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/index.html b/public/index.html index bea0cd2..a565725 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('音乐数据接收完毕')