@opentok/client 2.22.0 → 2.22.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.
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license OpenTok.js 2.22.0 a83f3e955
2
+ * @license OpenTok.js 2.22.1 aec2e16be
3
3
  *
4
4
  * Copyright (c) 2010-2022 TokBox, Inc.
5
5
  * Subject to the applicable Software Development Kit (SDK) License Agreement:
6
6
  * https://www.vonage.com/legal/communications-apis/terms-of-use/
7
7
  *
8
- * Date: Thu, 24 Feb 2022 23:17:22 GMT
8
+ * Date: Tue, 22 Mar 2022 22:23:24 GMT
9
9
  */
10
10
 
11
11
  (function webpackUniversalModuleDefinition(root, factory) {
@@ -2393,7 +2393,7 @@ module.exports = function otErrorFactory(deps) {
2393
2393
  /* 12 */
2394
2394
  /***/ (function(module, exports, __webpack_require__) {
2395
2395
 
2396
- module.exports = __webpack_require__(600);
2396
+ module.exports = __webpack_require__(601);
2397
2397
 
2398
2398
 
2399
2399
  /***/ }),
@@ -5062,7 +5062,7 @@ module.exports = function (deps) {
5062
5062
 
5063
5063
  const getNativeEnumerateDevices = deps.getNativeEnumerateDevices || __webpack_require__(286)();
5064
5064
 
5065
- const getNativeMediaDevices = deps.getNativeMediaDevices || __webpack_require__(624)();
5065
+ const getNativeMediaDevices = deps.getNativeMediaDevices || __webpack_require__(625)();
5066
5066
 
5067
5067
  const _ref = deps.currentAudioOutputDevice || __webpack_require__(105),
5068
5068
  getCurrentAudioOutputDeviceId = _ref.getCurrentAudioOutputDeviceId;
@@ -6794,7 +6794,7 @@ const _require = __webpack_require__(138),
6794
6794
  /** @type builtInConfig */
6795
6795
 
6796
6796
 
6797
- const builtInConfig = cloneDeep({"version":"v2.22.0","buildHash":"a83f3e955","minimumVersion":{"firefox":52,"chrome":49},"debug":"false","websiteURL":"http://www.tokbox.com","configURL":"https://config.opentok.com","ipWhitelistConfigURL":"","cdnURL":"https://static.opentok.com","loggingURL":"https://hlg.tokbox.com/prod","apiURL":"https://anvil.opentok.com"});
6797
+ const builtInConfig = cloneDeep({"version":"v2.22.1","buildHash":"aec2e16be","minimumVersion":{"firefox":52,"chrome":49},"debug":"false","websiteURL":"http://www.tokbox.com","configURL":"https://config.opentok.com","ipWhitelistConfigURL":"","cdnURL":"https://static.opentok.com","loggingURL":"https://hlg.tokbox.com/prod","apiURL":"https://anvil.opentok.com"});
6798
6798
  const whitelistAllowedRuntimeProperties = pick(['apiURL', 'assetURL', 'cdnURL', 'sessionInfoOverrides', 'loggingURL']);
6799
6799
  const liveConfigMap = {
6800
6800
  apiUrl: 'apiURL',
@@ -8261,7 +8261,7 @@ exports.once = once(() => exports.check());
8261
8261
  /* 61 */
8262
8262
  /***/ (function(module, exports, __webpack_require__) {
8263
8263
 
8264
- var createFind = __webpack_require__(596),
8264
+ var createFind = __webpack_require__(597),
8265
8265
  findIndex = __webpack_require__(272);
8266
8266
 
8267
8267
  /**
@@ -8911,7 +8911,7 @@ module.exports = IntervalRunner;
8911
8911
 
8912
8912
  const pick = __webpack_require__(47);
8913
8913
 
8914
- const mapValues = __webpack_require__(639);
8914
+ const mapValues = __webpack_require__(640);
8915
8915
 
8916
8916
  const isObject = __webpack_require__(9);
8917
8917
 
@@ -10029,33 +10029,33 @@ module.exports = function PeerConnectionFactory(deps) {
10029
10029
  deps = {};
10030
10030
  }
10031
10031
 
10032
- const hasValidPeerConnection = deps.hasValidPeerConnection || __webpack_require__(599);
10032
+ const hasValidPeerConnection = deps.hasValidPeerConnection || __webpack_require__(600);
10033
10033
 
10034
10034
  const applySdpTransform = deps.applySdpTransform || __webpack_require__(155);
10035
10035
 
10036
- const createPeerConnection = deps.createPeerConnection || __webpack_require__(602);
10036
+ const createPeerConnection = deps.createPeerConnection || __webpack_require__(603);
10037
10037
 
10038
10038
  const env = deps.env || __webpack_require__(2);
10039
10039
 
10040
- const sdpTransformDefaults = deps.sdpTransformDefaults || __webpack_require__(604);
10040
+ const sdpTransformDefaults = deps.sdpTransformDefaults || __webpack_require__(605);
10041
10041
 
10042
10042
  const getStatsAdapter = deps.getStatsAdapter || __webpack_require__(274);
10043
10043
 
10044
10044
  const getRtcStatsReportAdapter = deps.getRtcStatsReportAdapter || __webpack_require__(277);
10045
10045
 
10046
- const getSynchronizationSources = deps.getSynchronizationSources || __webpack_require__(608);
10046
+ const getSynchronizationSources = deps.getSynchronizationSources || __webpack_require__(609);
10047
10047
 
10048
- const IceCandidateProcessor = deps.IceCandidateProcessor || __webpack_require__(609);
10048
+ const IceCandidateProcessor = deps.IceCandidateProcessor || __webpack_require__(610);
10049
10049
 
10050
10050
  const createLog = deps.logging || __webpack_require__(1);
10051
10051
 
10052
- const offerProcessor = deps.offerProcessor || __webpack_require__(611);
10052
+ const offerProcessor = deps.offerProcessor || __webpack_require__(612);
10053
10053
 
10054
- const PeerConnectionChannels = deps.PeerConnectionChannels || __webpack_require__(613);
10054
+ const PeerConnectionChannels = deps.PeerConnectionChannels || __webpack_require__(614);
10055
10055
 
10056
- const subscribeProcessor = deps.subscribeProcessor || __webpack_require__(615);
10056
+ const subscribeProcessor = deps.subscribeProcessor || __webpack_require__(616);
10057
10057
 
10058
- const _ref = deps.changeMediaDirection || __webpack_require__(616),
10058
+ const _ref = deps.changeMediaDirection || __webpack_require__(617),
10059
10059
  changeMediaDirectionToInactive = _ref.changeMediaDirectionToInactive,
10060
10060
  changeMediaDirectionToRecvOnly = _ref.changeMediaDirectionToRecvOnly;
10061
10061
 
@@ -10063,9 +10063,9 @@ module.exports = function PeerConnectionFactory(deps) {
10063
10063
 
10064
10064
  const windowMock = deps.global || (typeof window !== undefined ? window : global);
10065
10065
 
10066
- const debounce = deps.debounce || __webpack_require__(620);
10066
+ const debounce = deps.debounce || __webpack_require__(621);
10067
10067
 
10068
- const needsToSwapH264Profiles = deps.needsToSwapH264Profiles || __webpack_require__(622).once;
10068
+ const needsToSwapH264Profiles = deps.needsToSwapH264Profiles || __webpack_require__(623).once;
10069
10069
 
10070
10070
  const futureIsPeerConnectionValid = () => hasValidPeerConnection(windowMock.RTCPeerConnection);
10071
10071
 
@@ -14298,6 +14298,10 @@ const logOnce = once(() => {
14298
14298
  }
14299
14299
  });
14300
14300
  });
14301
+ const logUserAgentParsingOnce = once(() => {
14302
+ __webpack_require__(587)(); // eslint-disable-line global-require
14303
+
14304
+ });
14301
14305
  let isDialogOpen = false;
14302
14306
  module.exports = {
14303
14307
  /**
@@ -14317,6 +14321,7 @@ module.exports = {
14317
14321
  logging.debug('OT.checkSystemRequirements()'); // We use Number here to coerce a Boolean to 1 or 0
14318
14322
 
14319
14323
  const systemRequirementsMet = Number(isWebSocketSupported && hasOpenTokSupport());
14324
+ logUserAgentParsingOnce();
14320
14325
 
14321
14326
  if (!systemRequirementsMet) {
14322
14327
  logOnce();
@@ -14381,9 +14386,9 @@ var _interopRequireDefault = __webpack_require__(3);
14381
14386
 
14382
14387
  var _inheritsLoose2 = _interopRequireDefault(__webpack_require__(59));
14383
14388
 
14384
- var _wrapNativeSuper2 = _interopRequireDefault(__webpack_require__(587));
14389
+ var _wrapNativeSuper2 = _interopRequireDefault(__webpack_require__(588));
14385
14390
 
14386
- const pFinally = __webpack_require__(591);
14391
+ const pFinally = __webpack_require__(592);
14387
14392
 
14388
14393
  let TimeoutError = /*#__PURE__*/function (_Error) {
14389
14394
  (0, _inheritsLoose2.default)(TimeoutError, _Error);
@@ -14728,11 +14733,11 @@ module.exports = function screenSharingFactory(deps) {
14728
14733
 
14729
14734
  const chromeExtensionHelper = deps.chromeExtensionHelper || __webpack_require__(280)();
14730
14735
 
14731
- const electronExtensionHelper = deps.electronExtensionHelper || __webpack_require__(627)();
14736
+ const electronExtensionHelper = deps.electronExtensionHelper || __webpack_require__(628)();
14732
14737
 
14733
14738
  const Errors = deps.Errors || __webpack_require__(4);
14734
14739
 
14735
- const firefoxExtensionHelper = deps.firefoxExtensionHelper || __webpack_require__(629);
14740
+ const firefoxExtensionHelper = deps.firefoxExtensionHelper || __webpack_require__(630);
14736
14741
 
14737
14742
  const getDisplayMediaExtensionHelper = deps.getDisplayMediaExtensionHelper || __webpack_require__(287);
14738
14743
 
@@ -15124,13 +15129,13 @@ var _defineProperty2 = _interopRequireDefault(__webpack_require__(18));
15124
15129
  /* eslint-disable no-underscore-dangle */
15125
15130
  const eventing = __webpack_require__(6);
15126
15131
 
15127
- const hasPassiveCapability = __webpack_require__(643);
15132
+ const hasPassiveCapability = __webpack_require__(644);
15128
15133
 
15129
15134
  const defaultLogging = __webpack_require__(1)('WidgetView');
15130
15135
 
15131
15136
  const DefaultOTHelpers = __webpack_require__(5);
15132
15137
 
15133
- const defaultVersionGreaterThan = __webpack_require__(644);
15138
+ const defaultVersionGreaterThan = __webpack_require__(645);
15134
15139
 
15135
15140
  const defaultEnv = __webpack_require__(2);
15136
15141
 
@@ -15140,15 +15145,15 @@ const _require = __webpack_require__(165),
15140
15145
 
15141
15146
  const unblockAudio = __webpack_require__(166);
15142
15147
 
15143
- const waitForVideoResolution = __webpack_require__(646);
15148
+ const waitForVideoResolution = __webpack_require__(647);
15144
15149
 
15145
- const waitForVideoToBePlaying = __webpack_require__(647);
15150
+ const defaultWaitForVideoToBePlaying = __webpack_require__(648);
15146
15151
 
15147
- const fixMini = __webpack_require__(648);
15152
+ const fixMini = __webpack_require__(649);
15148
15153
 
15149
- const getOrCreateContainer = __webpack_require__(649);
15154
+ const getOrCreateContainer = __webpack_require__(650);
15150
15155
 
15151
- const ensureCSSUnit = __webpack_require__(650);
15156
+ const ensureCSSUnit = __webpack_require__(651);
15152
15157
 
15153
15158
  const eventHelper = __webpack_require__(62);
15154
15159
 
@@ -15173,6 +15178,8 @@ function WidgetViewFactory(_temp) {
15173
15178
  OTHelpers = _ref$OTHelpers === void 0 ? DefaultOTHelpers : _ref$OTHelpers,
15174
15179
  _ref$versionGreaterTh = _ref.versionGreaterThan,
15175
15180
  versionGreaterThan = _ref$versionGreaterTh === void 0 ? defaultVersionGreaterThan : _ref$versionGreaterTh,
15181
+ _ref$waitForVideoToBe = _ref.waitForVideoToBePlaying,
15182
+ waitForVideoToBePlaying = _ref$waitForVideoToBe === void 0 ? defaultWaitForVideoToBePlaying : _ref$waitForVideoToBe,
15176
15183
  _ref$VideoElementFaca = _ref.VideoElementFacade,
15177
15184
  VideoElementFacade = _ref$VideoElementFaca === void 0 ? DefaultVideoElementFacadeFactory() : _ref$VideoElementFaca,
15178
15185
  _ref$env = _ref.env,
@@ -15184,6 +15191,13 @@ function WidgetViewFactory(_temp) {
15184
15191
  const supportsPassive = hasPassiveCapability({
15185
15192
  window: (typeof window !== undefined ? window : global)
15186
15193
  });
15194
+
15195
+ const throwIfBindCancelled = cancellation => {
15196
+ if (cancellation.isCanceled()) {
15197
+ logging.debug('bindVideo bailing due to cancellation');
15198
+ throw new CancellationError('CANCEL');
15199
+ }
15200
+ };
15187
15201
  /**
15188
15202
  * WidgetView - A standard abstraction used by Subscriber and Publisher for
15189
15203
  * displaying the video and it's UI.
@@ -15194,6 +15208,7 @@ function WidgetViewFactory(_temp) {
15194
15208
  * @param {Object} properties
15195
15209
  */
15196
15210
 
15211
+
15197
15212
  let WidgetView = /*#__PURE__*/function () {
15198
15213
  /** @type {typeVideoElementFacade} */
15199
15214
 
@@ -15386,200 +15401,227 @@ function WidgetViewFactory(_temp) {
15386
15401
  if (this._videoElementFacade) {
15387
15402
  this._videoElementFacade._pauseAndPlay();
15388
15403
  }
15389
- }
15390
- /**
15391
- * Bind a video to a VideoElementFacade
15392
- *
15393
- * @param {MediaStream} webRTCStream the MediaStream to bind
15394
- * @param {Object} options
15395
- * @param {Function} options.error Error callback
15396
- * @param {Float} options.audioVolume The initial audioVolume
15397
- * @param {Boolean} options.muted The initial mute state
15398
- * @param {String} [options.fallbackText] The default fallbackText
15399
- *
15400
- * @return {Promise<undefined>}
15401
- */
15402
- ;
15403
-
15404
- _proto.bindVideo =
15405
- /*#__PURE__*/
15406
- function () {
15407
- var _bindVideo = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(webRTCStream, _ref3) {
15408
- var audioVolume, muted, fallbackText, _inject, oldVideoFacade, tempContainer, cancellation, videoFacadeEvents, whenVideoPlaying, subscribingToAudioOnlyStream;
15409
-
15410
- return _regenerator.default.wrap(function _callee$(_context) {
15411
- while (1) switch (_context.prev = _context.next) {
15412
- case 0:
15413
- audioVolume = _ref3.audioVolume, muted = _ref3.muted, fallbackText = _ref3.fallbackText, _inject = _ref3._inject;
15414
- logging.debug('bindVideo ', {
15415
- webRTCStream
15416
- });
15417
- oldVideoFacade = this._videoElementFacade;
15418
- tempContainer = document.createElement('div');
15419
-
15420
- if (this._cancelBind) {
15421
- logging.debug('Cancelling last bindVideo request');
15422
-
15423
- this._cancelBind.cancel();
15424
- }
15425
-
15426
- this._cancelBind = new Cancellation();
15427
- cancellation = this._cancelBind;
15428
- this.once('destroy', () => cancellation.cancel());
15429
- this._videoElementFacade = new WidgetView.VideoElementFacade({
15430
- defaultAudioVolume: parseFloat(audioVolume, 100),
15431
- fallbackText,
15432
- fitMode: this._fitMode,
15433
- _inject,
15434
- muted,
15435
- widgetType: this._widgetType
15436
- });
15437
- videoFacadeEvents = eventHelper(this._videoElementFacade);
15438
-
15439
- if (this._videoFacadeEvents) {
15440
- logging.debug('Remove event listeners from old video facade');
15404
+ };
15441
15405
 
15442
- this._videoFacadeEvents.removeAll();
15443
- }
15406
+ _proto._createVideoElementFacade = function _createVideoElementFacade(_ref3) {
15407
+ let _inject = _ref3._inject,
15408
+ audioVolume = _ref3.audioVolume,
15409
+ fallbackText = _ref3.fallbackText,
15410
+ muted = _ref3.muted;
15411
+ this._videoElementFacade = new VideoElementFacade({
15412
+ defaultAudioVolume: parseFloat(audioVolume),
15413
+ fallbackText,
15414
+ fitMode: this._fitMode,
15415
+ _inject,
15416
+ muted,
15417
+ widgetType: this._widgetType
15418
+ });
15419
+ const videoFacadeEvents = eventHelper(this._videoElementFacade);
15420
+ this._videoFacadeEvents = videoFacadeEvents;
15421
+ videoFacadeEvents.on('error', () => {
15422
+ this.trigger('error');
15423
+ });
15424
+ videoFacadeEvents.on('videoDimensionsChanged', (oldValue, newValue) => {
15425
+ this.trigger('videoDimensionsChanged', oldValue, newValue);
15426
+ });
15427
+ videoFacadeEvents.on('mediaStopped', track => {
15428
+ this.trigger('mediaStopped', track);
15429
+ });
15430
+ videoFacadeEvents.on('audioBlocked', () => this.trigger('audioBlocked'));
15431
+ videoFacadeEvents.on('audioUnblocked', () => this.trigger('audioUnblocked')); // makes the incoming audio streams take priority (will impact only FF OS for now)
15444
15432
 
15445
- this._videoFacadeEvents = videoFacadeEvents;
15446
- videoFacadeEvents.on('error', () => {
15447
- this.trigger('error');
15448
- });
15449
- videoFacadeEvents.on('videoDimensionsChanged', (oldValue, newValue) => {
15450
- this.trigger('videoDimensionsChanged', oldValue, newValue);
15451
- });
15452
- videoFacadeEvents.on('mediaStopped', track => {
15453
- this.trigger('mediaStopped', track);
15454
- });
15455
- videoFacadeEvents.on('audioBlocked', () => this.trigger('audioBlocked'));
15456
- videoFacadeEvents.on('audioUnblocked', () => this.trigger('audioUnblocked')); // Initialize the audio volume
15457
-
15458
- if (typeof audioVolume !== 'undefined') {
15459
- try {
15460
- this._videoElementFacade.setAudioVolume(audioVolume);
15461
- } catch (e) {
15462
- logging.warn(`bindVideo ${e}`);
15463
- }
15464
- } // makes the incoming audio streams take priority (will impact only FF OS for now)
15433
+ this._videoElementFacade.audioChannelType('telephony');
15465
15434
 
15435
+ logging.debug('Appending the video facade');
15466
15436
 
15467
- this._videoElementFacade.audioChannelType('telephony');
15437
+ this._videoElementFacade.appendTo(this._widgetContainer); // Initialize the audio volume
15468
15438
 
15469
- if (!oldVideoFacade) {
15470
- logging.debug('Appending the video facade');
15471
15439
 
15472
- this._videoElementFacade.appendTo(this._widgetContainer);
15473
- } else {
15474
- this._videoElementFacade.appendTo(tempContainer);
15475
- }
15440
+ if (typeof audioVolume !== 'undefined') {
15441
+ try {
15442
+ this._videoElementFacade.setAudioVolume(audioVolume);
15443
+ } catch (e) {
15444
+ logging.warn(`bindVideo ${e}`);
15445
+ }
15446
+ }
15447
+ };
15476
15448
 
15477
- _context.prev = 20;
15478
- _context.next = 23;
15449
+ _proto._bindToStream = /*#__PURE__*/function () {
15450
+ var _bindToStream2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(webRTCStream, cancellation) {
15451
+ return _regenerator.default.wrap(function _callee$(_context) {
15452
+ while (1) switch (_context.prev = _context.next) {
15453
+ case 0:
15454
+ _context.prev = 0;
15455
+ _context.next = 3;
15479
15456
  return this._videoElementFacade.bindToStream(webRTCStream);
15480
15457
 
15481
- case 23:
15482
- _context.next = 34;
15458
+ case 3:
15459
+ _context.next = 14;
15483
15460
  break;
15484
15461
 
15485
- case 25:
15486
- _context.prev = 25;
15487
- _context.t0 = _context["catch"](20);
15462
+ case 5:
15463
+ _context.prev = 5;
15464
+ _context.t0 = _context["catch"](0);
15488
15465
 
15489
15466
  if (!cancellation.isCanceled()) {
15490
- _context.next = 32;
15467
+ _context.next = 12;
15491
15468
  break;
15492
15469
  }
15493
15470
 
15494
15471
  logging.debug('Refusing to destroyVideo as bindVideo was cancelled');
15495
15472
  throw new CancellationError('CANCEL');
15496
15473
 
15497
- case 32:
15474
+ case 12:
15498
15475
  this.destroyVideo();
15499
15476
  throw _context.t0;
15500
15477
 
15501
- case 34:
15502
- if (!oldVideoFacade) {
15503
- if (this._videoElementFacade.domElement()) {
15504
- this.trigger('videoElementCreated', this._videoElementFacade.domElement());
15505
- }
15478
+ case 14:
15479
+ case "end":
15480
+ return _context.stop();
15481
+ }
15482
+ }, _callee, this, [[0, 5]]);
15483
+ }));
15506
15484
 
15507
- videoFacadeEvents.on('videoElementCreated', element => {
15508
- this.trigger('videoElementCreated', element);
15509
- });
15510
- }
15485
+ function _bindToStream(_x, _x2) {
15486
+ return _bindToStream2.apply(this, arguments);
15487
+ }
15511
15488
 
15512
- if (!cancellation.isCanceled()) {
15513
- _context.next = 38;
15514
- break;
15515
- }
15489
+ return _bindToStream;
15490
+ }();
15516
15491
 
15517
- logging.debug('bindVideo bailing due to cancellation');
15518
- throw new CancellationError('CANCEL');
15492
+ _proto._getNewBindCancellation = function _getNewBindCancellation() {
15493
+ if (this._cancelBind) {
15494
+ logging.debug('Cancelling last bindVideo request');
15519
15495
 
15520
- case 38:
15521
- whenVideoPlaying = waitForVideoToBePlaying(this._videoElementFacade, 5000);
15496
+ this._cancelBind.cancel();
15497
+ }
15498
+
15499
+ const cancellation = new Cancellation();
15500
+ this._cancelBind = cancellation;
15501
+ this.once('destroy', () => cancellation.cancel());
15502
+ return cancellation;
15503
+ };
15504
+
15505
+ _proto._triggerVideoElementCreated = function _triggerVideoElementCreated() {
15506
+ const triggerVideoElementCreated = element => {
15507
+ this.trigger('videoElementCreated', element);
15508
+
15509
+ if (this._insertDefaultUI) {
15510
+ OTHelpers.addClass(element, 'OT_video-element');
15511
+ }
15512
+ };
15513
+
15514
+ if (this._videoElementFacade.domElement()) {
15515
+ triggerVideoElementCreated(this._videoElementFacade.domElement());
15516
+ } else {
15517
+ this._videoFacadeEvents.on('videoElementCreated', element => {
15518
+ triggerVideoElementCreated(element);
15519
+ });
15520
+ }
15521
+ };
15522
+
15523
+ _proto._waitForVideoResolution = /*#__PURE__*/function () {
15524
+ var _waitForVideoResolution2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2(webRTCStream) {
15525
+ var subscribingToAudioOnlyStream;
15526
+ return _regenerator.default.wrap(function _callee2$(_context2) {
15527
+ while (1) switch (_context2.prev = _context2.next) {
15528
+ case 0:
15522
15529
  subscribingToAudioOnlyStream = this.audioOnly() && this._widgetType === 'subscriber';
15523
15530
 
15524
15531
  if (!(!subscribingToAudioOnlyStream && webRTCStream.getVideoTracks().length > 0)) {
15525
- _context.next = 45;
15532
+ _context2.next = 6;
15526
15533
  break;
15527
15534
  }
15528
15535
 
15529
15536
  logging.debug('Waiting for correct resolution');
15530
- _context.next = 44;
15537
+ _context2.next = 5;
15531
15538
  return waitForVideoResolution(this._videoElementFacade, 5000);
15532
15539
 
15533
- case 44:
15540
+ case 5:
15534
15541
  logging.debug(`Resolution: ${this._videoElementFacade.videoWidth()}x${this._videoElementFacade.videoHeight()}`);
15535
15542
 
15536
- case 45:
15537
- logging.debug('Waiting for video to be playing');
15538
- _context.next = 48;
15539
- return whenVideoPlaying;
15540
-
15541
- case 48:
15542
- logging.debug('Video is playing');
15543
+ case 6:
15544
+ case "end":
15545
+ return _context2.stop();
15546
+ }
15547
+ }, _callee2, this);
15548
+ }));
15543
15549
 
15544
- if (!cancellation.isCanceled()) {
15545
- _context.next = 52;
15546
- break;
15547
- }
15550
+ function _waitForVideoResolution(_x3) {
15551
+ return _waitForVideoResolution2.apply(this, arguments);
15552
+ }
15548
15553
 
15549
- logging.debug('bindVideo bailing due to cancellation');
15550
- throw new CancellationError('CANCEL');
15554
+ return _waitForVideoResolution;
15555
+ }()
15556
+ /**
15557
+ * Bind a video to a VideoElementFacade
15558
+ *
15559
+ * @param {MediaStream} webRTCStream the MediaStream to bind
15560
+ * @param {Object} options
15561
+ * @param {Function} options.error Error callback
15562
+ * @param {Float} options.audioVolume The initial audioVolume
15563
+ * @param {Boolean} options.muted The initial mute state
15564
+ * @param {String} [options.fallbackText] The default fallbackText
15565
+ *
15566
+ * @return {Promise<undefined>}
15567
+ */
15568
+ ;
15551
15569
 
15552
- case 52:
15553
- if (oldVideoFacade) {
15554
- // overview of the transition
15555
- // add new one to dom, give it a second
15556
- // remove old one
15557
- if (this._videoElementFacade.domElement()) {
15558
- this.trigger('videoElementCreated', this._videoElementFacade.domElement());
15559
- }
15570
+ _proto.bindVideo =
15571
+ /*#__PURE__*/
15572
+ function () {
15573
+ var _bindVideo = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3(webRTCStream, _ref4) {
15574
+ var audioVolume, muted, fallbackText, _inject, hasExistingElement, cancellation, whenVideoPlaying;
15560
15575
 
15561
- videoFacadeEvents.on('videoElementCreated', element => {
15562
- this.trigger('videoElementCreated', element);
15576
+ return _regenerator.default.wrap(function _callee3$(_context3) {
15577
+ while (1) switch (_context3.prev = _context3.next) {
15578
+ case 0:
15579
+ audioVolume = _ref4.audioVolume, muted = _ref4.muted, fallbackText = _ref4.fallbackText, _inject = _ref4._inject;
15580
+ logging.debug('bindVideo ', {
15581
+ webRTCStream
15582
+ });
15583
+ hasExistingElement = !!this._videoElementFacade;
15584
+ cancellation = this._getNewBindCancellation();
15585
+
15586
+ if (!hasExistingElement) {
15587
+ this._createVideoElementFacade({
15588
+ _inject,
15589
+ audioVolume,
15590
+ fallbackText,
15591
+ muted
15563
15592
  });
15564
- logging.debug('Destroy the old video facade');
15565
- oldVideoFacade.destroy();
15566
- logging.debug('Insert the new video facade');
15567
-
15568
- this._videoElementFacade.appendTo(this._widgetContainer);
15569
15593
  }
15570
15594
 
15571
- if (this._insertDefaultUI !== false) {
15572
- OTHelpers.addClass(this._videoElementFacade.domElement(), 'OT_video-element');
15595
+ _context3.next = 7;
15596
+ return this._bindToStream(webRTCStream, cancellation);
15597
+
15598
+ case 7:
15599
+ if (!hasExistingElement) {
15600
+ this._triggerVideoElementCreated();
15573
15601
  }
15574
15602
 
15575
- case 54:
15603
+ throwIfBindCancelled(cancellation);
15604
+ whenVideoPlaying = waitForVideoToBePlaying(this._videoElementFacade, 5000);
15605
+ _context3.next = 12;
15606
+ return this._waitForVideoResolution(webRTCStream);
15607
+
15608
+ case 12:
15609
+ logging.debug('Waiting for video to be playing');
15610
+ _context3.next = 15;
15611
+ return whenVideoPlaying;
15612
+
15613
+ case 15:
15614
+ logging.debug('Video is playing');
15615
+ throwIfBindCancelled(cancellation);
15616
+
15617
+ case 17:
15576
15618
  case "end":
15577
- return _context.stop();
15619
+ return _context3.stop();
15578
15620
  }
15579
- }, _callee, this, [[20, 25]]);
15621
+ }, _callee3, this);
15580
15622
  }));
15581
15623
 
15582
- function bindVideo(_x, _x2) {
15624
+ function bindVideo(_x4, _x5) {
15583
15625
  return _bindVideo.apply(this, arguments);
15584
15626
  }
15585
15627
 
@@ -15698,11 +15740,8 @@ function WidgetViewFactory(_temp) {
15698
15740
  }
15699
15741
  }]);
15700
15742
  return WidgetView;
15701
- }(); // This is bound here so that it can be mocked in testing. Feels like a smell that's a symptom of
15702
- // larger problems to me, but I'm just maintaining existing behaviour right now.
15703
-
15743
+ }();
15704
15744
 
15705
- WidgetView.VideoElementFacade = VideoElementFacade;
15706
15745
  return WidgetView;
15707
15746
  }
15708
15747
 
@@ -15720,7 +15759,7 @@ Object.defineProperty(exports, "__esModule", {
15720
15759
  });
15721
15760
  exports.CancellationError = exports.default = undefined;
15722
15761
 
15723
- var _Cancellation = __webpack_require__(645);
15762
+ var _Cancellation = __webpack_require__(646);
15724
15763
 
15725
15764
  var _Cancellation2 = _interopRequireDefault(_Cancellation);
15726
15765
 
@@ -15834,7 +15873,7 @@ const pick = __webpack_require__(47);
15834
15873
 
15835
15874
  const once = __webpack_require__(49);
15836
15875
 
15837
- const startCase = __webpack_require__(664);
15876
+ const startCase = __webpack_require__(665);
15838
15877
 
15839
15878
  const uuid = __webpack_require__(19);
15840
15879
 
@@ -15848,7 +15887,7 @@ const _require = __webpack_require__(165),
15848
15887
 
15849
15888
  const env = __webpack_require__(2);
15850
15889
 
15851
- const setEncodersActiveStateDefault = __webpack_require__(674);
15890
+ const setEncodersActiveStateDefault = __webpack_require__(675);
15852
15891
 
15853
15892
  const promisify = __webpack_require__(307);
15854
15893
 
@@ -15868,28 +15907,28 @@ const IntervalRunnerDefault = __webpack_require__(74);
15868
15907
 
15869
15908
  const createCleanupJobs = __webpack_require__(154);
15870
15909
 
15871
- const whitelistPublisherProperties = __webpack_require__(675);
15910
+ const whitelistPublisherProperties = __webpack_require__(676);
15872
15911
 
15873
15912
  const defaultWidgetView = __webpack_require__(164)();
15874
15913
 
15875
- const audioLevelBehaviour = __webpack_require__(676);
15914
+ const audioLevelBehaviour = __webpack_require__(677);
15876
15915
 
15877
- const blockCallsUntilComplete = __webpack_require__(677);
15916
+ const blockCallsUntilComplete = __webpack_require__(678);
15878
15917
 
15879
15918
  const unblockAudio = __webpack_require__(166);
15880
15919
 
15881
15920
  const _require2 = __webpack_require__(23)(),
15882
15921
  getInputMediaDevices = _require2.getInputMediaDevices;
15883
15922
 
15884
- const createCanvasVideoTrack = __webpack_require__(678);
15923
+ const createCanvasVideoTrack = __webpack_require__(679);
15885
15924
 
15886
15925
  const isSecureContextRequired = __webpack_require__(269);
15887
15926
 
15888
15927
  const isGetRtcStatsReportSupported = __webpack_require__(306);
15889
15928
 
15890
- const getDeviceIdFromStream = __webpack_require__(679);
15929
+ const getDeviceIdFromStream = __webpack_require__(680);
15891
15930
 
15892
- const createStreamErrorMap = __webpack_require__(680);
15931
+ const createStreamErrorMap = __webpack_require__(681);
15893
15932
 
15894
15933
  const _require3 = __webpack_require__(290),
15895
15934
  setVideoContentHint = _require3.setVideoContentHint,
@@ -16472,10 +16511,9 @@ module.exports = function PublisherFactory(_ref) {
16472
16511
  videoWidth: this.videoWidth(),
16473
16512
  videoHeight: this.videoHeight()
16474
16513
  };
16475
- const parsedAndQosStats = assign(QoSBlob, parsedStats);
16476
- const videoParsedStats = assign(parsedAndQosStats, videoDimensions);
16514
+ const parsedAndQosStats = assign({}, QoSBlob, parsedStats, videoDimensions);
16477
16515
  analytics.logQOS(parsedAndQosStats);
16478
- this.trigger('qos', videoParsedStats);
16516
+ this.trigger('qos', parsedAndQosStats);
16479
16517
  }; // Returns the video dimensions. Which could either be the ones that
16480
16518
  // the developer specific in the videoDimensions property, or just
16481
16519
  // whatever the video element reports.
@@ -20605,7 +20643,7 @@ const eventing = __webpack_require__(6);
20605
20643
 
20606
20644
  const Events = __webpack_require__(22)();
20607
20645
 
20608
- const connectionCapabilities = __webpack_require__(710);
20646
+ const connectionCapabilities = __webpack_require__(711);
20609
20647
  /**
20610
20648
  * The Connection object represents a connection to an OpenTok session. Each client that connects
20611
20649
  * to a session has a unique connection, with a unique connection ID (represented by the
@@ -26914,10 +26952,10 @@ module.exports = _setPrototypeOf;
26914
26952
 
26915
26953
  var arrayMap = __webpack_require__(33),
26916
26954
  baseClone = __webpack_require__(77),
26917
- baseUnset = __webpack_require__(592),
26955
+ baseUnset = __webpack_require__(593),
26918
26956
  castPath = __webpack_require__(57),
26919
26957
  copyObject = __webpack_require__(39),
26920
- customOmitClone = __webpack_require__(595),
26958
+ customOmitClone = __webpack_require__(596),
26921
26959
  flatRest = __webpack_require__(137),
26922
26960
  getAllKeysIn = __webpack_require__(184);
26923
26961
 
@@ -27036,7 +27074,7 @@ module.exports = findIndex;
27036
27074
  /* 273 */
27037
27075
  /***/ (function(module, exports, __webpack_require__) {
27038
27076
 
27039
- var baseUniq = __webpack_require__(597);
27077
+ var baseUniq = __webpack_require__(598);
27040
27078
 
27041
27079
  /**
27042
27080
  * Creates a duplicate-free version of an array, using
@@ -27070,7 +27108,7 @@ module.exports = uniq;
27070
27108
  "use strict";
27071
27109
 
27072
27110
 
27073
- const toArray = __webpack_require__(605);
27111
+ const toArray = __webpack_require__(606);
27074
27112
 
27075
27113
  const getRtcStatsReportAdapter = __webpack_require__(277);
27076
27114
 
@@ -27150,7 +27188,7 @@ module.exports = isString;
27150
27188
  /* 276 */
27151
27189
  /***/ (function(module, exports, __webpack_require__) {
27152
27190
 
27153
- var baseValues = __webpack_require__(607),
27191
+ var baseValues = __webpack_require__(608),
27154
27192
  keys = __webpack_require__(30);
27155
27193
 
27156
27194
  /**
@@ -27235,9 +27273,9 @@ var _events = __webpack_require__(41);
27235
27273
 
27236
27274
  var _clone = _interopRequireDefault(__webpack_require__(36));
27237
27275
 
27238
- var _parseQOS = _interopRequireDefault(__webpack_require__(617));
27276
+ var _parseQOS = _interopRequireDefault(__webpack_require__(618));
27239
27277
 
27240
- var _TruthyChangeCounter = _interopRequireDefault(__webpack_require__(619));
27278
+ var _TruthyChangeCounter = _interopRequireDefault(__webpack_require__(620));
27241
27279
 
27242
27280
  var _now = _interopRequireDefault(__webpack_require__(48));
27243
27281
 
@@ -27675,7 +27713,7 @@ module.exports = function createChromeMixinFactory(deps) {
27675
27713
  deps = {};
27676
27714
  }
27677
27715
 
27678
- const Archiving = deps.Archiving || __webpack_require__(623);
27716
+ const Archiving = deps.Archiving || __webpack_require__(624);
27679
27717
 
27680
27718
  const AudioLevelMeter = deps.AudioLevelMeter || __webpack_require__(282);
27681
27719
 
@@ -28723,11 +28761,11 @@ const eventing = __webpack_require__(6);
28723
28761
 
28724
28762
  const eventHelper = __webpack_require__(62);
28725
28763
 
28726
- const destroyObj = __webpack_require__(634);
28764
+ const destroyObj = __webpack_require__(635);
28727
28765
 
28728
- const patchSrcObject = __webpack_require__(635);
28766
+ const patchSrcObject = __webpack_require__(636);
28729
28767
 
28730
- const isDomElementVisible = __webpack_require__(636);
28768
+ const isDomElementVisible = __webpack_require__(637);
28731
28769
 
28732
28770
  const promiseDelay = __webpack_require__(106);
28733
28771
 
@@ -28778,13 +28816,13 @@ function NativeVideoElementWrapperFactory(deps) {
28778
28816
 
28779
28817
  const audioContextProvider = deps.audioContext || __webpack_require__(158)();
28780
28818
 
28781
- const canBeOrientatedMixin = deps.canBeOrientatedMixin || __webpack_require__(637);
28819
+ const canBeOrientatedMixin = deps.canBeOrientatedMixin || __webpack_require__(638);
28782
28820
  /** @type {Document} */
28783
28821
 
28784
28822
 
28785
28823
  const document = deps.document || (typeof window !== undefined ? window : global).document;
28786
28824
 
28787
- const listenForTracksEnded = deps.listenForTracksEnded || __webpack_require__(638)();
28825
+ const listenForTracksEnded = deps.listenForTracksEnded || __webpack_require__(639)();
28788
28826
 
28789
28827
  const createLog = deps.logging || __webpack_require__(1);
28790
28828
 
@@ -29832,7 +29870,7 @@ module.exports = function PublisherPeerConnectionFactory(deps) {
29832
29870
 
29833
29871
  const setCertificates = deps.setCertificates || __webpack_require__(163)();
29834
29872
 
29835
- const watchAudioAcquisition = deps.watchAudioAcquisition || __webpack_require__(640);
29873
+ const watchAudioAcquisition = deps.watchAudioAcquisition || __webpack_require__(641);
29836
29874
  /**
29837
29875
  * @typedef {object} PublisherPeerConnectionConfig
29838
29876
  * @property {function(string, string=, object=, object=, boolean=)} logAnalyticsEvent
@@ -30109,7 +30147,7 @@ module.exports = function SubscriberPeerConnectionFactory(deps) {
30109
30147
 
30110
30148
  const OTErrorClass = deps.OTErrorClass || __webpack_require__(21);
30111
30149
 
30112
- const watchSubscriberAudio = deps.watchSubscriberAudio || __webpack_require__(641);
30150
+ const watchSubscriberAudio = deps.watchSubscriberAudio || __webpack_require__(642);
30113
30151
  /*
30114
30152
  * Abstracts PeerConnection related stuff away from Subscriber.
30115
30153
  *
@@ -30585,19 +30623,19 @@ const eventNames = __webpack_require__(26);
30585
30623
 
30586
30624
  const eventing = __webpack_require__(6);
30587
30625
 
30588
- const waitUntil = __webpack_require__(651);
30626
+ const waitUntil = __webpack_require__(652);
30589
30627
 
30590
30628
  const RafRunner = __webpack_require__(103);
30591
30629
 
30592
30630
  const eventHelper = __webpack_require__(62);
30593
30631
 
30594
- const interpretSubscriberCreateError = __webpack_require__(652);
30632
+ const interpretSubscriberCreateError = __webpack_require__(653);
30595
30633
 
30596
30634
  const Errors = __webpack_require__(4);
30597
30635
 
30598
30636
  const defaultWidgetView = __webpack_require__(164)();
30599
30637
 
30600
- const audioLevelBehaviour = __webpack_require__(653);
30638
+ const audioLevelBehaviour = __webpack_require__(654);
30601
30639
 
30602
30640
  const AudioLevelMeterDefault = __webpack_require__(282);
30603
30641
 
@@ -30621,7 +30659,7 @@ const hasAudioOutputLevelStatCapabilityDefault = __webpack_require__(301);
30621
30659
 
30622
30660
  const hasRemoteStreamsWithWebAudioDefault = __webpack_require__(302);
30623
30661
 
30624
- const audioLevelSamplerDefault = __webpack_require__(654);
30662
+ const audioLevelSamplerDefault = __webpack_require__(655);
30625
30663
 
30626
30664
  const interpretPeerConnectionErrorDefault = __webpack_require__(162)();
30627
30665
 
@@ -30651,23 +30689,23 @@ const SubscriberPeerConnectionDefault = __webpack_require__(296)({
30651
30689
 
30652
30690
  const SubscribingStateDefault = __webpack_require__(303);
30653
30691
 
30654
- const VideoDisabledIndicatorDefault = __webpack_require__(657);
30692
+ const VideoDisabledIndicatorDefault = __webpack_require__(658);
30655
30693
 
30656
- const AudioBlockedIndicatorDefault = __webpack_require__(658);
30694
+ const AudioBlockedIndicatorDefault = __webpack_require__(659);
30657
30695
 
30658
- const VideoUnsupportedIndicatorDefault = __webpack_require__(659);
30696
+ const VideoUnsupportedIndicatorDefault = __webpack_require__(660);
30659
30697
 
30660
- const watchFrameRateDefault = __webpack_require__(660);
30698
+ const watchFrameRateDefault = __webpack_require__(661);
30661
30699
 
30662
30700
  const createSendMethodDefault = __webpack_require__(304);
30663
30701
 
30664
30702
  const parseIceServersDefault = __webpack_require__(100).parseIceServers;
30665
30703
 
30666
- const overallTimeout = __webpack_require__(661);
30704
+ const overallTimeout = __webpack_require__(662);
30667
30705
 
30668
- const createConnectivityState = __webpack_require__(662);
30706
+ const createConnectivityState = __webpack_require__(663);
30669
30707
 
30670
- const createConnectivityAttemptPinger = __webpack_require__(663);
30708
+ const createConnectivityAttemptPinger = __webpack_require__(664);
30671
30709
 
30672
30710
  const isGetRtcStatsReportSupported = __webpack_require__(306);
30673
30711
 
@@ -30837,6 +30875,8 @@ module.exports = function SubscriberFactory(_temp) {
30837
30875
 
30838
30876
  let _webRTCStream;
30839
30877
 
30878
+ let _videoEnabled;
30879
+
30840
30880
  let _lastSubscribeToVideoReason;
30841
30881
 
30842
30882
  let _attemptStartTime;
@@ -31272,6 +31312,8 @@ module.exports = function SubscriberFactory(_temp) {
31272
31312
  };
31273
31313
 
31274
31314
  const recordQOS = (_ref10) => {
31315
+ var _properties$preferred, _properties$preferred2;
31316
+
31275
31317
  let parsedStats = _ref10.parsedStats,
31276
31318
  remoteConnectionId = _ref10.remoteConnectionId,
31277
31319
  peerId = _ref10.peerId,
@@ -31294,7 +31336,11 @@ module.exports = function SubscriberFactory(_temp) {
31294
31336
  duration: Math.round((now() - _subscribeStartTime) / 1000),
31295
31337
  remoteConnectionId,
31296
31338
  peerId,
31297
- sourceStreamId: getMediaModeBySourceStreamId(sourceStreamId)
31339
+ sourceStreamId: getMediaModeBySourceStreamId(sourceStreamId),
31340
+ preferredResolutionHeight: (_properties$preferred = _properties.preferredResolution) == null ? void 0 : _properties$preferred.height,
31341
+ preferredResolutionWidth: (_properties$preferred2 = _properties.preferredResolution) == null ? void 0 : _properties$preferred2.width,
31342
+ preferredFrameRate: _properties.preferredFrameRate,
31343
+ audioFallback: !_videoEnabled && _lastSubscribeToVideoReason === 'auto'
31298
31344
  };
31299
31345
  const combinedStats = assign(QoSBlob, parsedStats);
31300
31346
  analytics.logQOS(combinedStats);
@@ -33024,6 +33070,7 @@ module.exports = function SubscriberFactory(_temp) {
33024
33070
 
33025
33071
  _properties.subscribeToVideo = value;
33026
33072
  _lastSubscribeToVideoReason = reason;
33073
+ _videoEnabled = value;
33027
33074
  logAnalyticsEvent('subscribeToVideo', 'Success', {
33028
33075
  subscribeToVideo: value,
33029
33076
  reason
@@ -34947,9 +34994,9 @@ const isFunction = __webpack_require__(15);
34947
34994
 
34948
34995
  const isObject = __webpack_require__(9);
34949
34996
 
34950
- const isNullOrFalse = __webpack_require__(681);
34997
+ const isNullOrFalse = __webpack_require__(682);
34951
34998
 
34952
- const setVideoContentHintIfCanvas = __webpack_require__(682);
34999
+ const setVideoContentHintIfCanvas = __webpack_require__(683);
34953
35000
 
34954
35001
  module.exports = function initPublisherFactory(deps) {
34955
35002
  if (deps === void 0) {
@@ -35559,7 +35606,7 @@ var _extends2 = _interopRequireDefault(__webpack_require__(25));
35559
35606
  /* eslint-disable max-len */
35560
35607
  const EventEmitter = __webpack_require__(41);
35561
35608
 
35562
- const findKey = __webpack_require__(683);
35609
+ const findKey = __webpack_require__(684);
35563
35610
 
35564
35611
  const isObject = __webpack_require__(9);
35565
35612
 
@@ -35579,9 +35626,9 @@ const IntervalRunner = __webpack_require__(74);
35579
35626
 
35580
35627
  const promisify = __webpack_require__(307);
35581
35628
 
35582
- const testRemovingVideoCodecs = __webpack_require__(685);
35629
+ const testRemovingVideoCodecs = __webpack_require__(686);
35583
35630
 
35584
- const validateIceConfigFactory = __webpack_require__(686);
35631
+ const validateIceConfigFactory = __webpack_require__(687);
35585
35632
 
35586
35633
  const _require = __webpack_require__(138),
35587
35634
  prependProxyToUrlIfNeeded = _require.prependProxyToUrlIfNeeded;
@@ -35604,7 +35651,7 @@ module.exports = function SessionFactory(deps) {
35604
35651
 
35605
35652
  const Capabilities = deps.Capabilities || __webpack_require__(169);
35606
35653
 
35607
- const convertAnvilErrorCode = deps.convertAnvilErrorCode || __webpack_require__(687);
35654
+ const convertAnvilErrorCode = deps.convertAnvilErrorCode || __webpack_require__(688);
35608
35655
 
35609
35656
  const convertRumorError = deps.convertRumorError || __webpack_require__(310);
35610
35657
 
@@ -35626,7 +35673,7 @@ module.exports = function SessionFactory(deps) {
35626
35673
 
35627
35674
  const OTHelpers = deps.OTHelpers || __webpack_require__(5);
35628
35675
 
35629
- const forceMuteErrors = __webpack_require__(688);
35676
+ const forceMuteErrors = __webpack_require__(689);
35630
35677
  /** @type {typeof StaticConfigDefault} */
35631
35678
 
35632
35679
 
@@ -35637,7 +35684,7 @@ module.exports = function SessionFactory(deps) {
35637
35684
 
35638
35685
  const Publisher = deps.Publisher || __webpack_require__(168)();
35639
35686
 
35640
- const RaptorSocket = deps.RaptorSocket || __webpack_require__(689).default();
35687
+ const RaptorSocket = deps.RaptorSocket || __webpack_require__(690).default();
35641
35688
 
35642
35689
  const SessionDispatcher = deps.SessionDispatcher || __webpack_require__(318);
35643
35690
 
@@ -35658,7 +35705,7 @@ module.exports = function SessionFactory(deps) {
35658
35705
  });
35659
35706
  const windowMock = deps.global || (typeof window !== undefined ? window : global);
35660
35707
 
35661
- const getSessionInfo = deps.getSessionInfo || __webpack_require__(713)();
35708
+ const getSessionInfo = deps.getSessionInfo || __webpack_require__(714)();
35662
35709
 
35663
35710
  const SessionInfo = __webpack_require__(141);
35664
35711
 
@@ -38847,7 +38894,7 @@ const logging = __webpack_require__(1)('Dispatcher');
38847
38894
 
38848
38895
  const RumorMessageTypes = __webpack_require__(171);
38849
38896
 
38850
- const unboxFromRumorMessage = __webpack_require__(704);
38897
+ const unboxFromRumorMessage = __webpack_require__(705);
38851
38898
 
38852
38899
  const Dispatcher = function Dispatcher() {
38853
38900
  eventing(this);
@@ -39161,13 +39208,13 @@ const uuid = __webpack_require__(19);
39161
39208
 
39162
39209
  const OTHelpers = __webpack_require__(5);
39163
39210
 
39164
- const hasBundleCapability = __webpack_require__(707);
39211
+ const hasBundleCapability = __webpack_require__(708);
39165
39212
 
39166
- const hasRTCPMuxCapability = __webpack_require__(708);
39213
+ const hasRTCPMuxCapability = __webpack_require__(709);
39167
39214
 
39168
39215
  const serializeMessage = __webpack_require__(312);
39169
39216
 
39170
- const supportedCryptoScheme = __webpack_require__(709);
39217
+ const supportedCryptoScheme = __webpack_require__(710);
39171
39218
 
39172
39219
  const staticConfig = __webpack_require__(44)().onlyLocal();
39173
39220
 
@@ -39630,7 +39677,7 @@ const now = __webpack_require__(48);
39630
39677
 
39631
39678
  const Connection = __webpack_require__(172);
39632
39679
 
39633
- const DelayedEventQueue = __webpack_require__(712);
39680
+ const DelayedEventQueue = __webpack_require__(713);
39634
39681
 
39635
39682
  const Dispatcher = __webpack_require__(314);
39636
39683
 
@@ -40617,7 +40664,7 @@ const Events = __webpack_require__(22)();
40617
40664
 
40618
40665
  const generateSimpleStateMachine = __webpack_require__(160)();
40619
40666
 
40620
- const getUserMediaHelper = __webpack_require__(625)({
40667
+ const getUserMediaHelper = __webpack_require__(626)({
40621
40668
  otError,
40622
40669
  global: windowMock
40623
40670
  });
@@ -40627,7 +40674,7 @@ const screenSharing = __webpack_require__(161)({
40627
40674
  otError
40628
40675
  });
40629
40676
 
40630
- const processPubOptions = __webpack_require__(630)({
40677
+ const processPubOptions = __webpack_require__(631)({
40631
40678
  deviceHelpers,
40632
40679
  generateConstraintInfo,
40633
40680
  getUserMediaHelper,
@@ -40636,7 +40683,7 @@ const processPubOptions = __webpack_require__(630)({
40636
40683
  screenSharing
40637
40684
  });
40638
40685
 
40639
- const getUserMedia = __webpack_require__(633)({
40686
+ const getUserMedia = __webpack_require__(634)({
40640
40687
  otError,
40641
40688
  processPubOptions
40642
40689
  });
@@ -40674,7 +40721,7 @@ const SubscriberPeerConnection = __webpack_require__(296)({
40674
40721
 
40675
40722
  const PublishingState = __webpack_require__(297)();
40676
40723
 
40677
- const reportIssue = __webpack_require__(642)({
40724
+ const reportIssue = __webpack_require__(643)({
40678
40725
  otError
40679
40726
  });
40680
40727
 
@@ -40735,14 +40782,14 @@ const Session = __webpack_require__(309)({
40735
40782
  Subscriber
40736
40783
  });
40737
40784
 
40738
- const initSession = __webpack_require__(716)({
40785
+ const initSession = __webpack_require__(717)({
40739
40786
  Session
40740
40787
  }); // Allow events to be bound on OT
40741
40788
 
40742
40789
 
40743
40790
  eventing(OT);
40744
40791
 
40745
- const getSupportedCodecs = __webpack_require__(717);
40792
+ const getSupportedCodecs = __webpack_require__(718);
40746
40793
 
40747
40794
  setDeprecatedProperty(OT, '$', {
40748
40795
  name: 'OT.$',
@@ -40788,10 +40835,10 @@ OT.Error.on(eventNames.EXCEPTION, exceptionEvent => {
40788
40835
  OT.Event = Event;
40789
40836
  OT.ExceptionCodes = ExceptionCodes;
40790
40837
  OT.ExceptionEvent = Events.ExceptionEvent;
40791
- OT.getDevices = __webpack_require__(720);
40838
+ OT.getDevices = __webpack_require__(721);
40792
40839
  OT.getAudioOutputDevices = __webpack_require__(320);
40793
40840
  OT.getActiveAudioOutputDevice = __webpack_require__(321);
40794
- OT.setAudioOutputDevice = __webpack_require__(721)();
40841
+ OT.setAudioOutputDevice = __webpack_require__(722)();
40795
40842
  OT.GetAudioLevelSampler = GetAudioLevelSampler;
40796
40843
  OT.HAS_REQUIREMENTS = 1;
40797
40844
  OT.IntervalRunner = IntervalRunner;
@@ -40962,9 +41009,7 @@ EnvironmentLoader.onUnload(() => {
40962
41009
  sessionObjects.sessions.destroy('unloaded');
40963
41010
  });
40964
41011
 
40965
- __webpack_require__(722)();
40966
-
40967
- __webpack_require__(724)();
41012
+ __webpack_require__(723)();
40968
41013
  /**
40969
41014
  * This method is deprecated. Use <a href="#on">on()</a> or <a href="#once">once()</a> instead.
40970
41015
  *
@@ -58311,13 +58356,47 @@ module.exports = /*#__PURE__*/function (_Events) {
58311
58356
  /* 587 */
58312
58357
  /***/ (function(module, exports, __webpack_require__) {
58313
58358
 
58314
- var getPrototypeOf = __webpack_require__(588);
58359
+ "use strict";
58360
+
58361
+
58362
+ /* eslint-disable global-require */
58363
+ const AnalyticsHelper = __webpack_require__(27);
58364
+
58365
+ module.exports = function (deps) {
58366
+ if (deps === void 0) {
58367
+ deps = {};
58368
+ }
58369
+
58370
+ const env = deps.env || __webpack_require__(2);
58371
+
58372
+ const analytics = deps.analytics || new AnalyticsHelper();
58373
+ analytics.logEvent({
58374
+ action: 'UserAgentParsing',
58375
+ variation: 'Attempt',
58376
+ payload: {
58377
+ userAgent: env.userAgent
58378
+ }
58379
+ });
58380
+ analytics.logEvent({
58381
+ action: 'UserAgentParsing',
58382
+ variation: env.error ? 'Failure' : 'Success',
58383
+ payload: {
58384
+ userAgent: env.userAgent
58385
+ }
58386
+ });
58387
+ };
58388
+
58389
+ /***/ }),
58390
+ /* 588 */
58391
+ /***/ (function(module, exports, __webpack_require__) {
58392
+
58393
+ var getPrototypeOf = __webpack_require__(589);
58315
58394
 
58316
58395
  var setPrototypeOf = __webpack_require__(270);
58317
58396
 
58318
- var isNativeFunction = __webpack_require__(589);
58397
+ var isNativeFunction = __webpack_require__(590);
58319
58398
 
58320
- var construct = __webpack_require__(590);
58399
+ var construct = __webpack_require__(591);
58321
58400
 
58322
58401
  function _wrapNativeSuper(Class) {
58323
58402
  var _cache = typeof Map === "function" ? new Map() : undefined;
@@ -58356,7 +58435,7 @@ function _wrapNativeSuper(Class) {
58356
58435
  module.exports = _wrapNativeSuper;
58357
58436
 
58358
58437
  /***/ }),
58359
- /* 588 */
58438
+ /* 589 */
58360
58439
  /***/ (function(module, exports) {
58361
58440
 
58362
58441
  function _getPrototypeOf(o) {
@@ -58369,7 +58448,7 @@ function _getPrototypeOf(o) {
58369
58448
  module.exports = _getPrototypeOf;
58370
58449
 
58371
58450
  /***/ }),
58372
- /* 589 */
58451
+ /* 590 */
58373
58452
  /***/ (function(module, exports) {
58374
58453
 
58375
58454
  function _isNativeFunction(fn) {
@@ -58379,7 +58458,7 @@ function _isNativeFunction(fn) {
58379
58458
  module.exports = _isNativeFunction;
58380
58459
 
58381
58460
  /***/ }),
58382
- /* 590 */
58461
+ /* 591 */
58383
58462
  /***/ (function(module, exports, __webpack_require__) {
58384
58463
 
58385
58464
  var setPrototypeOf = __webpack_require__(270);
@@ -58417,7 +58496,7 @@ function _construct(Parent, args, Class) {
58417
58496
  module.exports = _construct;
58418
58497
 
58419
58498
  /***/ }),
58420
- /* 591 */
58499
+ /* 592 */
58421
58500
  /***/ (function(module, exports, __webpack_require__) {
58422
58501
 
58423
58502
  "use strict";
@@ -58437,12 +58516,12 @@ module.exports = (promise, onFinally) => {
58437
58516
  /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(0)))
58438
58517
 
58439
58518
  /***/ }),
58440
- /* 592 */
58519
+ /* 593 */
58441
58520
  /***/ (function(module, exports, __webpack_require__) {
58442
58521
 
58443
58522
  var castPath = __webpack_require__(57),
58444
- last = __webpack_require__(593),
58445
- parent = __webpack_require__(594),
58523
+ last = __webpack_require__(594),
58524
+ parent = __webpack_require__(595),
58446
58525
  toKey = __webpack_require__(46);
58447
58526
 
58448
58527
  /**
@@ -58463,7 +58542,7 @@ module.exports = baseUnset;
58463
58542
 
58464
58543
 
58465
58544
  /***/ }),
58466
- /* 593 */
58545
+ /* 594 */
58467
58546
  /***/ (function(module, exports) {
58468
58547
 
58469
58548
  /**
@@ -58489,7 +58568,7 @@ module.exports = last;
58489
58568
 
58490
58569
 
58491
58570
  /***/ }),
58492
- /* 594 */
58571
+ /* 595 */
58493
58572
  /***/ (function(module, exports, __webpack_require__) {
58494
58573
 
58495
58574
  var baseGet = __webpack_require__(98),
@@ -58511,7 +58590,7 @@ module.exports = parent;
58511
58590
 
58512
58591
 
58513
58592
  /***/ }),
58514
- /* 595 */
58593
+ /* 596 */
58515
58594
  /***/ (function(module, exports, __webpack_require__) {
58516
58595
 
58517
58596
  var isPlainObject = __webpack_require__(135);
@@ -58533,7 +58612,7 @@ module.exports = customOmitClone;
58533
58612
 
58534
58613
 
58535
58614
  /***/ }),
58536
- /* 596 */
58615
+ /* 597 */
58537
58616
  /***/ (function(module, exports, __webpack_require__) {
58538
58617
 
58539
58618
  var baseIteratee = __webpack_require__(34),
@@ -58564,14 +58643,14 @@ module.exports = createFind;
58564
58643
 
58565
58644
 
58566
58645
  /***/ }),
58567
- /* 597 */
58646
+ /* 598 */
58568
58647
  /***/ (function(module, exports, __webpack_require__) {
58569
58648
 
58570
58649
  var SetCache = __webpack_require__(92),
58571
58650
  arrayIncludes = __webpack_require__(93),
58572
58651
  arrayIncludesWith = __webpack_require__(128),
58573
58652
  cacheHas = __webpack_require__(94),
58574
- createSet = __webpack_require__(598),
58653
+ createSet = __webpack_require__(599),
58575
58654
  setToArray = __webpack_require__(97);
58576
58655
 
58577
58656
  /** Used as the size to enable large array optimizations. */
@@ -58642,7 +58721,7 @@ module.exports = baseUniq;
58642
58721
 
58643
58722
 
58644
58723
  /***/ }),
58645
- /* 598 */
58724
+ /* 599 */
58646
58725
  /***/ (function(module, exports, __webpack_require__) {
58647
58726
 
58648
58727
  var Set = __webpack_require__(185),
@@ -58667,7 +58746,7 @@ module.exports = createSet;
58667
58746
 
58668
58747
 
58669
58748
  /***/ }),
58670
- /* 599 */
58749
+ /* 600 */
58671
58750
  /***/ (function(module, exports, __webpack_require__) {
58672
58751
 
58673
58752
  "use strict";
@@ -58766,7 +58845,7 @@ module.exports = hasValidPeerConnection;
58766
58845
  /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(0)))
58767
58846
 
58768
58847
  /***/ }),
58769
- /* 600 */
58848
+ /* 601 */
58770
58849
  /***/ (function(module, exports, __webpack_require__) {
58771
58850
 
58772
58851
  /**
@@ -58793,7 +58872,7 @@ var oldRuntime = hadRuntime && g.regeneratorRuntime;
58793
58872
  // Force reevalutation of runtime.js.
58794
58873
  g.regeneratorRuntime = undefined;
58795
58874
 
58796
- module.exports = __webpack_require__(601);
58875
+ module.exports = __webpack_require__(602);
58797
58876
 
58798
58877
  if (hadRuntime) {
58799
58878
  // Restore the original runtime.
@@ -58809,7 +58888,7 @@ if (hadRuntime) {
58809
58888
 
58810
58889
 
58811
58890
  /***/ }),
58812
- /* 601 */
58891
+ /* 602 */
58813
58892
  /***/ (function(module, exports, __webpack_require__) {
58814
58893
 
58815
58894
  /* WEBPACK VAR INJECTION */(function(Promise) {/**
@@ -59537,7 +59616,7 @@ if (hadRuntime) {
59537
59616
  /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(0)))
59538
59617
 
59539
59618
  /***/ }),
59540
- /* 602 */
59619
+ /* 603 */
59541
59620
  /***/ (function(module, exports, __webpack_require__) {
59542
59621
 
59543
59622
  "use strict";
@@ -59547,7 +59626,7 @@ const clone = __webpack_require__(36);
59547
59626
 
59548
59627
  const env = __webpack_require__(2);
59549
59628
 
59550
- const filterIceServers = __webpack_require__(603);
59629
+ const filterIceServers = __webpack_require__(604);
59551
59630
 
59552
59631
  const shouldUsePlanBSDP = __webpack_require__(73);
59553
59632
 
@@ -59571,7 +59650,7 @@ module.exports = function createPeerConnection(_ref) {
59571
59650
  /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(0)))
59572
59651
 
59573
59652
  /***/ }),
59574
- /* 603 */
59653
+ /* 604 */
59575
59654
  /***/ (function(module, exports, __webpack_require__) {
59576
59655
 
59577
59656
  "use strict";
@@ -59648,7 +59727,7 @@ module.exports = function filterIceServers(env, iceServers) {
59648
59727
  };
59649
59728
 
59650
59729
  /***/ }),
59651
- /* 604 */
59730
+ /* 605 */
59652
59731
  /***/ (function(module, exports, __webpack_require__) {
59653
59732
 
59654
59733
  "use strict";
@@ -59828,7 +59907,7 @@ module.exports = {
59828
59907
  };
59829
59908
 
59830
59909
  /***/ }),
59831
- /* 605 */
59910
+ /* 606 */
59832
59911
  /***/ (function(module, exports, __webpack_require__) {
59833
59912
 
59834
59913
  var Symbol = __webpack_require__(38),
@@ -59836,7 +59915,7 @@ var Symbol = __webpack_require__(38),
59836
59915
  getTag = __webpack_require__(40),
59837
59916
  isArrayLike = __webpack_require__(24),
59838
59917
  isString = __webpack_require__(275),
59839
- iteratorToArray = __webpack_require__(606),
59918
+ iteratorToArray = __webpack_require__(607),
59840
59919
  mapToArray = __webpack_require__(232),
59841
59920
  setToArray = __webpack_require__(97),
59842
59921
  stringToArray = __webpack_require__(262),
@@ -59892,7 +59971,7 @@ module.exports = toArray;
59892
59971
 
59893
59972
 
59894
59973
  /***/ }),
59895
- /* 606 */
59974
+ /* 607 */
59896
59975
  /***/ (function(module, exports) {
59897
59976
 
59898
59977
  /**
@@ -59916,7 +59995,7 @@ module.exports = iteratorToArray;
59916
59995
 
59917
59996
 
59918
59997
  /***/ }),
59919
- /* 607 */
59998
+ /* 608 */
59920
59999
  /***/ (function(module, exports, __webpack_require__) {
59921
60000
 
59922
60001
  var arrayMap = __webpack_require__(33);
@@ -59941,7 +60020,7 @@ module.exports = baseValues;
59941
60020
 
59942
60021
 
59943
60022
  /***/ }),
59944
- /* 608 */
60023
+ /* 609 */
59945
60024
  /***/ (function(module, exports, __webpack_require__) {
59946
60025
 
59947
60026
  "use strict";
@@ -59967,7 +60046,7 @@ module.exports = (peerConnection, completion) => {
59967
60046
  };
59968
60047
 
59969
60048
  /***/ }),
59970
- /* 609 */
60049
+ /* 610 */
59971
60050
  /***/ (function(module, exports, __webpack_require__) {
59972
60051
 
59973
60052
  "use strict";
@@ -59976,7 +60055,7 @@ module.exports = (peerConnection, completion) => {
59976
60055
  // @todo enable the following disabled rules see OPENTOK-31136 for more info
59977
60056
 
59978
60057
  /* eslint-disable no-underscore-dangle */
59979
- const promisify = __webpack_require__(610);
60058
+ const promisify = __webpack_require__(611);
59980
60059
  /*
59981
60060
  * Process incoming Ice Candidates from a remote connection.
59982
60061
  *
@@ -60121,7 +60200,7 @@ module.exports = IceCandidateProcessor;
60121
60200
  /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(0)))
60122
60201
 
60123
60202
  /***/ }),
60124
- /* 610 */
60203
+ /* 611 */
60125
60204
  /***/ (function(module, exports, __webpack_require__) {
60126
60205
 
60127
60206
  "use strict";
@@ -60146,7 +60225,7 @@ module.exports = function promisify(context, methodName) {
60146
60225
  /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(0)))
60147
60226
 
60148
60227
  /***/ }),
60149
- /* 611 */
60228
+ /* 612 */
60150
60229
  /***/ (function(module, exports, __webpack_require__) {
60151
60230
 
60152
60231
  "use strict";
@@ -60163,7 +60242,7 @@ const logging = __webpack_require__(1)('offerProcessor');
60163
60242
 
60164
60243
  const SDPHelpers = __webpack_require__(50);
60165
60244
 
60166
- const testSupportVideo = __webpack_require__(612); // Attempt to completely process +offer+. This will:
60245
+ const testSupportVideo = __webpack_require__(613); // Attempt to completely process +offer+. This will:
60167
60246
  // * set the offer as the remote description
60168
60247
  // * create an answer and
60169
60248
  // * set the new answer as the location description
@@ -60236,7 +60315,7 @@ module.exports = function offerProcessor(peerConnection, RTCPeerConnection, RTCS
60236
60315
  };
60237
60316
 
60238
60317
  /***/ }),
60239
- /* 612 */
60318
+ /* 613 */
60240
60319
  /***/ (function(module, exports, __webpack_require__) {
60241
60320
 
60242
60321
  "use strict";
@@ -60278,7 +60357,7 @@ module.exports = testSupportVideo;
60278
60357
  /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(0)))
60279
60358
 
60280
60359
  /***/ }),
60281
- /* 613 */
60360
+ /* 614 */
60282
60361
  /***/ (function(module, exports, __webpack_require__) {
60283
60362
 
60284
60363
  "use strict";
@@ -60289,7 +60368,7 @@ module.exports = testSupportVideo;
60289
60368
  /* eslint-disable no-restricted-syntax, no-prototype-builtins */
60290
60369
  const find = __webpack_require__(61);
60291
60370
 
60292
- const DataChannel = __webpack_require__(614); // Contains a collection of DataChannels for a particular RTCPeerConnection
60371
+ const DataChannel = __webpack_require__(615); // Contains a collection of DataChannels for a particular RTCPeerConnection
60293
60372
  //
60294
60373
  // @param [RTCPeerConnection] pc A native peer connection object
60295
60374
  //
@@ -60384,7 +60463,7 @@ module.exports = function PeerConnectionChannels(pc) {
60384
60463
  };
60385
60464
 
60386
60465
  /***/ }),
60387
- /* 614 */
60466
+ /* 615 */
60388
60467
  /***/ (function(module, exports, __webpack_require__) {
60389
60468
 
60390
60469
  "use strict";
@@ -60552,7 +60631,7 @@ module.exports = function DataChannel(dataChannel) {
60552
60631
  };
60553
60632
 
60554
60633
  /***/ }),
60555
- /* 615 */
60634
+ /* 616 */
60556
60635
  /***/ (function(module, exports, __webpack_require__) {
60557
60636
 
60558
60637
  "use strict";
@@ -60617,7 +60696,7 @@ module.exports = function subscribeProcessor(_ref) {
60617
60696
  };
60618
60697
 
60619
60698
  /***/ }),
60620
- /* 616 */
60699
+ /* 617 */
60621
60700
  /***/ (function(module, exports, __webpack_require__) {
60622
60701
 
60623
60702
  "use strict";
@@ -60691,7 +60770,7 @@ module.exports = {
60691
60770
  };
60692
60771
 
60693
60772
  /***/ }),
60694
- /* 617 */
60773
+ /* 618 */
60695
60774
  /***/ (function(module, exports, __webpack_require__) {
60696
60775
 
60697
60776
  "use strict";
@@ -60723,7 +60802,7 @@ const sdpHelpers = __webpack_require__(50);
60723
60802
 
60724
60803
  const getProtocolFromPriority = __webpack_require__(279);
60725
60804
 
60726
- const getLocalRelayProtocol = __webpack_require__(618);
60805
+ const getLocalRelayProtocol = __webpack_require__(619);
60727
60806
 
60728
60807
  const shouldUseStandardGetStats = __webpack_require__(102)();
60729
60808
 
@@ -61156,7 +61235,7 @@ function extendStats(stats, isPublisher) {
61156
61235
  }
61157
61236
 
61158
61237
  /***/ }),
61159
- /* 618 */
61238
+ /* 619 */
61160
61239
  /***/ (function(module, exports, __webpack_require__) {
61161
61240
 
61162
61241
  "use strict";
@@ -61197,7 +61276,7 @@ module.exports = (selectedCandidatePairId, stats) => {
61197
61276
  };
61198
61277
 
61199
61278
  /***/ }),
61200
- /* 619 */
61279
+ /* 620 */
61201
61280
  /***/ (function(module, exports, __webpack_require__) {
61202
61281
 
61203
61282
  "use strict";
@@ -61238,11 +61317,11 @@ let TruthyChangeCounter = /*#__PURE__*/function () {
61238
61317
  exports.default = TruthyChangeCounter;
61239
61318
 
61240
61319
  /***/ }),
61241
- /* 620 */
61320
+ /* 621 */
61242
61321
  /***/ (function(module, exports, __webpack_require__) {
61243
61322
 
61244
61323
  var isObject = __webpack_require__(9),
61245
- now = __webpack_require__(621),
61324
+ now = __webpack_require__(622),
61246
61325
  toNumber = __webpack_require__(228);
61247
61326
 
61248
61327
  /** Error message constants. */
@@ -61435,7 +61514,7 @@ module.exports = debounce;
61435
61514
 
61436
61515
 
61437
61516
  /***/ }),
61438
- /* 621 */
61517
+ /* 622 */
61439
61518
  /***/ (function(module, exports, __webpack_require__) {
61440
61519
 
61441
61520
  var root = __webpack_require__(14);
@@ -61464,7 +61543,7 @@ module.exports = now;
61464
61543
 
61465
61544
 
61466
61545
  /***/ }),
61467
- /* 622 */
61546
+ /* 623 */
61468
61547
  /***/ (function(module, exports, __webpack_require__) {
61469
61548
 
61470
61549
  "use strict";
@@ -61489,7 +61568,7 @@ exports.check = function (deps) {
61489
61568
  exports.once = once(() => exports.check());
61490
61569
 
61491
61570
  /***/ }),
61492
- /* 623 */
61571
+ /* 624 */
61493
61572
  /***/ (function(module, exports, __webpack_require__) {
61494
61573
 
61495
61574
  "use strict";
@@ -61620,7 +61699,7 @@ module.exports = function Archiving(options) {
61620
61699
  };
61621
61700
 
61622
61701
  /***/ }),
61623
- /* 624 */
61702
+ /* 625 */
61624
61703
  /***/ (function(module, exports, __webpack_require__) {
61625
61704
 
61626
61705
  "use strict";
@@ -61636,7 +61715,7 @@ module.exports = function (deps) {
61636
61715
  };
61637
61716
 
61638
61717
  /***/ }),
61639
- /* 625 */
61718
+ /* 626 */
61640
61719
  /***/ (function(module, exports, __webpack_require__) {
61641
61720
 
61642
61721
  "use strict";
@@ -61653,7 +61732,7 @@ const isObject = __webpack_require__(9);
61653
61732
 
61654
61733
  const promiseDelay = __webpack_require__(106);
61655
61734
 
61656
- const trackUsage = __webpack_require__(626);
61735
+ const trackUsage = __webpack_require__(627);
61657
61736
 
61658
61737
  const AnalyticsHelper = __webpack_require__(27);
61659
61738
 
@@ -62043,7 +62122,7 @@ module.exports = function getUserMediaFactory(deps) {
62043
62122
  /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(0)))
62044
62123
 
62045
62124
  /***/ }),
62046
- /* 626 */
62125
+ /* 627 */
62047
62126
  /***/ (function(module, exports, __webpack_require__) {
62048
62127
 
62049
62128
  "use strict";
@@ -62090,7 +62169,7 @@ module.exports = function (_temp) {
62090
62169
  };
62091
62170
 
62092
62171
  /***/ }),
62093
- /* 627 */
62172
+ /* 628 */
62094
62173
  /***/ (function(module, exports, __webpack_require__) {
62095
62174
 
62096
62175
  "use strict";
@@ -62098,7 +62177,7 @@ module.exports = function (_temp) {
62098
62177
 
62099
62178
  const env = __webpack_require__(2);
62100
62179
 
62101
- const _require = __webpack_require__(628),
62180
+ const _require = __webpack_require__(629),
62102
62181
  isCallbackBasedAPI = _require.isCallbackBasedAPI;
62103
62182
 
62104
62183
  let isElectronScreenSharingSource = __webpack_require__(265);
@@ -62224,7 +62303,7 @@ module.exports = function electronExtensionHelperFactory(deps) {
62224
62303
  };
62225
62304
 
62226
62305
  /***/ }),
62227
- /* 628 */
62306
+ /* 629 */
62228
62307
  /***/ (function(module, exports, __webpack_require__) {
62229
62308
 
62230
62309
  "use strict";
@@ -62242,7 +62321,7 @@ module.exports = {
62242
62321
  };
62243
62322
 
62244
62323
  /***/ }),
62245
- /* 629 */
62324
+ /* 630 */
62246
62325
  /***/ (function(module, exports, __webpack_require__) {
62247
62326
 
62248
62327
  "use strict";
@@ -62310,7 +62389,7 @@ module.exports = {
62310
62389
  };
62311
62390
 
62312
62391
  /***/ }),
62313
- /* 630 */
62392
+ /* 631 */
62314
62393
  /***/ (function(module, exports, __webpack_require__) {
62315
62394
 
62316
62395
  "use strict";
@@ -62324,7 +62403,7 @@ var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(13));
62324
62403
 
62325
62404
  var _extends2 = _interopRequireDefault(__webpack_require__(25));
62326
62405
 
62327
- const _require = __webpack_require__(631),
62406
+ const _require = __webpack_require__(632),
62328
62407
  normaliseOptions = _require.normaliseOptions;
62329
62408
 
62330
62409
  const _require2 = __webpack_require__(288),
@@ -62380,7 +62459,7 @@ module.exports = function processPubOptionsFactory(deps) {
62380
62459
 
62381
62460
  const env = deps.env || defaultEnv;
62382
62461
 
62383
- const usingOptionalMandatoryStyle = __webpack_require__(632)({
62462
+ const usingOptionalMandatoryStyle = __webpack_require__(633)({
62384
62463
  navigator: navigator || {}
62385
62464
  });
62386
62465
 
@@ -62725,7 +62804,7 @@ module.exports = function processPubOptionsFactory(deps) {
62725
62804
  };
62726
62805
 
62727
62806
  /***/ }),
62728
- /* 631 */
62807
+ /* 632 */
62729
62808
  /***/ (function(module, exports, __webpack_require__) {
62730
62809
 
62731
62810
  "use strict";
@@ -62782,7 +62861,7 @@ const normaliseOptions = (originalOptions, logPrefix, logging) => {
62782
62861
  exports.normaliseOptions = normaliseOptions;
62783
62862
 
62784
62863
  /***/ }),
62785
- /* 632 */
62864
+ /* 633 */
62786
62865
  /***/ (function(module, exports, __webpack_require__) {
62787
62866
 
62788
62867
  "use strict";
@@ -62817,7 +62896,7 @@ module.exports = function usingOptionalMandatoryStyleFactory(_temp) {
62817
62896
  };
62818
62897
 
62819
62898
  /***/ }),
62820
- /* 633 */
62899
+ /* 634 */
62821
62900
  /***/ (function(module, exports, __webpack_require__) {
62822
62901
 
62823
62902
  "use strict";
@@ -62911,7 +62990,7 @@ module.exports = function getUserMediaFactory(deps) {
62911
62990
  };
62912
62991
 
62913
62992
  /***/ }),
62914
- /* 634 */
62993
+ /* 635 */
62915
62994
  /***/ (function(module, exports, __webpack_require__) {
62916
62995
 
62917
62996
  "use strict";
@@ -62936,7 +63015,7 @@ module.exports = function destroyObj(name, obj) {
62936
63015
  };
62937
63016
 
62938
63017
  /***/ }),
62939
- /* 635 */
63018
+ /* 636 */
62940
63019
  /***/ (function(module, exports, __webpack_require__) {
62941
63020
 
62942
63021
  "use strict";
@@ -62998,7 +63077,7 @@ module.exports = el => {
62998
63077
  };
62999
63078
 
63000
63079
  /***/ }),
63001
- /* 636 */
63080
+ /* 637 */
63002
63081
  /***/ (function(module, exports, __webpack_require__) {
63003
63082
 
63004
63083
  "use strict";
@@ -63046,7 +63125,7 @@ const isVisible = domElement => {
63046
63125
  module.exports = domElement => isDomElement(domElement) && isInViewPort(domElement) && isVisible(domElement);
63047
63126
 
63048
63127
  /***/ }),
63049
- /* 637 */
63128
+ /* 638 */
63050
63129
  /***/ (function(module, exports, __webpack_require__) {
63051
63130
 
63052
63131
  "use strict";
@@ -63129,7 +63208,7 @@ module.exports = function canBeOrientatedMixin(self, getDomElementCallback, init
63129
63208
  };
63130
63209
 
63131
63210
  /***/ }),
63132
- /* 638 */
63211
+ /* 639 */
63133
63212
  /***/ (function(module, exports, __webpack_require__) {
63134
63213
 
63135
63214
  "use strict";
@@ -63214,7 +63293,7 @@ module.exports = function listenForTracksEndedFactory() {
63214
63293
  };
63215
63294
 
63216
63295
  /***/ }),
63217
- /* 639 */
63296
+ /* 640 */
63218
63297
  /***/ (function(module, exports, __webpack_require__) {
63219
63298
 
63220
63299
  var baseAssignValue = __webpack_require__(63),
@@ -63263,7 +63342,7 @@ module.exports = mapValues;
63263
63342
 
63264
63343
 
63265
63344
  /***/ }),
63266
- /* 640 */
63345
+ /* 641 */
63267
63346
  /***/ (function(module, exports, __webpack_require__) {
63268
63347
 
63269
63348
  "use strict";
@@ -63306,7 +63385,7 @@ module.exports = function watchAudioAcquisition(getStats, warningCb) {
63306
63385
  };
63307
63386
 
63308
63387
  /***/ }),
63309
- /* 641 */
63388
+ /* 642 */
63310
63389
  /***/ (function(module, exports, __webpack_require__) {
63311
63390
 
63312
63391
  "use strict";
@@ -63402,7 +63481,7 @@ module.exports = function watchSubscriberAudio(getStats, warningCb, disableAudio
63402
63481
  };
63403
63482
 
63404
63483
  /***/ }),
63405
- /* 642 */
63484
+ /* 643 */
63406
63485
  /***/ (function(module, exports, __webpack_require__) {
63407
63486
 
63408
63487
  "use strict";
@@ -63480,7 +63559,7 @@ module.exports = function reportIssueFactory(deps) {
63480
63559
  /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(0)))
63481
63560
 
63482
63561
  /***/ }),
63483
- /* 643 */
63562
+ /* 644 */
63484
63563
  /***/ (function(module, exports, __webpack_require__) {
63485
63564
 
63486
63565
  "use strict";
@@ -63508,7 +63587,7 @@ module.exports = (_ref) => {
63508
63587
  };
63509
63588
 
63510
63589
  /***/ }),
63511
- /* 644 */
63590
+ /* 645 */
63512
63591
  /***/ (function(module, exports, __webpack_require__) {
63513
63592
 
63514
63593
  "use strict";
@@ -63557,7 +63636,7 @@ module.exports = function versionGreaterThan(version1, version2) {
63557
63636
  };
63558
63637
 
63559
63638
  /***/ }),
63560
- /* 645 */
63639
+ /* 646 */
63561
63640
  /***/ (function(module, exports, __webpack_require__) {
63562
63641
 
63563
63642
  "use strict";
@@ -63695,7 +63774,7 @@ Cancellation.CANCELED = new Cancellation();
63695
63774
  Cancellation.CANCELED.internalIsCanceled = true;
63696
63775
 
63697
63776
  /***/ }),
63698
- /* 646 */
63777
+ /* 647 */
63699
63778
  /***/ (function(module, exports, __webpack_require__) {
63700
63779
 
63701
63780
  "use strict";
@@ -63739,7 +63818,7 @@ module.exports = waitForCorrectResolution;
63739
63818
  /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(0)))
63740
63819
 
63741
63820
  /***/ }),
63742
- /* 647 */
63821
+ /* 648 */
63743
63822
  /***/ (function(module, exports, __webpack_require__) {
63744
63823
 
63745
63824
  "use strict";
@@ -63780,7 +63859,7 @@ module.exports = waitForVideoToBePlaying;
63780
63859
  /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(0)))
63781
63860
 
63782
63861
  /***/ }),
63783
- /* 648 */
63862
+ /* 649 */
63784
63863
  /***/ (function(module, exports, __webpack_require__) {
63785
63864
 
63786
63865
  "use strict";
@@ -63823,7 +63902,7 @@ container) {
63823
63902
  };
63824
63903
 
63825
63904
  /***/ }),
63826
- /* 649 */
63905
+ /* 650 */
63827
63906
  /***/ (function(module, exports, __webpack_require__) {
63828
63907
 
63829
63908
  "use strict";
@@ -63895,7 +63974,7 @@ module.exports = function getOrCreateContainer(elementOrDomId, insertMode) {
63895
63974
  };
63896
63975
 
63897
63976
  /***/ }),
63898
- /* 650 */
63977
+ /* 651 */
63899
63978
  /***/ (function(module, exports, __webpack_require__) {
63900
63979
 
63901
63980
  "use strict";
@@ -63914,7 +63993,7 @@ module.exports = function ensureCSSUnit(measurement, defaultUnit) {
63914
63993
  };
63915
63994
 
63916
63995
  /***/ }),
63917
- /* 651 */
63996
+ /* 652 */
63918
63997
  /***/ (function(module, exports, __webpack_require__) {
63919
63998
 
63920
63999
  "use strict";
@@ -63956,7 +64035,7 @@ module.exports = function waitUntil(predicate, _temp) {
63956
64035
  /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(0)))
63957
64036
 
63958
64037
  /***/ }),
63959
- /* 652 */
64038
+ /* 653 */
63960
64039
  /***/ (function(module, exports, __webpack_require__) {
63961
64040
 
63962
64041
  "use strict";
@@ -63981,7 +64060,7 @@ module.exports = err => {
63981
64060
  };
63982
64061
 
63983
64062
  /***/ }),
63984
- /* 653 */
64063
+ /* 654 */
63985
64064
  /***/ (function(module, exports, __webpack_require__) {
63986
64065
 
63987
64066
  "use strict";
@@ -64051,7 +64130,7 @@ module.exports = (_ref) => {
64051
64130
  };
64052
64131
 
64053
64132
  /***/ }),
64054
- /* 654 */
64133
+ /* 655 */
64055
64134
  /***/ (function(module, exports, __webpack_require__) {
64056
64135
 
64057
64136
  "use strict";
@@ -64062,7 +64141,7 @@ const GetAudioLevelSampler = __webpack_require__(253);
64062
64141
 
64063
64142
  const WebAudioAudioLevelSampler = __webpack_require__(145);
64064
64143
 
64065
- const hasSynchronizationSourcesCapability = __webpack_require__(655);
64144
+ const hasSynchronizationSourcesCapability = __webpack_require__(656);
64066
64145
 
64067
64146
  const hasAudioOutputLevelStatCapability = __webpack_require__(301);
64068
64147
 
@@ -64070,7 +64149,7 @@ const hasRemoteStreamsWithWebAudio = __webpack_require__(302);
64070
64149
 
64071
64150
  const getAudioContext = __webpack_require__(158)();
64072
64151
 
64073
- const isAudioContext = __webpack_require__(656);
64152
+ const isAudioContext = __webpack_require__(657);
64074
64153
 
64075
64154
  const logging = __webpack_require__(1)('Subscriber');
64076
64155
 
@@ -64108,7 +64187,7 @@ module.exports = function (peerConnection, deps) {
64108
64187
  };
64109
64188
 
64110
64189
  /***/ }),
64111
- /* 655 */
64190
+ /* 656 */
64112
64191
  /***/ (function(module, exports, __webpack_require__) {
64113
64192
 
64114
64193
  "use strict";
@@ -64132,7 +64211,7 @@ module.exports = function (deps) {
64132
64211
  };
64133
64212
 
64134
64213
  /***/ }),
64135
- /* 656 */
64214
+ /* 657 */
64136
64215
  /***/ (function(module, exports, __webpack_require__) {
64137
64216
 
64138
64217
  "use strict";
@@ -64141,7 +64220,7 @@ module.exports = function (deps) {
64141
64220
  module.exports = audioContext => (typeof window !== undefined ? window : global).AudioContext && audioContext instanceof (typeof window !== undefined ? window : global).AudioContext || (typeof window !== undefined ? window : global).webkitAudioContext && audioContext instanceof (typeof window !== undefined ? window : global).webkitAudioContext;
64142
64221
 
64143
64222
  /***/ }),
64144
- /* 657 */
64223
+ /* 658 */
64145
64224
  /***/ (function(module, exports, __webpack_require__) {
64146
64225
 
64147
64226
  "use strict";
@@ -64204,7 +64283,7 @@ module.exports = function VideoDisabledIndicator(options) {
64204
64283
  };
64205
64284
 
64206
64285
  /***/ }),
64207
- /* 658 */
64286
+ /* 659 */
64208
64287
  /***/ (function(module, exports, __webpack_require__) {
64209
64288
 
64210
64289
  "use strict";
@@ -64254,7 +64333,7 @@ module.exports = function AudioBlockedIndicator(options) {
64254
64333
  };
64255
64334
 
64256
64335
  /***/ }),
64257
- /* 659 */
64336
+ /* 660 */
64258
64337
  /***/ (function(module, exports, __webpack_require__) {
64259
64338
 
64260
64339
  "use strict";
@@ -64301,7 +64380,7 @@ module.exports = function VideoUnsupportedIndicator(options) {
64301
64380
  };
64302
64381
 
64303
64382
  /***/ }),
64304
- /* 660 */
64383
+ /* 661 */
64305
64384
  /***/ (function(module, exports, __webpack_require__) {
64306
64385
 
64307
64386
  "use strict";
@@ -64387,7 +64466,7 @@ const watchFrameRate = function watchFrameRate(getStats, delay) {
64387
64466
  module.exports = watchFrameRate;
64388
64467
 
64389
64468
  /***/ }),
64390
- /* 661 */
64469
+ /* 662 */
64391
64470
  /***/ (function(module, exports, __webpack_require__) {
64392
64471
 
64393
64472
  "use strict";
@@ -64416,7 +64495,7 @@ module.exports = (_ref) => {
64416
64495
  };
64417
64496
 
64418
64497
  /***/ }),
64419
- /* 662 */
64498
+ /* 663 */
64420
64499
  /***/ (function(module, exports, __webpack_require__) {
64421
64500
 
64422
64501
  "use strict";
@@ -64460,7 +64539,7 @@ module.exports = (_ref) => {
64460
64539
  };
64461
64540
 
64462
64541
  /***/ }),
64463
- /* 663 */
64542
+ /* 664 */
64464
64543
  /***/ (function(module, exports, __webpack_require__) {
64465
64544
 
64466
64545
  "use strict";
@@ -64489,10 +64568,10 @@ module.exports = (_ref) => {
64489
64568
  };
64490
64569
 
64491
64570
  /***/ }),
64492
- /* 664 */
64571
+ /* 665 */
64493
64572
  /***/ (function(module, exports, __webpack_require__) {
64494
64573
 
64495
- var createCompounder = __webpack_require__(665),
64574
+ var createCompounder = __webpack_require__(666),
64496
64575
  upperFirst = __webpack_require__(259);
64497
64576
 
64498
64577
  /**
@@ -64524,12 +64603,12 @@ module.exports = startCase;
64524
64603
 
64525
64604
 
64526
64605
  /***/ }),
64527
- /* 665 */
64606
+ /* 666 */
64528
64607
  /***/ (function(module, exports, __webpack_require__) {
64529
64608
 
64530
- var arrayReduce = __webpack_require__(666),
64531
- deburr = __webpack_require__(667),
64532
- words = __webpack_require__(670);
64609
+ var arrayReduce = __webpack_require__(667),
64610
+ deburr = __webpack_require__(668),
64611
+ words = __webpack_require__(671);
64533
64612
 
64534
64613
  /** Used to compose unicode capture groups. */
64535
64614
  var rsApos = "['\u2019]";
@@ -64554,7 +64633,7 @@ module.exports = createCompounder;
64554
64633
 
64555
64634
 
64556
64635
  /***/ }),
64557
- /* 666 */
64636
+ /* 667 */
64558
64637
  /***/ (function(module, exports) {
64559
64638
 
64560
64639
  /**
@@ -64586,10 +64665,10 @@ module.exports = arrayReduce;
64586
64665
 
64587
64666
 
64588
64667
  /***/ }),
64589
- /* 667 */
64668
+ /* 668 */
64590
64669
  /***/ (function(module, exports, __webpack_require__) {
64591
64670
 
64592
- var deburrLetter = __webpack_require__(668),
64671
+ var deburrLetter = __webpack_require__(669),
64593
64672
  toString = __webpack_require__(58);
64594
64673
 
64595
64674
  /** Used to match Latin Unicode letters (excluding mathematical operators). */
@@ -64637,10 +64716,10 @@ module.exports = deburr;
64637
64716
 
64638
64717
 
64639
64718
  /***/ }),
64640
- /* 668 */
64719
+ /* 669 */
64641
64720
  /***/ (function(module, exports, __webpack_require__) {
64642
64721
 
64643
- var basePropertyOf = __webpack_require__(669);
64722
+ var basePropertyOf = __webpack_require__(670);
64644
64723
 
64645
64724
  /** Used to map Latin Unicode letters to basic Latin letters. */
64646
64725
  var deburredLetters = {
@@ -64714,7 +64793,7 @@ module.exports = deburrLetter;
64714
64793
 
64715
64794
 
64716
64795
  /***/ }),
64717
- /* 669 */
64796
+ /* 670 */
64718
64797
  /***/ (function(module, exports) {
64719
64798
 
64720
64799
  /**
@@ -64734,13 +64813,13 @@ module.exports = basePropertyOf;
64734
64813
 
64735
64814
 
64736
64815
  /***/ }),
64737
- /* 670 */
64816
+ /* 671 */
64738
64817
  /***/ (function(module, exports, __webpack_require__) {
64739
64818
 
64740
- var asciiWords = __webpack_require__(671),
64741
- hasUnicodeWord = __webpack_require__(672),
64819
+ var asciiWords = __webpack_require__(672),
64820
+ hasUnicodeWord = __webpack_require__(673),
64742
64821
  toString = __webpack_require__(58),
64743
- unicodeWords = __webpack_require__(673);
64822
+ unicodeWords = __webpack_require__(674);
64744
64823
 
64745
64824
  /**
64746
64825
  * Splits `string` into an array of its words.
@@ -64775,7 +64854,7 @@ module.exports = words;
64775
64854
 
64776
64855
 
64777
64856
  /***/ }),
64778
- /* 671 */
64857
+ /* 672 */
64779
64858
  /***/ (function(module, exports) {
64780
64859
 
64781
64860
  /** Used to match words composed of alphanumeric characters. */
@@ -64796,7 +64875,7 @@ module.exports = asciiWords;
64796
64875
 
64797
64876
 
64798
64877
  /***/ }),
64799
- /* 672 */
64878
+ /* 673 */
64800
64879
  /***/ (function(module, exports) {
64801
64880
 
64802
64881
  /** Used to detect strings that need a more robust regexp to match words. */
@@ -64817,7 +64896,7 @@ module.exports = hasUnicodeWord;
64817
64896
 
64818
64897
 
64819
64898
  /***/ }),
64820
- /* 673 */
64899
+ /* 674 */
64821
64900
  /***/ (function(module, exports) {
64822
64901
 
64823
64902
  /** Used to compose unicode character classes. */
@@ -64892,7 +64971,7 @@ module.exports = unicodeWords;
64892
64971
 
64893
64972
 
64894
64973
  /***/ }),
64895
- /* 674 */
64974
+ /* 675 */
64896
64975
  /***/ (function(module, exports, __webpack_require__) {
64897
64976
 
64898
64977
  "use strict";
@@ -64912,7 +64991,7 @@ module.exports = (peerConnection, activeState) => {
64912
64991
  };
64913
64992
 
64914
64993
  /***/ }),
64915
- /* 675 */
64994
+ /* 676 */
64916
64995
  /***/ (function(module, exports, __webpack_require__) {
64917
64996
 
64918
64997
  "use strict";
@@ -64924,7 +65003,7 @@ const pick = __webpack_require__(47);
64924
65003
  module.exports = x => pick(x, ['audioDeviceId', 'audioFallbackEnabled', 'audioSource', 'channels', 'classNames', 'constraints', 'disableAudioProcessing', 'echoCancellation', 'noiseSuppression', 'autoGainControl', 'enableRenegotiation', 'enableStereo', 'facingMode', 'fitMode', 'frameRate', 'height', 'insertDefaultUI', 'insertMode', 'audioBitrate', 'maxResolution', 'minVideoBitrate', 'mirror', 'name', 'publishAudio', 'publishVideo', 'resolution', 'showControls', 'style', 'videoContentHint', 'videoDeviceId', 'videoDimensions', 'videoSource', 'width']);
64925
65004
 
64926
65005
  /***/ }),
64927
- /* 676 */
65006
+ /* 677 */
64928
65007
  /***/ (function(module, exports, __webpack_require__) {
64929
65008
 
64930
65009
  "use strict";
@@ -64991,7 +65070,7 @@ module.exports = (_ref) => {
64991
65070
  };
64992
65071
 
64993
65072
  /***/ }),
64994
- /* 677 */
65073
+ /* 678 */
64995
65074
  /***/ (function(module, exports, __webpack_require__) {
64996
65075
 
64997
65076
  "use strict";
@@ -65059,7 +65138,7 @@ module.exports = function blockCallsUntilComplete(fn) {
65059
65138
  };
65060
65139
 
65061
65140
  /***/ }),
65062
- /* 678 */
65141
+ /* 679 */
65063
65142
  /***/ (function(module, exports, __webpack_require__) {
65064
65143
 
65065
65144
  "use strict";
@@ -65090,7 +65169,7 @@ module.exports = function createCanvasVideoTrack(dimensions) {
65090
65169
  };
65091
65170
 
65092
65171
  /***/ }),
65093
- /* 679 */
65172
+ /* 680 */
65094
65173
  /***/ (function(module, exports, __webpack_require__) {
65095
65174
 
65096
65175
  "use strict";
@@ -65143,7 +65222,7 @@ module.exports = (stream, videoDevices) => {
65143
65222
  };
65144
65223
 
65145
65224
  /***/ }),
65146
- /* 680 */
65225
+ /* 681 */
65147
65226
  /***/ (function(module, exports, __webpack_require__) {
65148
65227
 
65149
65228
  "use strict";
@@ -65163,7 +65242,7 @@ module.exports = error => {
65163
65242
  };
65164
65243
 
65165
65244
  /***/ }),
65166
- /* 681 */
65245
+ /* 682 */
65167
65246
  /***/ (function(module, exports, __webpack_require__) {
65168
65247
 
65169
65248
  "use strict";
@@ -65174,7 +65253,7 @@ const isNullOrFalse = value => value === null || value === false;
65174
65253
  module.exports = isNullOrFalse;
65175
65254
 
65176
65255
  /***/ }),
65177
- /* 682 */
65256
+ /* 683 */
65178
65257
  /***/ (function(module, exports, __webpack_require__) {
65179
65258
 
65180
65259
  "use strict";
@@ -65190,10 +65269,10 @@ module.exports = properties => {
65190
65269
  };
65191
65270
 
65192
65271
  /***/ }),
65193
- /* 683 */
65272
+ /* 684 */
65194
65273
  /***/ (function(module, exports, __webpack_require__) {
65195
65274
 
65196
- var baseFindKey = __webpack_require__(684),
65275
+ var baseFindKey = __webpack_require__(685),
65197
65276
  baseForOwn = __webpack_require__(99),
65198
65277
  baseIteratee = __webpack_require__(34);
65199
65278
 
@@ -65240,7 +65319,7 @@ module.exports = findKey;
65240
65319
 
65241
65320
 
65242
65321
  /***/ }),
65243
- /* 684 */
65322
+ /* 685 */
65244
65323
  /***/ (function(module, exports) {
65245
65324
 
65246
65325
  /**
@@ -65269,7 +65348,7 @@ module.exports = baseFindKey;
65269
65348
 
65270
65349
 
65271
65350
  /***/ }),
65272
- /* 685 */
65351
+ /* 686 */
65273
65352
  /***/ (function(module, exports, __webpack_require__) {
65274
65353
 
65275
65354
  "use strict";
@@ -65344,7 +65423,7 @@ module.exports = (_ref) => {
65344
65423
  /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(0)))
65345
65424
 
65346
65425
  /***/ }),
65347
- /* 686 */
65426
+ /* 687 */
65348
65427
  /***/ (function(module, exports, __webpack_require__) {
65349
65428
 
65350
65429
  "use strict";
@@ -65385,7 +65464,7 @@ module.exports = (_ref) => {
65385
65464
  };
65386
65465
 
65387
65466
  /***/ }),
65388
- /* 687 */
65467
+ /* 688 */
65389
65468
  /***/ (function(module, exports, __webpack_require__) {
65390
65469
 
65391
65470
  "use strict";
@@ -65416,7 +65495,7 @@ module.exports = function convertAnvilErrorCode(code) {
65416
65495
  };
65417
65496
 
65418
65497
  /***/ }),
65419
- /* 688 */
65498
+ /* 689 */
65420
65499
  /***/ (function(module, exports, __webpack_require__) {
65421
65500
 
65422
65501
  "use strict";
@@ -65454,7 +65533,7 @@ module.exports = {
65454
65533
  };
65455
65534
 
65456
65535
  /***/ }),
65457
- /* 689 */
65536
+ /* 690 */
65458
65537
  /***/ (function(module, exports, __webpack_require__) {
65459
65538
 
65460
65539
  "use strict";
@@ -65477,7 +65556,7 @@ var _uuid = _interopRequireDefault(__webpack_require__(19));
65477
65556
 
65478
65557
  var _serializeMessage = _interopRequireDefault(__webpack_require__(312));
65479
65558
 
65480
- var _defaultRumorSocket = _interopRequireDefault(__webpack_require__(690));
65559
+ var _defaultRumorSocket = _interopRequireDefault(__webpack_require__(691));
65481
65560
 
65482
65561
  // @todo enable the following disabled rules see OPENTOK-31136 for more info
65483
65562
 
@@ -65497,7 +65576,7 @@ function RaptorSocketFactory(deps) {
65497
65576
 
65498
65577
  const hasIceRestartsCapability = deps.hasIceRestartsCapability || __webpack_require__(311);
65499
65578
 
65500
- const hasRenegotiationCapability = deps.hasRenegotiationCapability || __webpack_require__(706);
65579
+ const hasRenegotiationCapability = deps.hasRenegotiationCapability || __webpack_require__(707);
65501
65580
 
65502
65581
  const logging = deps.logging || __webpack_require__(1)('RaptorSocket');
65503
65582
 
@@ -65509,7 +65588,7 @@ function RaptorSocketFactory(deps) {
65509
65588
 
65510
65589
  const Signal = deps.Signal || __webpack_require__(316);
65511
65590
 
65512
- const SignalError = deps.SignalError || __webpack_require__(711); // The Dispatcher bit is purely to make testing simpler, it defaults to a new Dispatcher so in
65591
+ const SignalError = deps.SignalError || __webpack_require__(712); // The Dispatcher bit is purely to make testing simpler, it defaults to a new Dispatcher so in
65513
65592
  // normal operation you would omit it.
65514
65593
 
65515
65594
 
@@ -65980,7 +66059,7 @@ function RaptorSocketFactory(deps) {
65980
66059
  /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(0)))
65981
66060
 
65982
66061
  /***/ }),
65983
- /* 690 */
66062
+ /* 691 */
65984
66063
  /***/ (function(module, exports, __webpack_require__) {
65985
66064
 
65986
66065
  "use strict";
@@ -65993,15 +66072,15 @@ exports.default = defaultRumorSocket;
65993
66072
 
65994
66073
  var _events = _interopRequireDefault(__webpack_require__(41));
65995
66074
 
65996
- var _createCounter = _interopRequireDefault(__webpack_require__(691));
66075
+ var _createCounter = _interopRequireDefault(__webpack_require__(692));
65997
66076
 
65998
66077
  var _log = _interopRequireDefault(__webpack_require__(1));
65999
66078
 
66000
- var _ReconnectableSocket = _interopRequireDefault(__webpack_require__(692));
66079
+ var _ReconnectableSocket = _interopRequireDefault(__webpack_require__(693));
66001
66080
 
66002
- var _RumorSocket = _interopRequireDefault(__webpack_require__(697));
66081
+ var _RumorSocket = _interopRequireDefault(__webpack_require__(698));
66003
66082
 
66004
- var _WebSocket = _interopRequireDefault(__webpack_require__(702));
66083
+ var _WebSocket = _interopRequireDefault(__webpack_require__(703));
66005
66084
 
66006
66085
  /* eslint-disable no-underscore-dangle */
66007
66086
  function defaultRumorSocket(_temp) {
@@ -66026,7 +66105,7 @@ function defaultRumorSocket(_temp) {
66026
66105
  }
66027
66106
 
66028
66107
  /***/ }),
66029
- /* 691 */
66108
+ /* 692 */
66030
66109
  /***/ (function(module, exports, __webpack_require__) {
66031
66110
 
66032
66111
  "use strict";
@@ -66044,7 +66123,7 @@ function createCounter() {
66044
66123
  }
66045
66124
 
66046
66125
  /***/ }),
66047
- /* 692 */
66126
+ /* 693 */
66048
66127
  /***/ (function(module, exports, __webpack_require__) {
66049
66128
 
66050
66129
  "use strict";
@@ -66071,13 +66150,13 @@ var _logEvents = _interopRequireDefault(__webpack_require__(313));
66071
66150
 
66072
66151
  var _socketCloseCodes = __webpack_require__(76);
66073
66152
 
66074
- var _Timer = _interopRequireDefault(__webpack_require__(693));
66153
+ var _Timer = _interopRequireDefault(__webpack_require__(694));
66075
66154
 
66076
66155
  var _eventHelper = _interopRequireDefault(__webpack_require__(62));
66077
66156
 
66078
- var _createReadyStateMachine = _interopRequireDefault(__webpack_require__(694));
66157
+ var _createReadyStateMachine = _interopRequireDefault(__webpack_require__(695));
66079
66158
 
66080
- var _drainWebSocket = _interopRequireDefault(__webpack_require__(696));
66159
+ var _drainWebSocket = _interopRequireDefault(__webpack_require__(697));
66081
66160
 
66082
66161
  /* eslint-disable no-underscore-dangle, no-constant-condition */
66083
66162
  const removeReturnVal = fn => function () {
@@ -66527,7 +66606,7 @@ var _default = (_ref) => {
66527
66606
  exports.default = _default;
66528
66607
 
66529
66608
  /***/ }),
66530
- /* 693 */
66609
+ /* 694 */
66531
66610
  /***/ (function(module, exports, __webpack_require__) {
66532
66611
 
66533
66612
  "use strict";
@@ -66594,7 +66673,7 @@ let Timer = /*#__PURE__*/function () {
66594
66673
  exports.default = Timer;
66595
66674
 
66596
66675
  /***/ }),
66597
- /* 694 */
66676
+ /* 695 */
66598
66677
  /***/ (function(module, exports, __webpack_require__) {
66599
66678
 
66600
66679
  "use strict";
@@ -66607,7 +66686,7 @@ exports.default = void 0;
66607
66686
 
66608
66687
  var _javascriptStateMachine = _interopRequireDefault(__webpack_require__(305));
66609
66688
 
66610
- var _elapsed = _interopRequireDefault(__webpack_require__(695));
66689
+ var _elapsed = _interopRequireDefault(__webpack_require__(696));
66611
66690
 
66612
66691
  var _socketCloseCodes = __webpack_require__(76);
66613
66692
 
@@ -66674,7 +66753,7 @@ var _default = (_ref) => {
66674
66753
  exports.default = _default;
66675
66754
 
66676
66755
  /***/ }),
66677
- /* 695 */
66756
+ /* 696 */
66678
66757
  /***/ (function(module, exports, __webpack_require__) {
66679
66758
 
66680
66759
  "use strict";
@@ -66689,7 +66768,7 @@ module.exports = timeInMilliseconds => {
66689
66768
  };
66690
66769
 
66691
66770
  /***/ }),
66692
- /* 696 */
66771
+ /* 697 */
66693
66772
  /***/ (function(module, exports, __webpack_require__) {
66694
66773
 
66695
66774
  "use strict";
@@ -66753,7 +66832,7 @@ var _default = /*#__PURE__*/function () {
66753
66832
  exports.default = _default;
66754
66833
 
66755
66834
  /***/ }),
66756
- /* 697 */
66835
+ /* 698 */
66757
66836
  /***/ (function(module, exports, __webpack_require__) {
66758
66837
 
66759
66838
  "use strict";
@@ -66778,11 +66857,11 @@ var _uuid = _interopRequireDefault(__webpack_require__(19));
66778
66857
 
66779
66858
  var _logEvents = _interopRequireDefault(__webpack_require__(313));
66780
66859
 
66781
- var _RumorMessage = _interopRequireDefault(__webpack_require__(698));
66860
+ var _RumorMessage = _interopRequireDefault(__webpack_require__(699));
66782
66861
 
66783
66862
  var RumorMessageTypes = _interopRequireWildcard(__webpack_require__(171));
66784
66863
 
66785
- var _SocketError = _interopRequireDefault(__webpack_require__(701));
66864
+ var _SocketError = _interopRequireDefault(__webpack_require__(702));
66786
66865
 
66787
66866
  var _socketCloseCodes = __webpack_require__(76);
66788
66867
 
@@ -67110,7 +67189,7 @@ var _default = (_ref) => {
67110
67189
  exports.default = _default;
67111
67190
 
67112
67191
  /***/ }),
67113
- /* 698 */
67192
+ /* 699 */
67114
67193
  /***/ (function(module, exports, __webpack_require__) {
67115
67194
 
67116
67195
  "use strict";
@@ -67127,7 +67206,7 @@ var _defineProperty2 = _interopRequireDefault(__webpack_require__(18));
67127
67206
 
67128
67207
  var _uuid = _interopRequireDefault(__webpack_require__(19));
67129
67208
 
67130
- var _encoding = __webpack_require__(699);
67209
+ var _encoding = __webpack_require__(700);
67131
67210
 
67132
67211
  var RumorMessageTypes = _interopRequireWildcard(__webpack_require__(171));
67133
67212
 
@@ -67352,7 +67431,7 @@ let RumorMessage = /*#__PURE__*/function () {
67352
67431
  exports.default = RumorMessage;
67353
67432
 
67354
67433
  /***/ }),
67355
- /* 699 */
67434
+ /* 700 */
67356
67435
  /***/ (function(module, exports, __webpack_require__) {
67357
67436
 
67358
67437
  "use strict";
@@ -67363,7 +67442,7 @@ var _interopRequireWildcard = __webpack_require__(108);
67363
67442
  exports.__esModule = true;
67364
67443
  exports.TextDecoder = exports.TextEncoder = void 0;
67365
67444
 
67366
- var TextEncoding = _interopRequireWildcard(__webpack_require__(700));
67445
+ var TextEncoding = _interopRequireWildcard(__webpack_require__(701));
67367
67446
 
67368
67447
  // Unfortunately it looks like the text-encoding module always returns its implementations of
67369
67448
  // TextEncoder and TextDecoder, so we wrap it here to expose the global (window) ones, if available.
@@ -67373,7 +67452,7 @@ const TextDecoder = (typeof window !== undefined ? window : global).TextDecoder
67373
67452
  exports.TextDecoder = TextDecoder;
67374
67453
 
67375
67454
  /***/ }),
67376
- /* 700 */
67455
+ /* 701 */
67377
67456
  /***/ (function(__webpack_module__, __webpack_exports__, __webpack_require__) {
67378
67457
 
67379
67458
  "use strict";
@@ -68048,7 +68127,7 @@ function UTF8Encoder(options) {
68048
68127
 
68049
68128
 
68050
68129
  /***/ }),
68051
- /* 701 */
68130
+ /* 702 */
68052
68131
  /***/ (function(module, exports, __webpack_require__) {
68053
68132
 
68054
68133
  "use strict";
@@ -68083,7 +68162,7 @@ let SocketError = function SocketError(code, message) {
68083
68162
  exports.default = SocketError;
68084
68163
 
68085
68164
  /***/ }),
68086
- /* 702 */
68165
+ /* 703 */
68087
68166
  /***/ (function(module, exports, __webpack_require__) {
68088
68167
 
68089
68168
  "use strict";
@@ -68094,7 +68173,7 @@ var _interopRequireDefault = __webpack_require__(3);
68094
68173
  exports.__esModule = true;
68095
68174
  exports.default = void 0;
68096
68175
 
68097
- var _ws = _interopRequireDefault(__webpack_require__(703));
68176
+ var _ws = _interopRequireDefault(__webpack_require__(704));
68098
68177
 
68099
68178
  var _default = (() => {
68100
68179
  if ((typeof window !== undefined ? window : global).WebSocket) {
@@ -68107,7 +68186,7 @@ var _default = (() => {
68107
68186
  exports.default = _default;
68108
68187
 
68109
68188
  /***/ }),
68110
- /* 703 */
68189
+ /* 704 */
68111
68190
  /***/ (function(module, exports, __webpack_require__) {
68112
68191
 
68113
68192
  "use strict";
@@ -68122,13 +68201,13 @@ module.exports = function () {
68122
68201
 
68123
68202
 
68124
68203
  /***/ }),
68125
- /* 704 */
68204
+ /* 705 */
68126
68205
  /***/ (function(module, exports, __webpack_require__) {
68127
68206
 
68128
68207
  "use strict";
68129
68208
 
68130
68209
 
68131
- const deserializeMessage = __webpack_require__(705);
68210
+ const deserializeMessage = __webpack_require__(706);
68132
68211
 
68133
68212
  module.exports = function unboxFromRumorMessage(rumorMessage) {
68134
68213
  const message = deserializeMessage(rumorMessage.data);
@@ -68138,7 +68217,7 @@ module.exports = function unboxFromRumorMessage(rumorMessage) {
68138
68217
  };
68139
68218
 
68140
68219
  /***/ }),
68141
- /* 705 */
68220
+ /* 706 */
68142
68221
  /***/ (function(module, exports, __webpack_require__) {
68143
68222
 
68144
68223
  "use strict";
@@ -68193,7 +68272,7 @@ module.exports = function deserializeMessage(msg) {
68193
68272
  };
68194
68273
 
68195
68274
  /***/ }),
68196
- /* 706 */
68275
+ /* 707 */
68197
68276
  /***/ (function(module, exports, __webpack_require__) {
68198
68277
 
68199
68278
  "use strict";
@@ -68207,7 +68286,7 @@ const hasOpenTokSupport = __webpack_require__(60).once;
68207
68286
  module.exports = () => hasOpenTokSupport() && ['Chrome', 'Firefox', 'Safari'].indexOf(name) > -1;
68208
68287
 
68209
68288
  /***/ }),
68210
- /* 707 */
68289
+ /* 708 */
68211
68290
  /***/ (function(module, exports, __webpack_require__) {
68212
68291
 
68213
68292
  "use strict";
@@ -68228,7 +68307,7 @@ const hasOpenTokSupport = __webpack_require__(60).once; // TODO Remove all trans
68228
68307
  module.exports = () => hasOpenTokSupport() && (env.name === 'Chrome' || env.name === 'Firefox' || env.name === 'Node' || env.name === 'Safari' || env.name === 'Edge');
68229
68308
 
68230
68309
  /***/ }),
68231
- /* 708 */
68310
+ /* 709 */
68232
68311
  /***/ (function(module, exports, __webpack_require__) {
68233
68312
 
68234
68313
  "use strict";
@@ -68243,7 +68322,7 @@ const hasOpenTokSupport = __webpack_require__(60).once; // Indicates if the brow
68243
68322
  module.exports = () => hasOpenTokSupport();
68244
68323
 
68245
68324
  /***/ }),
68246
- /* 709 */
68325
+ /* 710 */
68247
68326
  /***/ (function(module, exports, __webpack_require__) {
68248
68327
 
68249
68328
  "use strict";
@@ -68252,7 +68331,7 @@ module.exports = () => hasOpenTokSupport();
68252
68331
  module.exports = 'DTLS_SRTP';
68253
68332
 
68254
68333
  /***/ }),
68255
- /* 710 */
68334
+ /* 711 */
68256
68335
  /***/ (function(module, exports, __webpack_require__) {
68257
68336
 
68258
68337
  "use strict";
@@ -68266,7 +68345,7 @@ module.exports = function capabilitiesFromHash(_ref) {
68266
68345
  };
68267
68346
 
68268
68347
  /***/ }),
68269
- /* 711 */
68348
+ /* 712 */
68270
68349
  /***/ (function(module, exports, __webpack_require__) {
68271
68350
 
68272
68351
  "use strict";
@@ -68280,7 +68359,7 @@ module.exports = function SignalError(code, message) {
68280
68359
  };
68281
68360
 
68282
68361
  /***/ }),
68283
- /* 712 */
68362
+ /* 713 */
68284
68363
  /***/ (function(module, exports, __webpack_require__) {
68285
68364
 
68286
68365
  "use strict";
@@ -68329,7 +68408,7 @@ const DelayedEventQueue = function DelayedEventQueue(eventDispatcher) {
68329
68408
  module.exports = DelayedEventQueue;
68330
68409
 
68331
68410
  /***/ }),
68332
- /* 713 */
68411
+ /* 714 */
68333
68412
  /***/ (function(module, exports, __webpack_require__) {
68334
68413
 
68335
68414
  "use strict";
@@ -68351,9 +68430,9 @@ const SessionInfo = __webpack_require__(141);
68351
68430
 
68352
68431
  const ExceptionCodes = __webpack_require__(8);
68353
68432
 
68354
- const mapErrorCodeToName = __webpack_require__(714);
68433
+ const mapErrorCodeToName = __webpack_require__(715);
68355
68434
 
68356
- const mapStatusCodeToErrorCode = __webpack_require__(715);
68435
+ const mapStatusCodeToErrorCode = __webpack_require__(716);
68357
68436
 
68358
68437
  const promiseEndeavour = __webpack_require__(289).default;
68359
68438
 
@@ -68502,7 +68581,7 @@ function getSessionInfoFactory(_temp) {
68502
68581
  module.exports = getSessionInfoFactory;
68503
68582
 
68504
68583
  /***/ }),
68505
- /* 714 */
68584
+ /* 715 */
68506
68585
  /***/ (function(module, exports, __webpack_require__) {
68507
68586
 
68508
68587
  "use strict";
@@ -68538,7 +68617,7 @@ function mapErrorCodeToName(code) {
68538
68617
  module.exports = mapErrorCodeToName;
68539
68618
 
68540
68619
  /***/ }),
68541
- /* 715 */
68620
+ /* 716 */
68542
68621
  /***/ (function(module, exports, __webpack_require__) {
68543
68622
 
68544
68623
  "use strict";
@@ -68566,7 +68645,7 @@ function mapStatusCodeToErrorCode(code) {
68566
68645
  module.exports = mapStatusCodeToErrorCode;
68567
68646
 
68568
68647
  /***/ }),
68569
- /* 716 */
68648
+ /* 717 */
68570
68649
  /***/ (function(module, exports, __webpack_require__) {
68571
68650
 
68572
68651
  "use strict";
@@ -68680,7 +68759,7 @@ module.exports = function initSessionFactory(deps) {
68680
68759
  };
68681
68760
 
68682
68761
  /***/ }),
68683
- /* 717 */
68762
+ /* 718 */
68684
68763
  /***/ (function(module, exports, __webpack_require__) {
68685
68764
 
68686
68765
  "use strict";
@@ -68692,7 +68771,7 @@ var _regenerator = _interopRequireDefault(__webpack_require__(12));
68692
68771
 
68693
68772
  var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(13));
68694
68773
 
68695
- const difference = __webpack_require__(718);
68774
+ const difference = __webpack_require__(719);
68696
68775
 
68697
68776
  const uniq = __webpack_require__(273);
68698
68777
 
@@ -68877,10 +68956,10 @@ const getSupportedCodecs = /*#__PURE__*/function () {
68877
68956
  module.exports = getSupportedCodecs;
68878
68957
 
68879
68958
  /***/ }),
68880
- /* 718 */
68959
+ /* 719 */
68881
68960
  /***/ (function(module, exports, __webpack_require__) {
68882
68961
 
68883
- var baseDifference = __webpack_require__(719),
68962
+ var baseDifference = __webpack_require__(720),
68884
68963
  baseFlatten = __webpack_require__(237),
68885
68964
  baseRest = __webpack_require__(87),
68886
68965
  isArrayLikeObject = __webpack_require__(129);
@@ -68916,7 +68995,7 @@ module.exports = difference;
68916
68995
 
68917
68996
 
68918
68997
  /***/ }),
68919
- /* 719 */
68998
+ /* 720 */
68920
68999
  /***/ (function(module, exports, __webpack_require__) {
68921
69000
 
68922
69001
  var SetCache = __webpack_require__(92),
@@ -68989,7 +69068,7 @@ module.exports = baseDifference;
68989
69068
 
68990
69069
 
68991
69070
  /***/ }),
68992
- /* 720 */
69071
+ /* 721 */
68993
69072
  /***/ (function(module, exports, __webpack_require__) {
68994
69073
 
68995
69074
  "use strict";
@@ -69041,7 +69120,7 @@ module.exports = function getDevices(callback) {
69041
69120
  };
69042
69121
 
69043
69122
  /***/ }),
69044
- /* 721 */
69123
+ /* 722 */
69045
69124
  /***/ (function(module, exports, __webpack_require__) {
69046
69125
 
69047
69126
  "use strict";
@@ -69144,7 +69223,7 @@ module.exports = function (deps) {
69144
69223
  };
69145
69224
 
69146
69225
  /***/ }),
69147
- /* 722 */
69226
+ /* 723 */
69148
69227
  /***/ (function(module, exports, __webpack_require__) {
69149
69228
 
69150
69229
  "use strict";
@@ -69156,7 +69235,7 @@ var _regenerator = _interopRequireDefault(__webpack_require__(12));
69156
69235
 
69157
69236
  var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(13));
69158
69237
 
69159
- const audioOutputDevicesChangeHandler = __webpack_require__(723)();
69238
+ const audioOutputDevicesChangeHandler = __webpack_require__(724)();
69160
69239
 
69161
69240
  const _require = __webpack_require__(23)(),
69162
69241
  hasAudioOutputApiSupport = _require.hasAudioOutputApiSupport,
@@ -69196,7 +69275,7 @@ module.exports = () => {
69196
69275
  };
69197
69276
 
69198
69277
  /***/ }),
69199
- /* 723 */
69278
+ /* 724 */
69200
69279
  /***/ (function(module, exports, __webpack_require__) {
69201
69280
 
69202
69281
  "use strict";
@@ -69290,40 +69369,6 @@ module.exports = function (deps) {
69290
69369
  return audioOutputDevicesChangeHandler;
69291
69370
  };
69292
69371
 
69293
- /***/ }),
69294
- /* 724 */
69295
- /***/ (function(module, exports, __webpack_require__) {
69296
-
69297
- "use strict";
69298
-
69299
-
69300
- /* eslint-disable global-require */
69301
- const AnalyticsHelper = __webpack_require__(27);
69302
-
69303
- module.exports = function (deps) {
69304
- if (deps === void 0) {
69305
- deps = {};
69306
- }
69307
-
69308
- const env = deps.env || __webpack_require__(2);
69309
-
69310
- const analytics = deps.analytics || new AnalyticsHelper();
69311
- analytics.logEvent({
69312
- action: 'UserAgentParsing',
69313
- variation: 'Attempt',
69314
- payload: {
69315
- userAgent: env.userAgent
69316
- }
69317
- });
69318
- analytics.logEvent({
69319
- action: 'UserAgentParsing',
69320
- variation: env.error ? 'Failure' : 'Success',
69321
- payload: {
69322
- userAgent: env.userAgent
69323
- }
69324
- });
69325
- };
69326
-
69327
69372
  /***/ })
69328
69373
  /******/ ]);
69329
69374
  });