This commit is contained in:
yumoqing 2024-08-20 19:23:01 +08:00
parent 2ee2a758e7
commit 7f8d8317cc

View File

@ -196,7 +196,7 @@ bricks.RTCClient = class extends bricks.VBox {
} }
async signaling_message_handle(event){ async signaling_message_handle(event){
var datapkg = JSON.parse(event.data); 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); console.log('data received from server', datapkg, 'd=', d, event);
switch (d.type){ switch (d.type){
case 'onlineList': case 'onlineList':