ucservice 1.8.5 → 1.8.7
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 +12 -4
- package/dist/ucservice.common.js.gz +0 -0
- package/dist/ucservice.common.js.map +1 -1
- package/dist/ucservice.umd.js +12 -4
- 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
|
@@ -13181,6 +13181,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
13181
13181
|
function VideoWebRtc($dom, opts) {
|
|
13182
13182
|
let _self = this;
|
|
13183
13183
|
|
|
13184
|
+
_self.VIDEO_DATA = [];
|
|
13184
13185
|
_self.videoListener = new Listener();
|
|
13185
13186
|
|
|
13186
13187
|
if (!opts) {
|
|
@@ -13280,8 +13281,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
13280
13281
|
|
|
13281
13282
|
VideoWebRtc.prototype = {
|
|
13282
13283
|
constructor: VideoWebRtc,
|
|
13283
|
-
VIDEO_DATA: [],
|
|
13284
|
-
//记录视频各分屏的状态
|
|
13284
|
+
// VIDEO_DATA: [], //记录视频各分屏的状态
|
|
13285
13285
|
|
|
13286
13286
|
/**
|
|
13287
13287
|
* 播放视频
|
|
@@ -31391,7 +31391,7 @@ const loadJson = function (url, param, backSuccfn, async, method, headers) {
|
|
|
31391
31391
|
* @param {*} connectcallfunc 通讯录通知处理
|
|
31392
31392
|
*/
|
|
31393
31393
|
|
|
31394
|
-
const initCometd = function (meetcallfunc, callfunc, videocallfunc, connectcallfunc, sip) {
|
|
31394
|
+
const initCometd = function (meetcallfunc, callfunc, videocallfunc, connectcallfunc, appMsgfunc, sip) {
|
|
31395
31395
|
//初始
|
|
31396
31396
|
let server_ = sip || server;
|
|
31397
31397
|
|
|
@@ -31420,7 +31420,8 @@ const initCometd = function (meetcallfunc, callfunc, videocallfunc, connectcallf
|
|
|
31420
31420
|
meetcallfunc,
|
|
31421
31421
|
callfunc,
|
|
31422
31422
|
videocallfunc,
|
|
31423
|
-
connectcallfunc
|
|
31423
|
+
connectcallfunc,
|
|
31424
|
+
appMsgfunc
|
|
31424
31425
|
});
|
|
31425
31426
|
}
|
|
31426
31427
|
|
|
@@ -31467,6 +31468,13 @@ function doSubscribe(_cometd, callback) {
|
|
|
31467
31468
|
_cometd.subscribe("/scooper_core/#", null, function (message) {
|
|
31468
31469
|
callback.connectcallfunc(message);
|
|
31469
31470
|
});
|
|
31471
|
+
} // scooper-msg-app 人员状态变化通知
|
|
31472
|
+
|
|
31473
|
+
|
|
31474
|
+
if (callback.appMsgfunc) {
|
|
31475
|
+
_cometd.subscribe("/scooper-app-msg/orgmember/heartbeat", null, function (message) {
|
|
31476
|
+
callback.appMsgfunc(message);
|
|
31477
|
+
});
|
|
31470
31478
|
}
|
|
31471
31479
|
}
|
|
31472
31480
|
/**
|
package/dist/ucservice.umd.js.gz
CHANGED
|
Binary file
|