@webex/plugin-meetings 2.59.6 → 2.59.8-next.1

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.
Files changed (152) hide show
  1. package/dist/common/browser-detection.js +2 -2
  2. package/dist/common/browser-detection.js.map +1 -1
  3. package/dist/common/collection.js +2 -2
  4. package/dist/common/collection.js.map +1 -1
  5. package/dist/config.js +2 -2
  6. package/dist/config.js.map +1 -1
  7. package/dist/constants.js +0 -2
  8. package/dist/constants.js.map +1 -1
  9. package/dist/controls-options-manager/index.js +2 -2
  10. package/dist/controls-options-manager/index.js.map +1 -1
  11. package/dist/locus-info/controlsUtils.js +6 -6
  12. package/dist/locus-info/controlsUtils.js.map +1 -1
  13. package/dist/locus-info/index.js +18 -18
  14. package/dist/locus-info/index.js.map +1 -1
  15. package/dist/locus-info/parser.js +2 -2
  16. package/dist/locus-info/parser.js.map +1 -1
  17. package/dist/meeting/index.js +173 -167
  18. package/dist/meeting/index.js.map +1 -1
  19. package/dist/meeting/request.js +2 -2
  20. package/dist/meeting/request.js.map +1 -1
  21. package/dist/meeting/util.js +4 -4
  22. package/dist/meeting/util.js.map +1 -1
  23. package/dist/meeting-info/collection.js +2 -2
  24. package/dist/meeting-info/collection.js.map +1 -1
  25. package/dist/meetings/collection.js +2 -2
  26. package/dist/meetings/collection.js.map +1 -1
  27. package/dist/members/index.js +2 -2
  28. package/dist/members/index.js.map +1 -1
  29. package/dist/metrics/constants.js +0 -2
  30. package/dist/metrics/constants.js.map +1 -1
  31. package/dist/metrics/index.js +2 -2
  32. package/dist/metrics/index.js.map +1 -1
  33. package/dist/reachability/index.js +9 -2
  34. package/dist/reachability/index.js.map +1 -1
  35. package/dist/roap/index.js +12 -13
  36. package/dist/roap/index.js.map +1 -1
  37. package/dist/roap/turnDiscovery.js +44 -130
  38. package/dist/roap/turnDiscovery.js.map +1 -1
  39. package/dist/statsAnalyzer/global.js +12 -4
  40. package/dist/statsAnalyzer/global.js.map +1 -1
  41. package/dist/statsAnalyzer/index.js +14 -56
  42. package/dist/statsAnalyzer/index.js.map +1 -1
  43. package/dist/statsAnalyzer/mqaUtil.js +15 -15
  44. package/dist/statsAnalyzer/mqaUtil.js.map +1 -1
  45. package/package.json +22 -21
  46. package/src/config.ts +2 -2
  47. package/src/constants.ts +0 -2
  48. package/src/meeting/index.ts +23 -47
  49. package/src/metrics/constants.ts +0 -2
  50. package/src/roap/index.ts +10 -14
  51. package/src/roap/turnDiscovery.ts +20 -48
  52. package/src/statsAnalyzer/global.ts +10 -2
  53. package/src/statsAnalyzer/index.ts +17 -80
  54. package/test/unit/spec/meeting/index.js +53 -83
  55. package/test/unit/spec/roap/index.ts +80 -84
  56. package/test/unit/spec/roap/turnDiscovery.ts +0 -21
  57. package/test/unit/spec/stats-analyzer/index.js +0 -151
  58. package/dist/common/browser-detection.d.ts +0 -9
  59. package/dist/common/collection.d.ts +0 -48
  60. package/dist/common/config.d.ts +0 -2
  61. package/dist/common/errors/captcha-error.d.ts +0 -15
  62. package/dist/common/errors/intent-to-join.d.ts +0 -16
  63. package/dist/common/errors/join-meeting.d.ts +0 -17
  64. package/dist/common/errors/media.d.ts +0 -15
  65. package/dist/common/errors/parameter.d.ts +0 -15
  66. package/dist/common/errors/password-error.d.ts +0 -15
  67. package/dist/common/errors/permission.d.ts +0 -14
  68. package/dist/common/errors/reconnection-in-progress.d.ts +0 -9
  69. package/dist/common/errors/reconnection.d.ts +0 -15
  70. package/dist/common/errors/stats.d.ts +0 -15
  71. package/dist/common/errors/webex-errors.d.ts +0 -81
  72. package/dist/common/errors/webex-meetings-error.d.ts +0 -20
  73. package/dist/common/events/events-scope.d.ts +0 -17
  74. package/dist/common/events/events.d.ts +0 -12
  75. package/dist/common/events/trigger-proxy.d.ts +0 -2
  76. package/dist/common/events/util.d.ts +0 -2
  77. package/dist/common/logs/logger-config.d.ts +0 -2
  78. package/dist/common/logs/logger-proxy.d.ts +0 -2
  79. package/dist/common/logs/request.d.ts +0 -34
  80. package/dist/common/queue.d.ts +0 -32
  81. package/dist/config.d.ts +0 -73
  82. package/dist/constants.d.ts +0 -926
  83. package/dist/controls-options-manager/constants.d.ts +0 -4
  84. package/dist/controls-options-manager/enums.d.ts +0 -5
  85. package/dist/controls-options-manager/index.d.ts +0 -120
  86. package/dist/controls-options-manager/util.d.ts +0 -7
  87. package/dist/index.d.ts +0 -4
  88. package/dist/locus-info/controlsUtils.d.ts +0 -2
  89. package/dist/locus-info/embeddedAppsUtils.d.ts +0 -2
  90. package/dist/locus-info/fullState.d.ts +0 -2
  91. package/dist/locus-info/hostUtils.d.ts +0 -2
  92. package/dist/locus-info/index.d.ts +0 -269
  93. package/dist/locus-info/infoUtils.d.ts +0 -2
  94. package/dist/locus-info/mediaSharesUtils.d.ts +0 -2
  95. package/dist/locus-info/parser.d.ts +0 -212
  96. package/dist/locus-info/selfUtils.d.ts +0 -2
  97. package/dist/media/index.d.ts +0 -32
  98. package/dist/media/properties.d.ts +0 -108
  99. package/dist/media/util.d.ts +0 -2
  100. package/dist/mediaQualityMetrics/config.d.ts +0 -233
  101. package/dist/meeting/effectsState.d.ts +0 -42
  102. package/dist/meeting/in-meeting-actions.d.ts +0 -79
  103. package/dist/meeting/index.d.ts +0 -1621
  104. package/dist/meeting/muteState.d.ts +0 -116
  105. package/dist/meeting/request.d.ts +0 -255
  106. package/dist/meeting/state.d.ts +0 -9
  107. package/dist/meeting/util.d.ts +0 -2
  108. package/dist/meeting-info/collection.d.ts +0 -20
  109. package/dist/meeting-info/index.d.ts +0 -57
  110. package/dist/meeting-info/meeting-info-v2.d.ts +0 -93
  111. package/dist/meeting-info/request.d.ts +0 -22
  112. package/dist/meeting-info/util.d.ts +0 -2
  113. package/dist/meeting-info/utilv2.d.ts +0 -2
  114. package/dist/meetings/collection.d.ts +0 -23
  115. package/dist/meetings/index.d.ts +0 -296
  116. package/dist/meetings/request.d.ts +0 -27
  117. package/dist/meetings/util.d.ts +0 -18
  118. package/dist/member/index.d.ts +0 -147
  119. package/dist/member/member.types.d.ts +0 -11
  120. package/dist/member/util.d.ts +0 -2
  121. package/dist/members/collection.d.ts +0 -24
  122. package/dist/members/index.d.ts +0 -298
  123. package/dist/members/request.d.ts +0 -50
  124. package/dist/members/util.d.ts +0 -2
  125. package/dist/metrics/config.d.ts +0 -169
  126. package/dist/metrics/constants.d.ts +0 -59
  127. package/dist/metrics/index.d.ts +0 -152
  128. package/dist/networkQualityMonitor/index.d.ts +0 -70
  129. package/dist/peer-connection-manager/index.d.ts +0 -6
  130. package/dist/peer-connection-manager/util.d.ts +0 -6
  131. package/dist/personal-meeting-room/index.d.ts +0 -47
  132. package/dist/personal-meeting-room/request.d.ts +0 -14
  133. package/dist/personal-meeting-room/util.d.ts +0 -2
  134. package/dist/reachability/index.d.ts +0 -139
  135. package/dist/reachability/request.d.ts +0 -35
  136. package/dist/reactions/reactions.d.ts +0 -4
  137. package/dist/reactions/reactions.type.d.ts +0 -32
  138. package/dist/reconnection-manager/index.d.ts +0 -112
  139. package/dist/recording-controller/enums.d.ts +0 -7
  140. package/dist/recording-controller/index.d.ts +0 -193
  141. package/dist/recording-controller/util.d.ts +0 -13
  142. package/dist/roap/collection.d.ts +0 -10
  143. package/dist/roap/handler.d.ts +0 -47
  144. package/dist/roap/index.d.ts +0 -116
  145. package/dist/roap/request.d.ts +0 -35
  146. package/dist/roap/state.d.ts +0 -9
  147. package/dist/roap/turnDiscovery.d.ts +0 -81
  148. package/dist/roap/util.d.ts +0 -2
  149. package/dist/statsAnalyzer/global.d.ts +0 -118
  150. package/dist/statsAnalyzer/index.d.ts +0 -193
  151. package/dist/statsAnalyzer/mqaUtil.d.ts +0 -22
  152. package/dist/transcription/index.d.ts +0 -64
@@ -28,11 +28,8 @@ var _inherits2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/
28
28
  var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/possibleConstructorReturn"));
29
29
  var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/getPrototypeOf"));
30
30
  var _defineProperty3 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/defineProperty"));
31
- var _isString2 = _interopRequireDefault(require("lodash/isString"));
32
- var _pick2 = _interopRequireDefault(require("lodash/pick"));
33
- var _isEqual2 = _interopRequireDefault(require("lodash/isEqual"));
34
- var _cloneDeep2 = _interopRequireDefault(require("lodash/cloneDeep"));
35
31
  var _uuid = _interopRequireDefault(require("uuid"));
32
+ var _lodash = require("lodash");
36
33
  var _webexCore = require("@webex/webex-core");
37
34
  var _internalMediaCore = require("@webex/internal-media-core");
38
35
  var _webexErrors = require("../common/errors/webex-errors");
@@ -468,6 +465,7 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
468
465
  (0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "shareStatus", void 0);
469
466
  (0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "statsAnalyzer", void 0);
470
467
  (0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "transcription", void 0);
468
+ (0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "receiveTranscription", void 0);
471
469
  (0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "updateMediaConnections", void 0);
472
470
  (0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "endCallInitiateJoinReq", void 0);
473
471
  (0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "endJoinReqResp", void 0);
@@ -508,7 +506,7 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
508
506
  _loggerProxy.default.logger.warn('Meeting:index#getMediaStreams --> Enabling `sendShare` along with `sendAudio` & `sendVideo`, on Safari, causes a failure while setting up a screen share at the same time as the camera+mic stream');
509
507
  _loggerProxy.default.logger.warn('Meeting:index#getMediaStreams --> Please use `meeting.shareScreen()` to manually start the screen share after successfully joining the meeting');
510
508
  }
511
- if (audioVideo && (0, _isString2.default)(audioVideo)) {
509
+ if (audioVideo && (0, _lodash.isString)(audioVideo)) {
512
510
  if ((0, _keys.default)(_constants.VIDEO_RESOLUTIONS).includes(audioVideo)) {
513
511
  _this.mediaProperties.setLocalQualityLevel(audioVideo);
514
512
  audioVideo = {
@@ -671,23 +669,6 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
671
669
  }
672
670
  });
673
671
  });
674
- _this.statsAnalyzer.on(_statsAnalyzer.EVENTS.NO_VIDEO_ENCODED, function (data) {
675
- _metrics.default.sendBehavioralMetric(_constants2.default.NO_VIDEO_ENCODED);
676
- _triggerProxy.default.trigger((0, _assertThisInitialized2.default)(_this), {
677
- file: 'meeting/index',
678
- function: 'compareLastStatsResult'
679
- }, _constants.EVENT_TRIGGERS.MEETING_NO_VIDEO_ENCODED, data);
680
- });
681
- _this.statsAnalyzer.on(_statsAnalyzer.EVENTS.NO_FRAMES_SENT, function (data) {
682
- var _this$mediaProperties, _this$mediaProperties2;
683
- if ((_this$mediaProperties = _this.mediaProperties.mediaDirection) !== null && _this$mediaProperties !== void 0 && _this$mediaProperties.sendVideo && data.mediaType === 'video' || (_this$mediaProperties2 = _this.mediaProperties.mediaDirection) !== null && _this$mediaProperties2 !== void 0 && _this$mediaProperties2.sendShare && data.mediaType === 'share') {
684
- _metrics.default.sendBehavioralMetric(_constants2.default.NO_FRAMES_SENT);
685
- _triggerProxy.default.trigger((0, _assertThisInitialized2.default)(_this), {
686
- file: 'meeting/index',
687
- function: 'compareLastStatsResult'
688
- }, _constants.EVENT_TRIGGERS.MEETING_NO_FRAMES_SENT, data);
689
- }
690
- });
691
672
  });
692
673
  /**
693
674
  * emits event when the negotation is completed
@@ -1064,7 +1045,7 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
1064
1045
  * @memberof Meeting
1065
1046
  */
1066
1047
  _this.updateMediaConnections = function (mediaConnections) {
1067
- if (!(0, _isEqual2.default)(_this.mediaConnections, mediaConnections)) {
1048
+ if (!(0, _lodash.isEqual)(_this.mediaConnections, mediaConnections)) {
1068
1049
  // grab last/latest item in the new mediaConnections information
1069
1050
  _this.mediaConnections = mediaConnections.slice(-1);
1070
1051
  }
@@ -1755,7 +1736,7 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
1755
1736
  }, {
1756
1737
  key: "sendCallAnalyzerMetrics",
1757
1738
  value: function sendCallAnalyzerMetrics(options) {
1758
- var payload = this.getAnalyzerMetricsPrePayload(_objectSpread(_objectSpread({}, (0, _pick2.default)(this.config.metrics, ['clientType', 'subClientType'])), options));
1739
+ var payload = this.getAnalyzerMetricsPrePayload(_objectSpread(_objectSpread({}, (0, _lodash.pick)(this.config.metrics, ['clientType', 'subClientType'])), options));
1759
1740
 
1760
1741
  // @ts-ignore - fix type
1761
1742
  return this.webex.internal.metrics.submitCallDiagnosticEvents(payload);
@@ -1776,7 +1757,7 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
1776
1757
  value: function sendMediaQualityAnalyzerMetrics(options) {
1777
1758
  var payload = this.getAnalyzerMetricsPrePayload(_objectSpread(_objectSpread({
1778
1759
  type: _constants.MQA_STATS.CA_TYPE
1779
- }, (0, _pick2.default)(this.config.metrics, ['clientType', 'subClientType'])), options));
1760
+ }, (0, _lodash.pick)(this.config.metrics, ['clientType', 'subClientType'])), options));
1780
1761
 
1781
1762
  // @ts-ignore
1782
1763
  return this.webex.internal.metrics.submitCallDiagnosticEvents(payload);
@@ -1988,8 +1969,8 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
1988
1969
  var caption = _ref7.caption,
1989
1970
  transcribing = _ref7.transcribing;
1990
1971
  // @ts-ignore - config coming from registerPlugin
1991
- if (transcribing && _this11.transcription && _this11.config.receiveTranscription) {
1992
- _this11.receiveTranscription();
1972
+ if (transcribing && !_this11.transcription && _this11.config.receiveTranscription) {
1973
+ _this11.startTranscription();
1993
1974
  } else if (!transcribing && _this11.transcription) {
1994
1975
  _triggerProxy.default.trigger(_this11, {
1995
1976
  file: 'meeting/index',
@@ -2384,21 +2365,48 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
2384
2365
  });
2385
2366
  }
2386
2367
  });
2387
- this.locusInfo.on(_constants.LOCUSINFO.EVENTS.SELF_ADMITTED_GUEST, function (payload) {
2388
- _this17.stopKeepAlive();
2389
- if (payload) {
2390
- _triggerProxy.default.trigger(_this17, {
2391
- file: 'meeting/index',
2392
- function: 'setUpLocusInfoSelfListener'
2393
- }, _constants.EVENT_TRIGGERS.MEETING_SELF_GUEST_ADMITTED, {
2394
- payload: payload
2395
- });
2396
- _metrics.default.postEvent({
2397
- event: _config.eventType.LOBBY_EXITED,
2398
- meeting: _this17
2399
- });
2400
- }
2401
- });
2368
+ this.locusInfo.on(_constants.LOCUSINFO.EVENTS.SELF_ADMITTED_GUEST, /*#__PURE__*/function () {
2369
+ var _ref9 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2(payload) {
2370
+ return _regenerator.default.wrap(function _callee2$(_context2) {
2371
+ while (1) switch (_context2.prev = _context2.next) {
2372
+ case 0:
2373
+ _this17.stopKeepAlive();
2374
+ // @ts-ignore
2375
+ if (!(!_this17.transcription && (_this17.config.receiveTranscription || _this17.receiveTranscription))) {
2376
+ _context2.next = 6;
2377
+ break;
2378
+ }
2379
+ if (!_this17.isTranscriptionSupported()) {
2380
+ _context2.next = 6;
2381
+ break;
2382
+ }
2383
+ _context2.next = 5;
2384
+ return _this17.startTranscription();
2385
+ case 5:
2386
+ _loggerProxy.default.logger.info('Meeting:index#setUpLocusInfoSelfListener --> enabled to receive transcription for guest user!');
2387
+ case 6:
2388
+ if (payload) {
2389
+ _triggerProxy.default.trigger(_this17, {
2390
+ file: 'meeting/index',
2391
+ function: 'setUpLocusInfoSelfListener'
2392
+ }, _constants.EVENT_TRIGGERS.MEETING_SELF_GUEST_ADMITTED, {
2393
+ payload: payload
2394
+ });
2395
+ _metrics.default.postEvent({
2396
+ event: _config.eventType.LOBBY_EXITED,
2397
+ meeting: _this17
2398
+ });
2399
+ }
2400
+ case 7:
2401
+ case "end":
2402
+ return _context2.stop();
2403
+ }
2404
+ }, _callee2);
2405
+ }));
2406
+ return function (_x2) {
2407
+ return _ref9.apply(this, arguments);
2408
+ };
2409
+ }());
2402
2410
 
2403
2411
  // @ts-ignore - check if MEDIA_INACTIVITY exists
2404
2412
  this.locusInfo.on(_constants.LOCUSINFO.EVENTS.MEDIA_INACTIVITY, function () {
@@ -3004,10 +3012,10 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
3004
3012
  key: "closeRemoteTracks",
3005
3013
  value: function closeRemoteTracks() {
3006
3014
  var _this21 = this;
3007
- var _this$mediaProperties3 = this.mediaProperties,
3008
- remoteAudioTrack = _this$mediaProperties3.remoteAudioTrack,
3009
- remoteVideoTrack = _this$mediaProperties3.remoteVideoTrack,
3010
- remoteShare = _this$mediaProperties3.remoteShare;
3015
+ var _this$mediaProperties = this.mediaProperties,
3016
+ remoteAudioTrack = _this$mediaProperties.remoteAudioTrack,
3017
+ remoteVideoTrack = _this$mediaProperties.remoteVideoTrack,
3018
+ remoteShare = _this$mediaProperties.remoteShare;
3011
3019
 
3012
3020
  /**
3013
3021
  * Triggers an event to the developer
@@ -3206,9 +3214,9 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
3206
3214
  key: "closeLocalStream",
3207
3215
  value: function closeLocalStream() {
3208
3216
  var _this23 = this;
3209
- var _this$mediaProperties4 = this.mediaProperties,
3210
- audioTrack = _this$mediaProperties4.audioTrack,
3211
- videoTrack = _this$mediaProperties4.videoTrack;
3217
+ var _this$mediaProperties2 = this.mediaProperties,
3218
+ audioTrack = _this$mediaProperties2.audioTrack,
3219
+ videoTrack = _this$mediaProperties2.videoTrack;
3212
3220
  return _media.default.stopTracks(audioTrack).then(function () {
3213
3221
  return _media.default.stopTracks(videoTrack);
3214
3222
  }).then(function () {
@@ -3598,10 +3606,10 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
3598
3606
  joinOptions = options.joinOptions,
3599
3607
  audioVideoOptions = options.audioVideoOptions;
3600
3608
  return this.join(joinOptions).then(function (joinResponse) {
3601
- return _this30.getMediaStreams(mediaSettings, audioVideoOptions).then(function (_ref9) {
3602
- var _ref10 = (0, _slicedToArray2.default)(_ref9, 2),
3603
- localStream = _ref10[0],
3604
- localShare = _ref10[1];
3609
+ return _this30.getMediaStreams(mediaSettings, audioVideoOptions).then(function (_ref10) {
3610
+ var _ref11 = (0, _slicedToArray2.default)(_ref10, 2),
3611
+ localStream = _ref11[0],
3612
+ localShare = _ref11[1];
3605
3613
  return _this30.addMedia({
3606
3614
  mediaSettings: mediaSettings,
3607
3615
  localShare: localShare,
@@ -3742,18 +3750,18 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
3742
3750
  * @returns {Promise<void>} a promise to open the WebSocket connection
3743
3751
  */
3744
3752
  }, {
3745
- key: "receiveTranscription",
3753
+ key: "startTranscription",
3746
3754
  value: function () {
3747
- var _receiveTranscription = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() {
3755
+ var _startTranscription = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() {
3748
3756
  var _this33 = this;
3749
3757
  var datachannelUrl, _yield$this$request, webSocketUrl;
3750
- return _regenerator.default.wrap(function _callee2$(_context2) {
3751
- while (1) switch (_context2.prev = _context2.next) {
3758
+ return _regenerator.default.wrap(function _callee3$(_context3) {
3759
+ while (1) switch (_context3.prev = _context3.next) {
3752
3760
  case 0:
3753
- _loggerProxy.default.logger.info("Meeting:index#receiveTranscription -->\n Attempting to generate a web socket url.");
3754
- _context2.prev = 1;
3761
+ _loggerProxy.default.logger.info("Meeting:index#startTranscription -->\n Attempting to generate a web socket url.");
3762
+ _context3.prev = 1;
3755
3763
  datachannelUrl = this.locusInfo.info.datachannelUrl; // @ts-ignore - fix type
3756
- _context2.next = 5;
3764
+ _context3.next = 5;
3757
3765
  return this.request({
3758
3766
  method: _constants.HTTP_VERBS.POST,
3759
3767
  uri: datachannelUrl,
@@ -3762,16 +3770,13 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
3762
3770
  }
3763
3771
  });
3764
3772
  case 5:
3765
- _yield$this$request = _context2.sent;
3773
+ _yield$this$request = _context3.sent;
3766
3774
  webSocketUrl = _yield$this$request.body.webSocketUrl;
3767
- _loggerProxy.default.logger.info("Meeting:index#receiveTranscription -->\n Generated web socket url succesfully.");
3775
+ _loggerProxy.default.logger.info("Meeting:index#startTranscription -->\n Generated web socket url succesfully.");
3768
3776
  this.transcription = new _transcription.default(webSocketUrl,
3769
3777
  // @ts-ignore - fix type
3770
3778
  this.webex.sessionId, this.members);
3771
- _loggerProxy.default.logger.info("Meeting:index#receiveTranscription -->\n opened LLM web socket connection successfully.");
3772
- if (!this.inMeetingActions.isClosedCaptionActive) {
3773
- _loggerProxy.default.logger.error("Meeting:index#receiveTranscription --> Transcription cannot be started until a licensed user enables it");
3774
- }
3779
+ _loggerProxy.default.logger.info("Meeting:index#startTranscription -->\n opened LLM web socket connection successfully.");
3775
3780
 
3776
3781
  // retrieve and pass the payload
3777
3782
  this.transcription.subscribe(function (payload) {
@@ -3783,27 +3788,27 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
3783
3788
  this.monitorTranscriptionSocketConnection();
3784
3789
  // @ts-ignore - fix type
3785
3790
  this.transcription.connect(this.webex.credentials.supertoken.access_token);
3786
- _context2.next = 20;
3791
+ _context3.next = 19;
3787
3792
  break;
3788
- case 16:
3789
- _context2.prev = 16;
3790
- _context2.t0 = _context2["catch"](1);
3791
- _loggerProxy.default.logger.error("Meeting:index#receiveTranscription --> ".concat(_context2.t0));
3793
+ case 15:
3794
+ _context3.prev = 15;
3795
+ _context3.t0 = _context3["catch"](1);
3796
+ _loggerProxy.default.logger.error("Meeting:index#startTranscription --> ".concat(_context3.t0));
3792
3797
  _metrics.default.sendBehavioralMetric(_constants2.default.RECEIVE_TRANSCRIPTION_FAILURE, {
3793
3798
  correlation_id: this.correlationId,
3794
- reason: _context2.t0.message,
3795
- stack: _context2.t0.stack
3799
+ reason: _context3.t0.message,
3800
+ stack: _context3.t0.stack
3796
3801
  });
3797
- case 20:
3802
+ case 19:
3798
3803
  case "end":
3799
- return _context2.stop();
3804
+ return _context3.stop();
3800
3805
  }
3801
- }, _callee2, this, [[1, 16]]);
3806
+ }, _callee3, this, [[1, 15]]);
3802
3807
  }));
3803
- function receiveTranscription() {
3804
- return _receiveTranscription.apply(this, arguments);
3808
+ function startTranscription() {
3809
+ return _startTranscription.apply(this, arguments);
3805
3810
  }
3806
- return receiveTranscription;
3811
+ return startTranscription;
3807
3812
  }()
3808
3813
  /**
3809
3814
  * stop recieving Transcription by closing
@@ -3942,46 +3947,47 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
3942
3947
  }).then(function (join) {
3943
3948
  joinSuccess(join);
3944
3949
  _this34.deferJoin = undefined;
3950
+ _this34.receiveTranscription = !!options.receiveTranscription;
3945
3951
  _metrics.default.sendBehavioralMetric(_constants2.default.JOIN_SUCCESS, {
3946
3952
  correlation_id: _this34.correlationId
3947
3953
  });
3948
3954
  return join;
3949
3955
  }).then( /*#__PURE__*/function () {
3950
- var _ref11 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3(join) {
3951
- return _regenerator.default.wrap(function _callee3$(_context3) {
3952
- while (1) switch (_context3.prev = _context3.next) {
3956
+ var _ref12 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4(join) {
3957
+ return _regenerator.default.wrap(function _callee4$(_context4) {
3958
+ while (1) switch (_context4.prev = _context4.next) {
3953
3959
  case 0:
3954
3960
  if (!isBrowser) {
3955
- _context3.next = 8;
3961
+ _context4.next = 8;
3956
3962
  break;
3957
3963
  }
3958
- if (!(_this34.config.receiveTranscription || options.receiveTranscription)) {
3959
- _context3.next = 6;
3964
+ if (!(_this34.config.receiveTranscription || _this34.receiveTranscription)) {
3965
+ _context4.next = 6;
3960
3966
  break;
3961
3967
  }
3962
3968
  if (!_this34.isTranscriptionSupported()) {
3963
- _context3.next = 6;
3969
+ _context4.next = 6;
3964
3970
  break;
3965
3971
  }
3966
- _context3.next = 5;
3967
- return _this34.receiveTranscription();
3972
+ _context4.next = 5;
3973
+ return _this34.startTranscription();
3968
3974
  case 5:
3969
- _loggerProxy.default.logger.info('Meeting:index#join --> enabled to recieve transcription!');
3975
+ _loggerProxy.default.logger.info('Meeting:index#join --> enabled to receive transcription!');
3970
3976
  case 6:
3971
- _context3.next = 9;
3977
+ _context4.next = 9;
3972
3978
  break;
3973
3979
  case 8:
3974
3980
  _loggerProxy.default.logger.error('Meeting:index#join --> Receving transcription is not supported on this platform');
3975
3981
  case 9:
3976
- return _context3.abrupt("return", join);
3982
+ return _context4.abrupt("return", join);
3977
3983
  case 10:
3978
3984
  case "end":
3979
- return _context3.stop();
3985
+ return _context4.stop();
3980
3986
  }
3981
- }, _callee3);
3987
+ }, _callee4);
3982
3988
  }));
3983
- return function (_x2) {
3984
- return _ref11.apply(this, arguments);
3989
+ return function (_x3) {
3990
+ return _ref12.apply(this, arguments);
3985
3991
  };
3986
3992
  }()).catch(function (error) {
3987
3993
  var _error$error;
@@ -4174,17 +4180,17 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
4174
4180
  event: _config.eventType.MOVE_MEDIA,
4175
4181
  meeting: this
4176
4182
  });
4177
- this.locusInfo.once(_constants.LOCUSINFO.EVENTS.SELF_OBSERVING, /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4() {
4183
+ this.locusInfo.once(_constants.LOCUSINFO.EVENTS.SELF_OBSERVING, /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee5() {
4178
4184
  var mediaSettings;
4179
- return _regenerator.default.wrap(function _callee4$(_context4) {
4180
- while (1) switch (_context4.prev = _context4.next) {
4185
+ return _regenerator.default.wrap(function _callee5$(_context5) {
4186
+ while (1) switch (_context5.prev = _context5.next) {
4181
4187
  case 0:
4182
- _context4.prev = 0;
4188
+ _context5.prev = 0;
4183
4189
  if (!_this37.isSharing) {
4184
- _context4.next = 4;
4190
+ _context5.next = 4;
4185
4191
  break;
4186
4192
  }
4187
- _context4.next = 4;
4193
+ _context5.next = 4;
4188
4194
  return _this37.releaseScreenShareFloor();
4189
4195
  case 4:
4190
4196
  mediaSettings = {
@@ -4200,10 +4206,10 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
4200
4206
  _this37.mediaProperties.setMediaDirection(mediaSettings.mediaDirection);
4201
4207
 
4202
4208
  // close the existing local tracks
4203
- _context4.next = 8;
4209
+ _context5.next = 8;
4204
4210
  return _this37.closeLocalStream();
4205
4211
  case 8:
4206
- _context4.next = 10;
4212
+ _context5.next = 10;
4207
4213
  return _this37.closeLocalShare();
4208
4214
  case 10:
4209
4215
  _this37.mediaProperties.unsetMediaTracks();
@@ -4211,28 +4217,28 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
4211
4217
  // when a move to is intiated by the client , Locus delets the existing media node from the server as soon the DX answers the meeting
4212
4218
  // once the DX answers we establish connection back the media server with only receiveShare enabled
4213
4219
  // @ts-ignore - reconnectMedia does not accept any argument
4214
- _context4.next = 13;
4220
+ _context5.next = 13;
4215
4221
  return _this37.reconnectionManager.reconnectMedia(mediaSettings).then(function () {
4216
4222
  _metrics.default.sendBehavioralMetric(_constants2.default.MOVE_TO_SUCCESS);
4217
4223
  });
4218
4224
  case 13:
4219
- _context4.next = 19;
4225
+ _context5.next = 19;
4220
4226
  break;
4221
4227
  case 15:
4222
- _context4.prev = 15;
4223
- _context4.t0 = _context4["catch"](0);
4224
- _loggerProxy.default.logger.error('Meeting:index#moveTo --> Failed to moveTo resourceId', _context4.t0);
4228
+ _context5.prev = 15;
4229
+ _context5.t0 = _context5["catch"](0);
4230
+ _loggerProxy.default.logger.error('Meeting:index#moveTo --> Failed to moveTo resourceId', _context5.t0);
4225
4231
  _metrics.default.sendBehavioralMetric(_constants2.default.MOVE_TO_FAILURE, {
4226
4232
  correlation_id: _this37.correlationId,
4227
4233
  locus_id: _this37.locusUrl.split('/').pop(),
4228
- reason: _context4.t0.message,
4229
- stack: _context4.t0.stack
4234
+ reason: _context5.t0.message,
4235
+ stack: _context5.t0.stack
4230
4236
  });
4231
4237
  case 19:
4232
4238
  case "end":
4233
- return _context4.stop();
4239
+ return _context5.stop();
4234
4240
  }
4235
- }, _callee4, null, [[0, 15]]);
4241
+ }, _callee5, null, [[0, 15]]);
4236
4242
  })));
4237
4243
  _loggerProxy.default.logger.info('Meeting:index#moveTo --> Initated moved to using resourceId', resourceId);
4238
4244
  return _util.default.joinMeetingOptions(this, {
@@ -4607,44 +4613,44 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
4607
4613
  }, {
4608
4614
  key: "updateAudio",
4609
4615
  value: function () {
4610
- var _updateAudio = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee5(options) {
4616
+ var _updateAudio = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee6(options) {
4611
4617
  var _this42 = this;
4612
4618
  var sendAudio, receiveAudio, stream, audioTransceiver, track, bnrEnabled;
4613
- return _regenerator.default.wrap(function _callee5$(_context5) {
4614
- while (1) switch (_context5.prev = _context5.next) {
4619
+ return _regenerator.default.wrap(function _callee6$(_context6) {
4620
+ while (1) switch (_context6.prev = _context6.next) {
4615
4621
  case 0:
4616
4622
  if (this.canUpdateMedia()) {
4617
- _context5.next = 2;
4623
+ _context6.next = 2;
4618
4624
  break;
4619
4625
  }
4620
- return _context5.abrupt("return", this.enqueueMediaUpdate(MEDIA_UPDATE_TYPE.AUDIO, options));
4626
+ return _context6.abrupt("return", this.enqueueMediaUpdate(MEDIA_UPDATE_TYPE.AUDIO, options));
4621
4627
  case 2:
4622
4628
  sendAudio = options.sendAudio, receiveAudio = options.receiveAudio, stream = options.stream;
4623
4629
  audioTransceiver = this.mediaProperties.peerConnection.audioTransceiver;
4624
4630
  track = _util.default.getTrack(stream).audioTrack;
4625
4631
  if (!(typeof sendAudio !== 'boolean' || typeof receiveAudio !== 'boolean')) {
4626
- _context5.next = 7;
4632
+ _context6.next = 7;
4627
4633
  break;
4628
4634
  }
4629
- return _context5.abrupt("return", _promise.default.reject(new _parameter.default('Pass sendAudio and receiveAudio parameter')));
4635
+ return _context6.abrupt("return", _promise.default.reject(new _parameter.default('Pass sendAudio and receiveAudio parameter')));
4630
4636
  case 7:
4631
4637
  if (!(this.effects && this.effects.state)) {
4632
- _context5.next = 15;
4638
+ _context6.next = 15;
4633
4639
  break;
4634
4640
  }
4635
4641
  bnrEnabled = this.effects.state.bnr.enabled;
4636
4642
  if (!(sendAudio && !this.isAudioMuted() && (bnrEnabled === _constants.BNR_STATUS.ENABLED || bnrEnabled === _constants.BNR_STATUS.SHOULD_ENABLE))) {
4637
- _context5.next = 15;
4643
+ _context6.next = 15;
4638
4644
  break;
4639
4645
  }
4640
4646
  _loggerProxy.default.logger.info('Meeting:index#updateAudio. Calling WebRTC enable bnr method');
4641
- _context5.next = 13;
4647
+ _context6.next = 13;
4642
4648
  return this.internal_enableBNR(track);
4643
4649
  case 13:
4644
- track = _context5.sent;
4650
+ track = _context6.sent;
4645
4651
  _loggerProxy.default.logger.info('Meeting:index#updateAudio. WebRTC enable bnr request completed');
4646
4652
  case 15:
4647
- return _context5.abrupt("return", _util.default.validateOptions({
4653
+ return _context6.abrupt("return", _util.default.validateOptions({
4648
4654
  sendAudio: sendAudio,
4649
4655
  localStream: stream
4650
4656
  }).then(function () {
@@ -4680,11 +4686,11 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
4680
4686
  }));
4681
4687
  case 16:
4682
4688
  case "end":
4683
- return _context5.stop();
4689
+ return _context6.stop();
4684
4690
  }
4685
- }, _callee5, this);
4691
+ }, _callee6, this);
4686
4692
  }));
4687
- function updateAudio(_x3) {
4693
+ function updateAudio(_x4) {
4688
4694
  return _updateAudio.apply(this, arguments);
4689
4695
  }
4690
4696
  return updateAudio;
@@ -5349,11 +5355,11 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
5349
5355
  var renderInfo = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
5350
5356
  var main = renderInfo.main,
5351
5357
  content = renderInfo.content;
5352
- var _this$mediaProperties5 = this.mediaProperties,
5353
- mediaDirection = _this$mediaProperties5.mediaDirection,
5354
- remoteShare = _this$mediaProperties5.remoteShare,
5355
- remoteVideoTrack = _this$mediaProperties5.remoteVideoTrack;
5356
- var layoutInfo = (0, _cloneDeep2.default)(this.lastVideoLayoutInfo);
5358
+ var _this$mediaProperties3 = this.mediaProperties,
5359
+ mediaDirection = _this$mediaProperties3.mediaDirection,
5360
+ remoteShare = _this$mediaProperties3.remoteShare,
5361
+ remoteVideoTrack = _this$mediaProperties3.remoteVideoTrack;
5362
+ var layoutInfo = (0, _lodash.cloneDeep)(this.lastVideoLayoutInfo);
5357
5363
 
5358
5364
  // TODO: We need a real time value for Audio, Video and Share send indicator
5359
5365
  if (mediaDirection.receiveVideo !== true || !remoteVideoTrack) {
@@ -5361,7 +5367,7 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
5361
5367
  }
5362
5368
  if (layoutType) {
5363
5369
  if (!_constants.LAYOUT_TYPES.includes(layoutType)) {
5364
- return this.rejectWithErrorLog('Meeting:index#changeVideoLayout --> cannot change video layout, invalid layoutType recieved.');
5370
+ return this.rejectWithErrorLog('Meeting:index#changeVideoLayout --> cannot change video layout, invalid layoutType received.');
5365
5371
  }
5366
5372
  layoutInfo.layoutType = layoutType;
5367
5373
  }
@@ -5393,11 +5399,11 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
5393
5399
  return this.rejectWithErrorLog('Meeting:index#changeVideoLayout --> unable to send renderInfo for content, you are not receiving remote share');
5394
5400
  }
5395
5401
  }
5396
- if ((0, _isEqual2.default)(layoutInfo, this.lastVideoLayoutInfo)) {
5402
+ if ((0, _lodash.isEqual)(layoutInfo, this.lastVideoLayoutInfo)) {
5397
5403
  // nothing changed, no need to send any request
5398
5404
  return _promise.default.resolve();
5399
5405
  }
5400
- this.lastVideoLayoutInfo = (0, _cloneDeep2.default)(layoutInfo);
5406
+ this.lastVideoLayoutInfo = (0, _lodash.cloneDeep)(layoutInfo);
5401
5407
  this.locusInfo.once(_constants.LOCUSINFO.EVENTS.CONTROLS_MEETING_LAYOUT_UPDATED, function (envelope) {
5402
5408
  _triggerProxy.default.trigger(_this52, {
5403
5409
  file: 'meeting/index',
@@ -5459,28 +5465,28 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
5459
5465
  // open bug link: https://bugs.chromium.org/p/chromium/issues/detail?id=943469
5460
5466
  if (isBrowser('chrome') && this.mediaProperties.videoTrack) _media.default.stopTracks(this.mediaProperties.videoTrack);
5461
5467
  return this.getMediaStreams(mediaDirection, _constants.VIDEO_RESOLUTIONS[level]).then( /*#__PURE__*/function () {
5462
- var _ref14 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee6(_ref13) {
5463
- var _ref15, localStream;
5464
- return _regenerator.default.wrap(function _callee6$(_context6) {
5465
- while (1) switch (_context6.prev = _context6.next) {
5468
+ var _ref15 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee7(_ref14) {
5469
+ var _ref16, localStream;
5470
+ return _regenerator.default.wrap(function _callee7$(_context7) {
5471
+ while (1) switch (_context7.prev = _context7.next) {
5466
5472
  case 0:
5467
- _ref15 = (0, _slicedToArray2.default)(_ref13, 1), localStream = _ref15[0];
5468
- _context6.next = 3;
5473
+ _ref16 = (0, _slicedToArray2.default)(_ref14, 1), localStream = _ref16[0];
5474
+ _context7.next = 3;
5469
5475
  return _this53.updateVideo({
5470
5476
  sendVideo: true,
5471
5477
  receiveVideo: true,
5472
5478
  stream: localStream
5473
5479
  });
5474
5480
  case 3:
5475
- return _context6.abrupt("return", localStream);
5481
+ return _context7.abrupt("return", localStream);
5476
5482
  case 4:
5477
5483
  case "end":
5478
- return _context6.stop();
5484
+ return _context7.stop();
5479
5485
  }
5480
- }, _callee6);
5486
+ }, _callee7);
5481
5487
  }));
5482
- return function (_x4) {
5483
- return _ref14.apply(this, arguments);
5488
+ return function (_x5) {
5489
+ return _ref15.apply(this, arguments);
5484
5490
  };
5485
5491
  }());
5486
5492
  }
@@ -5540,10 +5546,10 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
5540
5546
  }
5541
5547
 
5542
5548
  // Determine the direction of our current media
5543
- var _this$mediaProperties6 = this.mediaProperties.mediaDirection,
5544
- receiveAudio = _this$mediaProperties6.receiveAudio,
5545
- receiveVideo = _this$mediaProperties6.receiveVideo,
5546
- sendVideo = _this$mediaProperties6.sendVideo;
5549
+ var _this$mediaProperties4 = this.mediaProperties.mediaDirection,
5550
+ receiveAudio = _this$mediaProperties4.receiveAudio,
5551
+ receiveVideo = _this$mediaProperties4.receiveVideo,
5552
+ sendVideo = _this$mediaProperties4.sendVideo;
5547
5553
  return (sendVideo ? this.setLocalVideoQuality(level) : _promise.default.resolve()).then(function () {
5548
5554
  return receiveAudio || receiveVideo ? _this54.setRemoteQualityLevel(level) : _promise.default.resolve();
5549
5555
  }).catch(function (error) {
@@ -5678,9 +5684,9 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
5678
5684
  */
5679
5685
  }, {
5680
5686
  key: "handleMediaLogging",
5681
- value: function handleMediaLogging(_ref16) {
5682
- var audioTrack = _ref16.audioTrack,
5683
- videoTrack = _ref16.videoTrack;
5687
+ value: function handleMediaLogging(_ref17) {
5688
+ var audioTrack = _ref17.audioTrack,
5689
+ videoTrack = _ref17.videoTrack;
5684
5690
  _util.default.handleVideoLogging(videoTrack);
5685
5691
  _util.default.handleAudioLogging(audioTrack);
5686
5692
  }
@@ -5951,31 +5957,31 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
5951
5957
  }, {
5952
5958
  key: "internal_enableBNR",
5953
5959
  value: function () {
5954
- var _internal_enableBNR = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee7(audioTrack) {
5960
+ var _internal_enableBNR = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee8(audioTrack) {
5955
5961
  var bnrAudioTrack;
5956
- return _regenerator.default.wrap(function _callee7$(_context7) {
5957
- while (1) switch (_context7.prev = _context7.next) {
5962
+ return _regenerator.default.wrap(function _callee8$(_context8) {
5963
+ while (1) switch (_context8.prev = _context8.next) {
5958
5964
  case 0:
5959
- _context7.prev = 0;
5965
+ _context8.prev = 0;
5960
5966
  _loggerProxy.default.logger.info('Meeting:index#internal_enableBNR. Internal enable BNR called');
5961
- _context7.next = 4;
5967
+ _context8.next = 4;
5962
5968
  return _internalMediaCore.Media.Effects.BNR.enableBNR(audioTrack);
5963
5969
  case 4:
5964
- bnrAudioTrack = _context7.sent;
5970
+ bnrAudioTrack = _context8.sent;
5965
5971
  _loggerProxy.default.logger.info('Meeting:index#internal_enableBNR. BNR enabled track obtained from WebRTC & returned as stream');
5966
- return _context7.abrupt("return", bnrAudioTrack);
5972
+ return _context8.abrupt("return", bnrAudioTrack);
5967
5973
  case 9:
5968
- _context7.prev = 9;
5969
- _context7.t0 = _context7["catch"](0);
5970
- _loggerProxy.default.logger.error('Meeting:index#internal_enableBNR.', _context7.t0);
5971
- throw _context7.t0;
5974
+ _context8.prev = 9;
5975
+ _context8.t0 = _context8["catch"](0);
5976
+ _loggerProxy.default.logger.error('Meeting:index#internal_enableBNR.', _context8.t0);
5977
+ throw _context8.t0;
5972
5978
  case 13:
5973
5979
  case "end":
5974
- return _context7.stop();
5980
+ return _context8.stop();
5975
5981
  }
5976
- }, _callee7, null, [[0, 9]]);
5982
+ }, _callee8, null, [[0, 9]]);
5977
5983
  }));
5978
- function internal_enableBNR(_x5) {
5984
+ function internal_enableBNR(_x6) {
5979
5985
  return _internal_enableBNR.apply(this, arguments);
5980
5986
  }
5981
5987
  return internal_enableBNR;