ucservice 2.4.8 → 2.4.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ucservice.common.js +48 -10
- package/dist/ucservice.common.js.gz +0 -0
- package/dist/ucservice.common.js.map +1 -1
- package/dist/ucservice.umd.js +48 -10
- package/dist/ucservice.umd.js.gz +0 -0
- package/dist/ucservice.umd.js.map +1 -1
- package/dist/ucservice.umd.min.js +1 -1
- package/dist/ucservice.umd.min.js.gz +0 -0
- package/dist/ucservice.umd.min.js.map +1 -1
- package/package.json +1 -1
package/dist/ucservice.umd.js
CHANGED
|
@@ -32751,17 +32751,36 @@ const meetOp = sip => {
|
|
|
32751
32751
|
},
|
|
32752
32752
|
end: function (param) {
|
|
32753
32753
|
let net = meet_url.endMeetNet;
|
|
32754
|
-
|
|
32754
|
+
let async = true;
|
|
32755
|
+
|
|
32756
|
+
if (Object.keys(param).includes('async')) {
|
|
32757
|
+
async = param.async;
|
|
32758
|
+
}
|
|
32759
|
+
|
|
32760
|
+
if (async) {
|
|
32761
|
+
return new Promise((resolve, reject) => {
|
|
32762
|
+
loadJson(server_ + net.url, { ...param
|
|
32763
|
+
}, function (ret) {
|
|
32764
|
+
if (ret.code == 0) {
|
|
32765
|
+
resolve(ret);
|
|
32766
|
+
} else {
|
|
32767
|
+
console.log("结束会议失败", ret.code);
|
|
32768
|
+
reject(ret.code);
|
|
32769
|
+
}
|
|
32770
|
+
}, '', net.method);
|
|
32771
|
+
});
|
|
32772
|
+
} else {
|
|
32773
|
+
// 同步
|
|
32774
|
+
delete param.async;
|
|
32755
32775
|
loadJson(server_ + net.url, { ...param
|
|
32756
32776
|
}, function (ret) {
|
|
32757
32777
|
if (ret.code == 0) {
|
|
32758
|
-
|
|
32778
|
+
console.log("结束会议成功");
|
|
32759
32779
|
} else {
|
|
32760
32780
|
console.log("结束会议失败", ret.code);
|
|
32761
|
-
reject(ret.code);
|
|
32762
32781
|
}
|
|
32763
|
-
},
|
|
32764
|
-
}
|
|
32782
|
+
}, async, net.method);
|
|
32783
|
+
}
|
|
32765
32784
|
},
|
|
32766
32785
|
joinVideo: function (param) {
|
|
32767
32786
|
let net = meet_url.joinVideoMemberNet;
|
|
@@ -32807,17 +32826,36 @@ const meetOp = sip => {
|
|
|
32807
32826
|
},
|
|
32808
32827
|
destroyRoom: function (param) {
|
|
32809
32828
|
let net = meet_url.destroyMeetNet;
|
|
32810
|
-
|
|
32829
|
+
let async = true;
|
|
32830
|
+
|
|
32831
|
+
if (Object.keys(param).includes('async')) {
|
|
32832
|
+
async = param.async;
|
|
32833
|
+
}
|
|
32834
|
+
|
|
32835
|
+
if (async) {
|
|
32836
|
+
return new Promise((resolve, reject) => {
|
|
32837
|
+
loadJson(server_ + net.url, { ...param
|
|
32838
|
+
}, function (ret) {
|
|
32839
|
+
if (ret.code == 0) {
|
|
32840
|
+
resolve(ret);
|
|
32841
|
+
} else {
|
|
32842
|
+
console.log("销毁会议会场失败", ret.code);
|
|
32843
|
+
reject(ret.code);
|
|
32844
|
+
}
|
|
32845
|
+
}, '', net.method);
|
|
32846
|
+
});
|
|
32847
|
+
} else {
|
|
32848
|
+
// 同步
|
|
32849
|
+
delete param.async;
|
|
32811
32850
|
loadJson(server_ + net.url, { ...param
|
|
32812
32851
|
}, function (ret) {
|
|
32813
32852
|
if (ret.code == 0) {
|
|
32814
|
-
|
|
32853
|
+
console.log("销毁会议会场成功");
|
|
32815
32854
|
} else {
|
|
32816
32855
|
console.log("销毁会议会场失败", ret.code);
|
|
32817
|
-
reject(ret.code);
|
|
32818
32856
|
}
|
|
32819
|
-
},
|
|
32820
|
-
}
|
|
32857
|
+
}, async, net.method);
|
|
32858
|
+
}
|
|
32821
32859
|
},
|
|
32822
32860
|
changeMemberStatus: function (param) {
|
|
32823
32861
|
let net = meet_url.changeMemeberLevelNet;
|
package/dist/ucservice.umd.js.gz
CHANGED
|
Binary file
|