This commit is contained in:
yumoqing 2024-08-20 17:47:30 +08:00
parent 640dc0d0a3
commit 31560734ea

View File

@ -194,7 +194,8 @@ bricks.RTCClient = class extends bricks.VBox {
})); }));
} }
async signaling_message_handle(event){ async signaling_message_handle(event){
var d = event.data; var datapkg = event.data;
var d = datapkg.data;
console.log('data received from server', d, event); console.log('data received from server', d, event);
switch (d.type){ switch (d.type){
case 'onlineList': case 'onlineList':