From 7f8d8317cc2d412c3c7d52b94ecae865c8618937 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Tue, 20 Aug 2024 19:23:01 +0800 Subject: [PATCH] bugfix --- bricks/rtc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bricks/rtc.js b/bricks/rtc.js index 458116a..a21047a 100644 --- a/bricks/rtc.js +++ b/bricks/rtc.js @@ -196,7 +196,7 @@ bricks.RTCClient = class extends bricks.VBox { } async signaling_message_handle(event){ var datapkg = JSON.parse(event.data); - var d = JSON.parse(datapkg.data); + var d = datapkg.data; console.log('data received from server', datapkg, 'd=', d, event); switch (d.type){ case 'onlineList':