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.common.js
CHANGED
|
@@ -13172,6 +13172,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
13172
13172
|
function VideoWebRtc($dom, opts) {
|
|
13173
13173
|
let _self = this;
|
|
13174
13174
|
|
|
13175
|
+
_self.VIDEO_DATA = [];
|
|
13175
13176
|
_self.videoListener = new Listener();
|
|
13176
13177
|
|
|
13177
13178
|
if (!opts) {
|
|
@@ -13271,8 +13272,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
13271
13272
|
|
|
13272
13273
|
VideoWebRtc.prototype = {
|
|
13273
13274
|
constructor: VideoWebRtc,
|
|
13274
|
-
VIDEO_DATA: [],
|
|
13275
|
-
//记录视频各分屏的状态
|
|
13275
|
+
// VIDEO_DATA: [], //记录视频各分屏的状态
|
|
13276
13276
|
|
|
13277
13277
|
/**
|
|
13278
13278
|
* 播放视频
|
|
@@ -31382,7 +31382,7 @@ const loadJson = function (url, param, backSuccfn, async, method, headers) {
|
|
|
31382
31382
|
* @param {*} connectcallfunc 通讯录通知处理
|
|
31383
31383
|
*/
|
|
31384
31384
|
|
|
31385
|
-
const initCometd = function (meetcallfunc, callfunc, videocallfunc, connectcallfunc, sip) {
|
|
31385
|
+
const initCometd = function (meetcallfunc, callfunc, videocallfunc, connectcallfunc, appMsgfunc, sip) {
|
|
31386
31386
|
//初始
|
|
31387
31387
|
let server_ = sip || server;
|
|
31388
31388
|
|
|
@@ -31411,7 +31411,8 @@ const initCometd = function (meetcallfunc, callfunc, videocallfunc, connectcallf
|
|
|
31411
31411
|
meetcallfunc,
|
|
31412
31412
|
callfunc,
|
|
31413
31413
|
videocallfunc,
|
|
31414
|
-
connectcallfunc
|
|
31414
|
+
connectcallfunc,
|
|
31415
|
+
appMsgfunc
|
|
31415
31416
|
});
|
|
31416
31417
|
}
|
|
31417
31418
|
|
|
@@ -31458,6 +31459,13 @@ function doSubscribe(_cometd, callback) {
|
|
|
31458
31459
|
_cometd.subscribe("/scooper_core/#", null, function (message) {
|
|
31459
31460
|
callback.connectcallfunc(message);
|
|
31460
31461
|
});
|
|
31462
|
+
} // scooper-msg-app 人员状态变化通知
|
|
31463
|
+
|
|
31464
|
+
|
|
31465
|
+
if (callback.appMsgfunc) {
|
|
31466
|
+
_cometd.subscribe("/scooper-app-msg/orgmember/heartbeat", null, function (message) {
|
|
31467
|
+
callback.appMsgfunc(message);
|
|
31468
|
+
});
|
|
31461
31469
|
}
|
|
31462
31470
|
}
|
|
31463
31471
|
/**
|
|
Binary file
|