@webex/plugin-meetings 3.12.0-next.133 → 3.12.0-next.135

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.
@@ -381,7 +381,7 @@ var SimultaneousInterpretation = _webexCore.WebexPlugin.extend({
381
381
  throw error;
382
382
  });
383
383
  },
384
- version: "3.12.0-next.133"
384
+ version: "3.12.0-next.135"
385
385
  });
386
386
  var _default = exports.default = SimultaneousInterpretation;
387
387
  //# sourceMappingURL=index.js.map
@@ -18,7 +18,7 @@ var SILanguage = _webexCore.WebexPlugin.extend({
18
18
  languageCode: 'number',
19
19
  languageName: 'string'
20
20
  },
21
- version: "3.12.0-next.133"
21
+ version: "3.12.0-next.135"
22
22
  });
23
23
  var _default = exports.default = SILanguage;
24
24
  //# sourceMappingURL=siLanguage.js.map
@@ -506,6 +506,18 @@ var LocusInfo = exports.default = /*#__PURE__*/function (_EventsScope) {
506
506
  this.updateLinks(locus.links);
507
507
  }
508
508
 
509
+ /**
510
+ * Whether we expect to receive updates over the LLM connection. This is used by hash tree parsers
511
+ * to decide whether to arm heartbeat watchdog timers for LLM data sets.
512
+ * @returns {boolean}
513
+ */
514
+ }, {
515
+ key: "isLlmExpected",
516
+ value: function isLlmExpected() {
517
+ var _this$parsedLocus$sel, _this$parsedLocus$sel2;
518
+ return ((_this$parsedLocus$sel = this.parsedLocus.self) === null || _this$parsedLocus$sel === void 0 ? void 0 : (_this$parsedLocus$sel2 = _this$parsedLocus$sel.joinedWith) === null || _this$parsedLocus$sel2 === void 0 ? void 0 : _this$parsedLocus$sel2.state) === 'JOINED';
519
+ }
520
+
509
521
  /**
510
522
  * Creates a HashTreeParser instance for a given locusUrl and stores it in the map.
511
523
  * @param {Object} params
@@ -533,6 +545,9 @@ var LocusInfo = exports.default = /*#__PURE__*/function (_EventsScope) {
533
545
  callbacks: {
534
546
  locusInfoUpdateCallback: this.updateFromHashTree.bind(this, locusUrl),
535
547
  syncLatencyTracker: this.callbacks.syncLatencyTracker,
548
+ isLlmExpected: function isLlmExpected() {
549
+ return _this4.isLlmExpected();
550
+ },
536
551
  // Reuse webex-core's tracking-id interceptor sequence (exposed publicly via
537
552
  // webexTrackingIdSequenceNumbers) so Locus requests share the client's unified
538
553
  // ${sessionId}_${sequence} tracking id space instead of minting an unrelated id. Fall
@@ -2314,8 +2329,8 @@ var LocusInfo = exports.default = /*#__PURE__*/function (_EventsScope) {
2314
2329
  }, {
2315
2330
  key: "updateMeetingInfo",
2316
2331
  value: function updateMeetingInfo(info, self) {
2317
- var _this$parsedLocus$sel;
2318
- var roles = self ? _selfUtils.default.getRoles(self) : ((_this$parsedLocus$sel = this.parsedLocus.self) === null || _this$parsedLocus$sel === void 0 ? void 0 : _this$parsedLocus$sel.roles) || [];
2332
+ var _this$parsedLocus$sel3;
2333
+ var roles = self ? _selfUtils.default.getRoles(self) : ((_this$parsedLocus$sel3 = this.parsedLocus.self) === null || _this$parsedLocus$sel3 === void 0 ? void 0 : _this$parsedLocus$sel3.roles) || [];
2319
2334
  var isJoined = _selfUtils.default.isJoined(self || this.parsedLocus.self);
2320
2335
 
2321
2336
  // The parsed userDisplayHints depend on info, roles and isJoined, so we must recompute
@@ -2430,6 +2445,7 @@ var LocusInfo = exports.default = /*#__PURE__*/function (_EventsScope) {
2430
2445
  value: function updateSelf(self) {
2431
2446
  if (self) {
2432
2447
  var _this$parsedLocus$ful7, _this$parsedLocus$inf;
2448
+ var wasLlmExpected = this.isLlmExpected();
2433
2449
  // @ts-ignore
2434
2450
  var parsedSelves = _selfUtils.default.getSelves(this.parsedLocus.self, self, this.webex.internal.device.url, this.participants // using this.participants instead of locus.participants here, because with delta DTOs locus.participants will only contain a small subset of participants
2435
2451
  );
@@ -2616,6 +2632,15 @@ var LocusInfo = exports.default = /*#__PURE__*/function (_EventsScope) {
2616
2632
  this.parsedLocus.self = parsedSelves.current;
2617
2633
  // @ts-ignore
2618
2634
  this.self = self;
2635
+
2636
+ // If LLM just became expected (self reported JOINED), some hash tree parsers may have skipped
2637
+ // arming heartbeat watchdog timers for LLM data sets whose messages arrived before this
2638
+ // update. Re-evaluate them now so those watchdogs get armed.
2639
+ if (!wasLlmExpected && this.isLlmExpected()) {
2640
+ this.hashTreeParsers.forEach(function (entry) {
2641
+ entry.parser.reevaluateLlmWatchdogs();
2642
+ });
2643
+ }
2619
2644
  } else {
2620
2645
  this.compareAndUpdateFlags.compareHostAndSelf = false;
2621
2646
  }