This commit is contained in:
yumoqing 2024-08-20 17:49:48 +08:00
parent 31560734ea
commit 465406dbdd

View File

@ -194,7 +194,7 @@ bricks.RTCClient = class extends bricks.VBox {
})); }));
} }
async signaling_message_handle(event){ async signaling_message_handle(event){
var datapkg = 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', d, event);
switch (d.type){ switch (d.type){