ucservice 2.7.4 → 2.7.5

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.
@@ -30049,7 +30049,7 @@ let meet = {
30049
30049
  如果要将会场成员踢出,调用拆线接口即可
30050
30050
  **/
30051
30051
  url: '/dispatch-web/api/meet/joinVideoMember',
30052
- method: 'GET',
30052
+ method: 'POST',
30053
30053
  requestParam: {
30054
30054
  token: '',
30055
30055
  meetId: '',
@@ -31724,7 +31724,7 @@ const loadJson = function (url, param, backSuccfn, async, method, headers, conte
31724
31724
  * @param {*} connectcallfunc 通讯录通知处理
31725
31725
  */
31726
31726
 
31727
- const initCometd = function (meetcallfunc, callfunc, videocallfunc, connectcallfunc, appMsgfunc, sip) {
31727
+ const initCometd = function (meetcallfunc, callfunc, videocallfunc, connectcallfunc, appMsgfunc, devicefunc, sip) {
31728
31728
  //初始
31729
31729
  let server_ = sip || server;
31730
31730
 
@@ -31754,7 +31754,8 @@ const initCometd = function (meetcallfunc, callfunc, videocallfunc, connectcallf
31754
31754
  callfunc,
31755
31755
  videocallfunc,
31756
31756
  connectcallfunc,
31757
- appMsgfunc
31757
+ appMsgfunc,
31758
+ devicefunc
31758
31759
  });
31759
31760
  }
31760
31761
 
@@ -31785,6 +31786,16 @@ function doSubscribe(_cometd, callback) {
31785
31786
  callback.callfunc(message);
31786
31787
  });
31787
31788
  }
31789
+ /**
31790
+ * 设备在离线状态消息通知
31791
+ */
31792
+
31793
+
31794
+ if (callback.devicefunc) {
31795
+ _cometd.subscribe("/device/res-status/#", null, function (message) {
31796
+ callback.devicefunc(message);
31797
+ });
31798
+ }
31788
31799
  /**
31789
31800
  * 视频通话状态消息通知(视频通话建立 和 中断)
31790
31801
  */
Binary file