This commit is contained in:
yumoqing 2024-10-11 11:38:05 +08:00
parent b49f6300f7
commit f0b4b90edd

View File

@ -71,6 +71,7 @@ bricks.Signaling = class {
async signaling_recvdata(event){ async signaling_recvdata(event){
var datapkg = JSON.parse(event.data); var datapkg = JSON.parse(event.data);
var data = datapkg.data; var data = datapkg.data;
console.log('ws recv data=', data);
if (data.session) { if (data.session) {
var sessionid = data.session.sessionid; var sessionid = data.session.sessionid;
var sessiontype = data.session.sessiontype; var sessiontype = data.session.sessiontype;