@webex/plugin-meetings 3.1.0-next.21 → 3.1.0-next.23

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.
@@ -209,7 +209,7 @@ var Breakout = _webexCore.WebexPlugin.extend({
209
209
  sessionId: this.sessionId
210
210
  });
211
211
  },
212
- version: "3.1.0-next.21"
212
+ version: "3.1.0-next.23"
213
213
  });
214
214
  var _default = exports.default = Breakout;
215
215
  //# sourceMappingURL=breakout.js.map
@@ -1041,7 +1041,7 @@ var Breakouts = _webexCore.WebexPlugin.extend({
1041
1041
  this.trigger(_constants.BREAKOUTS.EVENTS.ASK_RETURN_TO_MAIN);
1042
1042
  }
1043
1043
  },
1044
- version: "3.1.0-next.21"
1044
+ version: "3.1.0-next.23"
1045
1045
  });
1046
1046
  var _default = exports.default = Breakouts;
1047
1047
  //# sourceMappingURL=index.js.map
@@ -373,7 +373,7 @@ var SimultaneousInterpretation = _webexCore.WebexPlugin.extend({
373
373
  throw error;
374
374
  });
375
375
  },
376
- version: "3.1.0-next.21"
376
+ version: "3.1.0-next.23"
377
377
  });
378
378
  var _default = exports.default = SimultaneousInterpretation;
379
379
  //# 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.1.0-next.21"
21
+ version: "3.1.0-next.23"
22
22
  });
23
23
  var _default = exports.default = SILanguage;
24
24
  //# sourceMappingURL=siLanguage.js.map
@@ -561,6 +561,21 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
561
561
  break;
562
562
  }
563
563
  });
564
+ /**
565
+ * This is a callback for the LLM event that is triggered when it comes online
566
+ * This method in turn will trigger an event to the developers that the LLM is connected
567
+ * @private
568
+ * @memberof Meeting
569
+ * @returns {null}
570
+ */
571
+ (0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "handleLLMOnline", function () {
572
+ // @ts-ignore
573
+ _this.webex.internal.llm.off('online', _this.handleLLMOnline);
574
+ _triggerProxy.default.trigger((0, _assertThisInitialized2.default)(_this), {
575
+ file: 'meeting/index',
576
+ function: 'handleLLMOnline'
577
+ }, _constants.EVENT_TRIGGERS.MEETING_TRANSCRIPTION_CONNECTED, undefined);
578
+ });
564
579
  /**
565
580
  * Handles ROAP_FAILURE event from the webrtc media connection
566
581
  *
@@ -5316,7 +5331,9 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
5316
5331
  function: 'triggerStopReceivingTranscriptionEvent'
5317
5332
  }, _constants.EVENT_TRIGGERS.MEETING_STOPPED_RECEIVING_TRANSCRIPTION);
5318
5333
  }
5319
-
5334
+ }, {
5335
+ key: "join",
5336
+ value: (
5320
5337
  /**
5321
5338
  * Specify joining via audio (option: pstn), video, screenshare
5322
5339
  * @param {JoinOptions} options A configurable options object for joining a meeting
@@ -5329,9 +5346,7 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
5329
5346
  * if joining as host on second loop, pass pin and pass moderator if joining as guest on second loop
5330
5347
  * Scenario D: Joining any other way (sip, pstn, conversationUrl, link just need to specify resourceId)
5331
5348
  */
5332
- }, {
5333
- key: "join",
5334
- value: (function () {
5349
+ function () {
5335
5350
  var _join = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee18() {
5336
5351
  var _this31 = this;
5337
5352
  var options,
@@ -5524,6 +5539,8 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
5524
5539
  }).then(function (join) {
5525
5540
  // @ts-ignore - config coming from registerPlugin
5526
5541
  if (_this31.config.enableAutomaticLLM) {
5542
+ // @ts-ignore
5543
+ _this31.webex.internal.llm.on('online', _this31.handleLLMOnline);
5527
5544
  _this31.updateLLMConnection().catch(function (error) {
5528
5545
  _loggerProxy.default.logger.error('Meeting:index#join --> Transcription Socket Connection Failed', error);
5529
5546
  _metrics.default.sendBehavioralMetric(_constants2.default.LLM_CONNECTION_AFTER_JOIN_FAILURE, {
@@ -5533,10 +5550,6 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
5533
5550
  });
5534
5551
  }).then(function () {
5535
5552
  _loggerProxy.default.logger.info('Meeting:index#join --> Transcription Socket Connection Success');
5536
- _triggerProxy.default.trigger(_this31, {
5537
- file: 'meeting/index',
5538
- function: 'join'
5539
- }, _constants.EVENT_TRIGGERS.MEETING_TRANSCRIPTION_CONNECTED, undefined);
5540
5553
  });
5541
5554
  }
5542
5555
  return join;