@opentok/client 2.32.0-alpha.3 → 2.32.0-alpha.4

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.32.0 1f4a4baa5
2
+ * @license OpenTok.js 2.32.0 ee5f34d07
3
3
  *
4
4
  * Copyright (c) 2010-2025 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: Tue, 14 Oct 2025 12:08:04 GMT
8
+ * Date: Tue, 14 Oct 2025 18:02:24 GMT
9
9
  */
10
10
 
11
11
  (function webpackUniversalModuleDefinition(root, factory) {
@@ -8547,7 +8547,7 @@ function staticConfigFactory(_temp) {
8547
8547
  _ref$axios = _ref.axios,
8548
8548
  axios = _ref$axios === void 0 ? _axios.default : _ref$axios,
8549
8549
  _ref$properties = _ref.properties,
8550
- properties = _ref$properties === void 0 ? {"version":"v2.32.0","buildHash":"1f4a4baa5","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;
8550
+ properties = _ref$properties === void 0 ? {"version":"v2.32.0","buildHash":"ee5f34d07","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;
8551
8551
  /** @type builtInConfig */
8552
8552
  const builtInConfig = (0, _cloneDeep.default)(properties);
8553
8553
  /**
@@ -15448,8 +15448,7 @@ function StylableComponent(self, initialStyles, showControls, logSetStyleWithPay
15448
15448
  * Publisher.getImgData()</a> method (for example, you could call
15449
15449
  * <code>myPublisher.setStyle("backgroundImageURI", myPublisher.getImgData())</code>).
15450
15450
  * If the URL or the image data is invalid, the property is ignored (the attempt to set
15451
- * the image fails silently). The current background will be removed if no image is passed
15452
- * and the initials will be shown if previously set.</li>
15451
+ * the image fails silently).</li>
15453
15452
  *
15454
15453
  * <li><code>buttonDisplayMode</code> (String) &mdash; How to display the microphone
15455
15454
  * controls. Possible values are: <code>"auto"</code> (controls are displayed when the
@@ -15528,8 +15527,7 @@ function StylableComponent(self, initialStyles, showControls, logSetStyleWithPay
15528
15527
  * Subscriber.getImgData()</a> method (for example, you could call
15529
15528
  * <code>mySubscriber.setStyle("backgroundImageURI", mySubscriber.getImgData())</code>).
15530
15529
  * If the URL or the image data is invalid, the property is ignored (the attempt to set
15531
- * the image fails silently). The current background will be removed if no image is passed
15532
- * and the initials will be shown if previously set.</li>
15530
+ * the image fails silently).</li>
15533
15531
  *
15534
15532
  * <li><code>buttonDisplayMode</code> (String) &mdash; How to display the speaker
15535
15533
  * controls. Possible values are: <code>"auto"</code> (controls are displayed when the
@@ -16696,16 +16694,6 @@ function WidgetViewFactory(_temp) {
16696
16694
  }
16697
16695
  };
16698
16696
  _proto.setBackgroundImageURI = function setBackgroundImageURI(bgImgURI) {
16699
- if (!bgImgURI) {
16700
- if (this._lastInitials) {
16701
- this.setInitials(this._lastInitials);
16702
- } else {
16703
- OTHelpers.css(this._posterContainer, 'backgroundImage', null);
16704
- OTHelpers.css(this._posterContainer, 'backgroundSize', null);
16705
- OTHelpers.css(this._posterContainer, 'opacity', null);
16706
- }
16707
- return;
16708
- }
16709
16697
  // If initials are set, this should override.
16710
16698
  OTHelpers.css(this._posterContainer, 'backgroundImage', `url(${bgImgURI})`);
16711
16699
  OTHelpers.css(this._posterContainer, 'backgroundSize', 'contain');
@@ -16717,7 +16705,6 @@ function WidgetViewFactory(_temp) {
16717
16705
  OTHelpers.css(this._posterContainer, 'backgroundImage', `url('data:image/svg+xml,${serializedSvg}')`);
16718
16706
  OTHelpers.css(this._posterContainer, 'backgroundSize', 'auto 55%');
16719
16707
  OTHelpers.css(this._posterContainer, 'opacity', '1.0');
16720
- this._lastInitials = initials;
16721
16708
  };
16722
16709
  _proto.isAudioBlocked = function isAudioBlocked() {
16723
16710
  return Boolean(this._videoElementFacade && this._videoElementFacade.isAudioBlocked());