@opentok/client 2.32.0-alpha.13 → 2.32.0-alpha.15

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 43e6f198c
2
+ * @license OpenTok.js 2.32.0 0585be433
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, 21 Oct 2025 09:11:54 GMT
8
+ * Date: Wed, 29 Oct 2025 11:09:12 GMT
9
9
  */
10
10
 
11
11
  (function webpackUniversalModuleDefinition(root, factory) {
@@ -8564,7 +8564,7 @@ function staticConfigFactory(_temp) {
8564
8564
  _ref$axios = _ref.axios,
8565
8565
  axios = _ref$axios === void 0 ? _axios.default : _ref$axios,
8566
8566
  _ref$properties = _ref.properties,
8567
- properties = _ref$properties === void 0 ? {"version":"v2.32.0","buildHash":"43e6f198c","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;
8567
+ properties = _ref$properties === void 0 ? {"version":"v2.32.0","buildHash":"0585be433","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;
8568
8568
  /** @type builtInConfig */
8569
8569
  const builtInConfig = (0, _cloneDeep.default)(properties);
8570
8570
  /**
@@ -18109,7 +18109,7 @@ function PublisherFactory(_ref) {
18109
18109
  videoWidth: this.videoWidth(),
18110
18110
  videoHeight: this.videoHeight()
18111
18111
  };
18112
- const parsedAndQosStats = (0, _assign.default)({}, QoSBlob, parsedStats, videoDimensions);
18112
+ const parsedAndQosStats = (0, _assign.default)({}, QoSBlob, videoDimensions, parsedStats);
18113
18113
  analytics.logQOS(parsedAndQosStats);
18114
18114
  this.trigger('qos', parsedAndQosStats);
18115
18115
  };
@@ -43203,6 +43203,19 @@ function initPublisherFactory(deps) {
43203
43203
  * the published stream).
43204
43204
  * </li>
43205
43205
  * <li>
43206
+ * <strong>preferredVideoCodecs</strong> (<code>'automatic'</code> or Array of
43207
+ * <code>'vp8'</code>, <code>'vp9'</code>, <code>'h264'</code>) &#151;
43208
+ * Sets the preferred video codecs priority for publishing.
43209
+ * <p>
43210
+ * If omitted, the SDK uses the project's default setting.
43211
+ * Set to <code>'automatic'</code> to let the SDK select the most suitable order.
43212
+ * Or provide an explicit array to specify codec preference
43213
+ * (e.g., <code>['vp9', 'h264']</code>).
43214
+ * If invalid (such as an empty array or unsupported codec), publisher initialization fails
43215
+ * with an <code>OT_INVALID_PARAMETER</code> error.
43216
+ * </p>
43217
+ * </li>
43218
+ * <li>
43206
43219
  * <strong>publishAudio</strong> (Boolean) &#151; Whether to initially publish audio
43207
43220
  * for the stream (default: <code>true</code>). This setting applies when you pass
43208
43221
  * the Publisher object in a call to the <code>Session.publish()</code> method.