@opentok/client 2.35.0-alpha.16 → 2.35.0-alpha.17

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.35.0 ddc5de1ff
2
+ * @license OpenTok.js 2.35.0 45974b7d5
3
3
  *
4
4
  * Copyright (c) 2010-2026 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: Sat, 09 May 2026 12:51:10 GMT
8
+ * Date: Mon, 11 May 2026 09:30:22 GMT
9
9
  */
10
10
 
11
11
  (function webpackUniversalModuleDefinition(root, factory) {
@@ -25251,8 +25251,17 @@ function SubscriberFactory(_ref2) {
25251
25251
  if (_chrome) {
25252
25252
  _chrome.videoDisabledIndicator.setWarning(event.newValue);
25253
25253
  }
25254
- this.dispatchEvent(new Events.VideoDisableWarningEvent(event.newValue ? 'videoDisableWarning' : 'videoDisableWarningLifted'));
25255
- updateCongestionLevel(event.newValue ? 1 : null);
25254
+ if (event.oldValue !== event.newValue) {
25255
+ if (event.newValue) {
25256
+ this.dispatchEvent(new Events.VideoDisableWarningEvent('videoDisableWarning'));
25257
+ logAnalyticsEvent('videoDisableWarning', 'Event');
25258
+ updateCongestionLevel(1);
25259
+ } else if (event.oldValue) {
25260
+ this.dispatchEvent(new Events.VideoDisableWarningEvent('videoDisableWarningLifted'));
25261
+ logAnalyticsEvent('videoDisableWarningLifted', 'Event');
25262
+ updateCongestionLevel(null);
25263
+ }
25264
+ }
25256
25265
  break;
25257
25266
  case 'hasVideo':
25258
25267
  // @todo setAudioOnly affects peer connections, what happens with new ones?
@@ -41640,7 +41649,7 @@ function staticConfigFactory(_temp) {
41640
41649
  _ref$axios = _ref.axios,
41641
41650
  axios = _ref$axios === void 0 ? _axios.default : _ref$axios,
41642
41651
  _ref$properties = _ref.properties,
41643
- properties = _ref$properties === void 0 ? {"version":"v2.35.0","buildHash":"ddc5de1ff","minimumVersion":{"firefox":52,"chrome":49},"debug":false,"websiteURL":"http://www.tokbox.com","configURL":"https://config.opentok.com","ipWhitelistConfigURL":"","cdnURL":"","loggingURL":"https://hlg.tokbox.com/prod","apiURL":"https://anvil.opentok.com","vonageApiURL":""} : _ref$properties;
41652
+ properties = _ref$properties === void 0 ? {"version":"v2.35.0","buildHash":"45974b7d5","minimumVersion":{"firefox":52,"chrome":49},"debug":false,"websiteURL":"http://www.tokbox.com","configURL":"https://config.opentok.com","ipWhitelistConfigURL":"","cdnURL":"","loggingURL":"https://hlg.tokbox.com/prod","apiURL":"https://anvil.opentok.com","vonageApiURL":""} : _ref$properties;
41644
41653
  /** @type builtInConfig */
41645
41654
  const builtInConfig = (0, _cloneDeep.default)(properties);
41646
41655
  /**