@webex/plugin-meetings 3.9.0-next.1 → 3.9.0-next.10
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/breakouts/breakout.js +1 -1
- package/dist/breakouts/index.js +1 -1
- package/dist/interpretation/index.js +1 -1
- package/dist/interpretation/siLanguage.js +1 -1
- package/dist/locus-info/index.js +15 -6
- package/dist/locus-info/index.js.map +1 -1
- package/dist/locus-info/parser.js +4 -1
- package/dist/locus-info/parser.js.map +1 -1
- package/dist/meeting/index.js +98 -76
- package/dist/meeting/index.js.map +1 -1
- package/dist/members/index.js +3 -2
- package/dist/members/index.js.map +1 -1
- package/dist/members/util.js +7 -2
- package/dist/members/util.js.map +1 -1
- package/dist/reachability/index.js +3 -3
- package/dist/reachability/index.js.map +1 -1
- package/dist/types/locus-info/index.d.ts +2 -0
- package/dist/types/members/index.d.ts +2 -1
- package/dist/types/members/util.d.ts +6 -3
- package/dist/webinar/index.js +1 -1
- package/package.json +13 -13
- package/src/locus-info/index.ts +13 -5
- package/src/locus-info/parser.ts +5 -1
- package/src/meeting/index.ts +24 -2
- package/src/members/index.ts +9 -2
- package/src/members/util.ts +18 -2
- package/src/reachability/index.ts +3 -3
- package/test/unit/spec/locus-info/index.js +7 -7
- package/test/unit/spec/locus-info/parser.js +3 -2
- package/test/unit/spec/meeting/index.js +90 -22
- package/test/unit/spec/members/index.js +30 -2
- package/test/unit/spec/members/request.js +55 -0
- package/test/unit/spec/members/utils.js +116 -14
- package/test/unit/spec/reachability/index.ts +158 -3
package/dist/breakouts/index.js
CHANGED
@@ -1110,7 +1110,7 @@ var Breakouts = _webexCore.WebexPlugin.extend({
|
|
1110
1110
|
this.trigger(_constants.BREAKOUTS.EVENTS.ASK_RETURN_TO_MAIN);
|
1111
1111
|
}
|
1112
1112
|
},
|
1113
|
-
version: "3.9.0-next.
|
1113
|
+
version: "3.9.0-next.10"
|
1114
1114
|
});
|
1115
1115
|
var _default = exports.default = Breakouts;
|
1116
1116
|
//# sourceMappingURL=index.js.map
|
@@ -373,7 +373,7 @@ var SimultaneousInterpretation = _webexCore.WebexPlugin.extend({
|
|
373
373
|
throw error;
|
374
374
|
});
|
375
375
|
},
|
376
|
-
version: "3.9.0-next.
|
376
|
+
version: "3.9.0-next.10"
|
377
377
|
});
|
378
378
|
var _default = exports.default = SimultaneousInterpretation;
|
379
379
|
//# sourceMappingURL=index.js.map
|
package/dist/locus-info/index.js
CHANGED
@@ -105,21 +105,29 @@ var LocusInfo = exports.default = /*#__PURE__*/function (_EventsScope) {
|
|
105
105
|
* Does a Locus sync. It tries to get the latest delta DTO or if it can't, it falls back to getting the full Locus DTO.
|
106
106
|
*
|
107
107
|
* @param {Meeting} meeting
|
108
|
+
* @param {boolean} isLocusUrlChanged
|
109
|
+
* @param {Locus} locus
|
108
110
|
* @returns {undefined}
|
109
111
|
*/
|
110
112
|
(0, _createClass2.default)(LocusInfo, [{
|
111
113
|
key: "doLocusSync",
|
112
|
-
value: function doLocusSync(meeting) {
|
113
|
-
var
|
114
|
-
|
114
|
+
value: function doLocusSync(meeting, isLocusUrlChanged, locus) {
|
115
|
+
var _this$locusParser$wor,
|
116
|
+
_this2 = this;
|
115
117
|
var url;
|
118
|
+
var isDelta = false;
|
116
119
|
var meetingDestroyed = false;
|
117
|
-
if (
|
120
|
+
if (isLocusUrlChanged) {
|
121
|
+
// for the locus url changed case from breakout to main session, we should always do a full sync, in this case, the url from locus is always on main session,
|
122
|
+
// so use the main session locus url to get the full locus(full participants list in the response).
|
123
|
+
// for the locus url changed case from main session to breakout, we don't need to care about it here,
|
124
|
+
// because it is a USE_INCOMING case, it will not be executed here.
|
125
|
+
url = locus.url;
|
126
|
+
} else if ((_this$locusParser$wor = this.locusParser.workingCopy) !== null && _this$locusParser$wor !== void 0 && _this$locusParser$wor.syncUrl) {
|
118
127
|
url = this.locusParser.workingCopy.syncUrl;
|
119
128
|
isDelta = true;
|
120
129
|
} else {
|
121
130
|
url = meeting.locusUrl;
|
122
|
-
isDelta = false;
|
123
131
|
}
|
124
132
|
_loggerProxy.default.logger.info("Locus-info:index#doLocusSync --> doing Locus sync (getting ".concat(isDelta ? 'delta' : 'full', " DTO)"));
|
125
133
|
|
@@ -210,6 +218,7 @@ var LocusInfo = exports.default = /*#__PURE__*/function (_EventsScope) {
|
|
210
218
|
USE_INCOMING = _LocusDeltaParser$loc.USE_INCOMING,
|
211
219
|
WAIT = _LocusDeltaParser$loc.WAIT,
|
212
220
|
LOCUS_URL_CHANGED = _LocusDeltaParser$loc.LOCUS_URL_CHANGED;
|
221
|
+
var isLocusUrlChanged = action === LOCUS_URL_CHANGED;
|
213
222
|
switch (action) {
|
214
223
|
case USE_INCOMING:
|
215
224
|
meeting.locusInfo.onDeltaLocus(locus);
|
@@ -220,7 +229,7 @@ var LocusInfo = exports.default = /*#__PURE__*/function (_EventsScope) {
|
|
220
229
|
break;
|
221
230
|
case DESYNC:
|
222
231
|
case LOCUS_URL_CHANGED:
|
223
|
-
this.doLocusSync(meeting);
|
232
|
+
this.doLocusSync(meeting, isLocusUrlChanged, locus);
|
224
233
|
break;
|
225
234
|
default:
|
226
235
|
_loggerProxy.default.logger.info("Locus-info:index#applyLocusDeltaData --> Unknown locus delta action: ".concat(action));
|