This commit is contained in:
yumoqing 2024-08-20 17:59:41 +08:00
parent 1fd7b38e44
commit d4af8d48dc

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 = datapkg.data; var d = datapkg.data;
console.log('data received from server', d, event); console.log('data received from server', datapkg, 'd=', d, event);
switch (d.type){ switch (d.type){
case 'onlineList': case 'onlineList':
this.onlineList = d.onlineList; this.onlineList = d.onlineList;