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

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.
@@ -465,6 +465,7 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
465
465
  (0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "shareStatus", void 0);
466
466
  (0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "statsAnalyzer", void 0);
467
467
  (0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "transcription", void 0);
468
+ (0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "receiveTranscription", void 0);
468
469
  (0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "updateMediaConnections", void 0);
469
470
  (0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "endCallInitiateJoinReq", void 0);
470
471
  (0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "endJoinReqResp", void 0);
@@ -1968,8 +1969,8 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
1968
1969
  var caption = _ref7.caption,
1969
1970
  transcribing = _ref7.transcribing;
1970
1971
  // @ts-ignore - config coming from registerPlugin
1971
- if (transcribing && _this11.transcription && _this11.config.receiveTranscription) {
1972
- _this11.receiveTranscription();
1972
+ if (transcribing && !_this11.transcription && _this11.config.receiveTranscription) {
1973
+ _this11.startTranscription();
1973
1974
  } else if (!transcribing && _this11.transcription) {
1974
1975
  _triggerProxy.default.trigger(_this11, {
1975
1976
  file: 'meeting/index',
@@ -2364,21 +2365,48 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
2364
2365
  });
2365
2366
  }
2366
2367
  });
2367
- this.locusInfo.on(_constants.LOCUSINFO.EVENTS.SELF_ADMITTED_GUEST, function (payload) {
2368
- _this17.stopKeepAlive();
2369
- if (payload) {
2370
- _triggerProxy.default.trigger(_this17, {
2371
- file: 'meeting/index',
2372
- function: 'setUpLocusInfoSelfListener'
2373
- }, _constants.EVENT_TRIGGERS.MEETING_SELF_GUEST_ADMITTED, {
2374
- payload: payload
2375
- });
2376
- _metrics.default.postEvent({
2377
- event: _config.eventType.LOBBY_EXITED,
2378
- meeting: _this17
2379
- });
2380
- }
2381
- });
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
+ }());
2382
2410
 
2383
2411
  // @ts-ignore - check if MEDIA_INACTIVITY exists
2384
2412
  this.locusInfo.on(_constants.LOCUSINFO.EVENTS.MEDIA_INACTIVITY, function () {
@@ -3578,10 +3606,10 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
3578
3606
  joinOptions = options.joinOptions,
3579
3607
  audioVideoOptions = options.audioVideoOptions;
3580
3608
  return this.join(joinOptions).then(function (joinResponse) {
3581
- return _this30.getMediaStreams(mediaSettings, audioVideoOptions).then(function (_ref9) {
3582
- var _ref10 = (0, _slicedToArray2.default)(_ref9, 2),
3583
- localStream = _ref10[0],
3584
- 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];
3585
3613
  return _this30.addMedia({
3586
3614
  mediaSettings: mediaSettings,
3587
3615
  localShare: localShare,
@@ -3722,18 +3750,18 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
3722
3750
  * @returns {Promise<void>} a promise to open the WebSocket connection
3723
3751
  */
3724
3752
  }, {
3725
- key: "receiveTranscription",
3753
+ key: "startTranscription",
3726
3754
  value: function () {
3727
- var _receiveTranscription = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() {
3755
+ var _startTranscription = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() {
3728
3756
  var _this33 = this;
3729
3757
  var datachannelUrl, _yield$this$request, webSocketUrl;
3730
- return _regenerator.default.wrap(function _callee2$(_context2) {
3731
- while (1) switch (_context2.prev = _context2.next) {
3758
+ return _regenerator.default.wrap(function _callee3$(_context3) {
3759
+ while (1) switch (_context3.prev = _context3.next) {
3732
3760
  case 0:
3733
- _loggerProxy.default.logger.info("Meeting:index#receiveTranscription -->\n Attempting to generate a web socket url.");
3734
- _context2.prev = 1;
3761
+ _loggerProxy.default.logger.info("Meeting:index#startTranscription -->\n Attempting to generate a web socket url.");
3762
+ _context3.prev = 1;
3735
3763
  datachannelUrl = this.locusInfo.info.datachannelUrl; // @ts-ignore - fix type
3736
- _context2.next = 5;
3764
+ _context3.next = 5;
3737
3765
  return this.request({
3738
3766
  method: _constants.HTTP_VERBS.POST,
3739
3767
  uri: datachannelUrl,
@@ -3742,13 +3770,13 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
3742
3770
  }
3743
3771
  });
3744
3772
  case 5:
3745
- _yield$this$request = _context2.sent;
3773
+ _yield$this$request = _context3.sent;
3746
3774
  webSocketUrl = _yield$this$request.body.webSocketUrl;
3747
- _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.");
3748
3776
  this.transcription = new _transcription.default(webSocketUrl,
3749
3777
  // @ts-ignore - fix type
3750
3778
  this.webex.sessionId, this.members);
3751
- _loggerProxy.default.logger.info("Meeting:index#receiveTranscription -->\n opened LLM web socket connection successfully.");
3779
+ _loggerProxy.default.logger.info("Meeting:index#startTranscription -->\n opened LLM web socket connection successfully.");
3752
3780
 
3753
3781
  // retrieve and pass the payload
3754
3782
  this.transcription.subscribe(function (payload) {
@@ -3760,27 +3788,27 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
3760
3788
  this.monitorTranscriptionSocketConnection();
3761
3789
  // @ts-ignore - fix type
3762
3790
  this.transcription.connect(this.webex.credentials.supertoken.access_token);
3763
- _context2.next = 19;
3791
+ _context3.next = 19;
3764
3792
  break;
3765
3793
  case 15:
3766
- _context2.prev = 15;
3767
- _context2.t0 = _context2["catch"](1);
3768
- _loggerProxy.default.logger.error("Meeting:index#receiveTranscription --> ".concat(_context2.t0));
3794
+ _context3.prev = 15;
3795
+ _context3.t0 = _context3["catch"](1);
3796
+ _loggerProxy.default.logger.error("Meeting:index#startTranscription --> ".concat(_context3.t0));
3769
3797
  _metrics.default.sendBehavioralMetric(_constants2.default.RECEIVE_TRANSCRIPTION_FAILURE, {
3770
3798
  correlation_id: this.correlationId,
3771
- reason: _context2.t0.message,
3772
- stack: _context2.t0.stack
3799
+ reason: _context3.t0.message,
3800
+ stack: _context3.t0.stack
3773
3801
  });
3774
3802
  case 19:
3775
3803
  case "end":
3776
- return _context2.stop();
3804
+ return _context3.stop();
3777
3805
  }
3778
- }, _callee2, this, [[1, 15]]);
3806
+ }, _callee3, this, [[1, 15]]);
3779
3807
  }));
3780
- function receiveTranscription() {
3781
- return _receiveTranscription.apply(this, arguments);
3808
+ function startTranscription() {
3809
+ return _startTranscription.apply(this, arguments);
3782
3810
  }
3783
- return receiveTranscription;
3811
+ return startTranscription;
3784
3812
  }()
3785
3813
  /**
3786
3814
  * stop recieving Transcription by closing
@@ -3919,46 +3947,47 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
3919
3947
  }).then(function (join) {
3920
3948
  joinSuccess(join);
3921
3949
  _this34.deferJoin = undefined;
3950
+ _this34.receiveTranscription = !!options.receiveTranscription;
3922
3951
  _metrics.default.sendBehavioralMetric(_constants2.default.JOIN_SUCCESS, {
3923
3952
  correlation_id: _this34.correlationId
3924
3953
  });
3925
3954
  return join;
3926
3955
  }).then( /*#__PURE__*/function () {
3927
- var _ref11 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3(join) {
3928
- return _regenerator.default.wrap(function _callee3$(_context3) {
3929
- 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) {
3930
3959
  case 0:
3931
3960
  if (!isBrowser) {
3932
- _context3.next = 8;
3961
+ _context4.next = 8;
3933
3962
  break;
3934
3963
  }
3935
- if (!(_this34.config.receiveTranscription || options.receiveTranscription)) {
3936
- _context3.next = 6;
3964
+ if (!(_this34.config.receiveTranscription || _this34.receiveTranscription)) {
3965
+ _context4.next = 6;
3937
3966
  break;
3938
3967
  }
3939
3968
  if (!_this34.isTranscriptionSupported()) {
3940
- _context3.next = 6;
3969
+ _context4.next = 6;
3941
3970
  break;
3942
3971
  }
3943
- _context3.next = 5;
3944
- return _this34.receiveTranscription();
3972
+ _context4.next = 5;
3973
+ return _this34.startTranscription();
3945
3974
  case 5:
3946
- _loggerProxy.default.logger.info('Meeting:index#join --> enabled to recieve transcription!');
3975
+ _loggerProxy.default.logger.info('Meeting:index#join --> enabled to receive transcription!');
3947
3976
  case 6:
3948
- _context3.next = 9;
3977
+ _context4.next = 9;
3949
3978
  break;
3950
3979
  case 8:
3951
3980
  _loggerProxy.default.logger.error('Meeting:index#join --> Receving transcription is not supported on this platform');
3952
3981
  case 9:
3953
- return _context3.abrupt("return", join);
3982
+ return _context4.abrupt("return", join);
3954
3983
  case 10:
3955
3984
  case "end":
3956
- return _context3.stop();
3985
+ return _context4.stop();
3957
3986
  }
3958
- }, _callee3);
3987
+ }, _callee4);
3959
3988
  }));
3960
- return function (_x2) {
3961
- return _ref11.apply(this, arguments);
3989
+ return function (_x3) {
3990
+ return _ref12.apply(this, arguments);
3962
3991
  };
3963
3992
  }()).catch(function (error) {
3964
3993
  var _error$error;
@@ -4151,17 +4180,17 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
4151
4180
  event: _config.eventType.MOVE_MEDIA,
4152
4181
  meeting: this
4153
4182
  });
4154
- 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() {
4155
4184
  var mediaSettings;
4156
- return _regenerator.default.wrap(function _callee4$(_context4) {
4157
- while (1) switch (_context4.prev = _context4.next) {
4185
+ return _regenerator.default.wrap(function _callee5$(_context5) {
4186
+ while (1) switch (_context5.prev = _context5.next) {
4158
4187
  case 0:
4159
- _context4.prev = 0;
4188
+ _context5.prev = 0;
4160
4189
  if (!_this37.isSharing) {
4161
- _context4.next = 4;
4190
+ _context5.next = 4;
4162
4191
  break;
4163
4192
  }
4164
- _context4.next = 4;
4193
+ _context5.next = 4;
4165
4194
  return _this37.releaseScreenShareFloor();
4166
4195
  case 4:
4167
4196
  mediaSettings = {
@@ -4177,10 +4206,10 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
4177
4206
  _this37.mediaProperties.setMediaDirection(mediaSettings.mediaDirection);
4178
4207
 
4179
4208
  // close the existing local tracks
4180
- _context4.next = 8;
4209
+ _context5.next = 8;
4181
4210
  return _this37.closeLocalStream();
4182
4211
  case 8:
4183
- _context4.next = 10;
4212
+ _context5.next = 10;
4184
4213
  return _this37.closeLocalShare();
4185
4214
  case 10:
4186
4215
  _this37.mediaProperties.unsetMediaTracks();
@@ -4188,28 +4217,28 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
4188
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
4189
4218
  // once the DX answers we establish connection back the media server with only receiveShare enabled
4190
4219
  // @ts-ignore - reconnectMedia does not accept any argument
4191
- _context4.next = 13;
4220
+ _context5.next = 13;
4192
4221
  return _this37.reconnectionManager.reconnectMedia(mediaSettings).then(function () {
4193
4222
  _metrics.default.sendBehavioralMetric(_constants2.default.MOVE_TO_SUCCESS);
4194
4223
  });
4195
4224
  case 13:
4196
- _context4.next = 19;
4225
+ _context5.next = 19;
4197
4226
  break;
4198
4227
  case 15:
4199
- _context4.prev = 15;
4200
- _context4.t0 = _context4["catch"](0);
4201
- _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);
4202
4231
  _metrics.default.sendBehavioralMetric(_constants2.default.MOVE_TO_FAILURE, {
4203
4232
  correlation_id: _this37.correlationId,
4204
4233
  locus_id: _this37.locusUrl.split('/').pop(),
4205
- reason: _context4.t0.message,
4206
- stack: _context4.t0.stack
4234
+ reason: _context5.t0.message,
4235
+ stack: _context5.t0.stack
4207
4236
  });
4208
4237
  case 19:
4209
4238
  case "end":
4210
- return _context4.stop();
4239
+ return _context5.stop();
4211
4240
  }
4212
- }, _callee4, null, [[0, 15]]);
4241
+ }, _callee5, null, [[0, 15]]);
4213
4242
  })));
4214
4243
  _loggerProxy.default.logger.info('Meeting:index#moveTo --> Initated moved to using resourceId', resourceId);
4215
4244
  return _util.default.joinMeetingOptions(this, {
@@ -4584,44 +4613,44 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
4584
4613
  }, {
4585
4614
  key: "updateAudio",
4586
4615
  value: function () {
4587
- 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) {
4588
4617
  var _this42 = this;
4589
4618
  var sendAudio, receiveAudio, stream, audioTransceiver, track, bnrEnabled;
4590
- return _regenerator.default.wrap(function _callee5$(_context5) {
4591
- while (1) switch (_context5.prev = _context5.next) {
4619
+ return _regenerator.default.wrap(function _callee6$(_context6) {
4620
+ while (1) switch (_context6.prev = _context6.next) {
4592
4621
  case 0:
4593
4622
  if (this.canUpdateMedia()) {
4594
- _context5.next = 2;
4623
+ _context6.next = 2;
4595
4624
  break;
4596
4625
  }
4597
- return _context5.abrupt("return", this.enqueueMediaUpdate(MEDIA_UPDATE_TYPE.AUDIO, options));
4626
+ return _context6.abrupt("return", this.enqueueMediaUpdate(MEDIA_UPDATE_TYPE.AUDIO, options));
4598
4627
  case 2:
4599
4628
  sendAudio = options.sendAudio, receiveAudio = options.receiveAudio, stream = options.stream;
4600
4629
  audioTransceiver = this.mediaProperties.peerConnection.audioTransceiver;
4601
4630
  track = _util.default.getTrack(stream).audioTrack;
4602
4631
  if (!(typeof sendAudio !== 'boolean' || typeof receiveAudio !== 'boolean')) {
4603
- _context5.next = 7;
4632
+ _context6.next = 7;
4604
4633
  break;
4605
4634
  }
4606
- 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')));
4607
4636
  case 7:
4608
4637
  if (!(this.effects && this.effects.state)) {
4609
- _context5.next = 15;
4638
+ _context6.next = 15;
4610
4639
  break;
4611
4640
  }
4612
4641
  bnrEnabled = this.effects.state.bnr.enabled;
4613
4642
  if (!(sendAudio && !this.isAudioMuted() && (bnrEnabled === _constants.BNR_STATUS.ENABLED || bnrEnabled === _constants.BNR_STATUS.SHOULD_ENABLE))) {
4614
- _context5.next = 15;
4643
+ _context6.next = 15;
4615
4644
  break;
4616
4645
  }
4617
4646
  _loggerProxy.default.logger.info('Meeting:index#updateAudio. Calling WebRTC enable bnr method');
4618
- _context5.next = 13;
4647
+ _context6.next = 13;
4619
4648
  return this.internal_enableBNR(track);
4620
4649
  case 13:
4621
- track = _context5.sent;
4650
+ track = _context6.sent;
4622
4651
  _loggerProxy.default.logger.info('Meeting:index#updateAudio. WebRTC enable bnr request completed');
4623
4652
  case 15:
4624
- return _context5.abrupt("return", _util.default.validateOptions({
4653
+ return _context6.abrupt("return", _util.default.validateOptions({
4625
4654
  sendAudio: sendAudio,
4626
4655
  localStream: stream
4627
4656
  }).then(function () {
@@ -4657,11 +4686,11 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
4657
4686
  }));
4658
4687
  case 16:
4659
4688
  case "end":
4660
- return _context5.stop();
4689
+ return _context6.stop();
4661
4690
  }
4662
- }, _callee5, this);
4691
+ }, _callee6, this);
4663
4692
  }));
4664
- function updateAudio(_x3) {
4693
+ function updateAudio(_x4) {
4665
4694
  return _updateAudio.apply(this, arguments);
4666
4695
  }
4667
4696
  return updateAudio;
@@ -5338,7 +5367,7 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
5338
5367
  }
5339
5368
  if (layoutType) {
5340
5369
  if (!_constants.LAYOUT_TYPES.includes(layoutType)) {
5341
- 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.');
5342
5371
  }
5343
5372
  layoutInfo.layoutType = layoutType;
5344
5373
  }
@@ -5436,28 +5465,28 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
5436
5465
  // open bug link: https://bugs.chromium.org/p/chromium/issues/detail?id=943469
5437
5466
  if (isBrowser('chrome') && this.mediaProperties.videoTrack) _media.default.stopTracks(this.mediaProperties.videoTrack);
5438
5467
  return this.getMediaStreams(mediaDirection, _constants.VIDEO_RESOLUTIONS[level]).then( /*#__PURE__*/function () {
5439
- var _ref14 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee6(_ref13) {
5440
- var _ref15, localStream;
5441
- return _regenerator.default.wrap(function _callee6$(_context6) {
5442
- 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) {
5443
5472
  case 0:
5444
- _ref15 = (0, _slicedToArray2.default)(_ref13, 1), localStream = _ref15[0];
5445
- _context6.next = 3;
5473
+ _ref16 = (0, _slicedToArray2.default)(_ref14, 1), localStream = _ref16[0];
5474
+ _context7.next = 3;
5446
5475
  return _this53.updateVideo({
5447
5476
  sendVideo: true,
5448
5477
  receiveVideo: true,
5449
5478
  stream: localStream
5450
5479
  });
5451
5480
  case 3:
5452
- return _context6.abrupt("return", localStream);
5481
+ return _context7.abrupt("return", localStream);
5453
5482
  case 4:
5454
5483
  case "end":
5455
- return _context6.stop();
5484
+ return _context7.stop();
5456
5485
  }
5457
- }, _callee6);
5486
+ }, _callee7);
5458
5487
  }));
5459
- return function (_x4) {
5460
- return _ref14.apply(this, arguments);
5488
+ return function (_x5) {
5489
+ return _ref15.apply(this, arguments);
5461
5490
  };
5462
5491
  }());
5463
5492
  }
@@ -5655,9 +5684,9 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
5655
5684
  */
5656
5685
  }, {
5657
5686
  key: "handleMediaLogging",
5658
- value: function handleMediaLogging(_ref16) {
5659
- var audioTrack = _ref16.audioTrack,
5660
- videoTrack = _ref16.videoTrack;
5687
+ value: function handleMediaLogging(_ref17) {
5688
+ var audioTrack = _ref17.audioTrack,
5689
+ videoTrack = _ref17.videoTrack;
5661
5690
  _util.default.handleVideoLogging(videoTrack);
5662
5691
  _util.default.handleAudioLogging(audioTrack);
5663
5692
  }
@@ -5928,31 +5957,31 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
5928
5957
  }, {
5929
5958
  key: "internal_enableBNR",
5930
5959
  value: function () {
5931
- 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) {
5932
5961
  var bnrAudioTrack;
5933
- return _regenerator.default.wrap(function _callee7$(_context7) {
5934
- while (1) switch (_context7.prev = _context7.next) {
5962
+ return _regenerator.default.wrap(function _callee8$(_context8) {
5963
+ while (1) switch (_context8.prev = _context8.next) {
5935
5964
  case 0:
5936
- _context7.prev = 0;
5965
+ _context8.prev = 0;
5937
5966
  _loggerProxy.default.logger.info('Meeting:index#internal_enableBNR. Internal enable BNR called');
5938
- _context7.next = 4;
5967
+ _context8.next = 4;
5939
5968
  return _internalMediaCore.Media.Effects.BNR.enableBNR(audioTrack);
5940
5969
  case 4:
5941
- bnrAudioTrack = _context7.sent;
5970
+ bnrAudioTrack = _context8.sent;
5942
5971
  _loggerProxy.default.logger.info('Meeting:index#internal_enableBNR. BNR enabled track obtained from WebRTC & returned as stream');
5943
- return _context7.abrupt("return", bnrAudioTrack);
5972
+ return _context8.abrupt("return", bnrAudioTrack);
5944
5973
  case 9:
5945
- _context7.prev = 9;
5946
- _context7.t0 = _context7["catch"](0);
5947
- _loggerProxy.default.logger.error('Meeting:index#internal_enableBNR.', _context7.t0);
5948
- 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;
5949
5978
  case 13:
5950
5979
  case "end":
5951
- return _context7.stop();
5980
+ return _context8.stop();
5952
5981
  }
5953
- }, _callee7, null, [[0, 9]]);
5982
+ }, _callee8, null, [[0, 9]]);
5954
5983
  }));
5955
- function internal_enableBNR(_x5) {
5984
+ function internal_enableBNR(_x6) {
5956
5985
  return _internal_enableBNR.apply(this, arguments);
5957
5986
  }
5958
5987
  return internal_enableBNR;