@opentok/client 2.31.0-alpha.51 → 2.31.0-alpha.52

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.31.0 b85c34840
2
+ * @license OpenTok.js 2.31.0 194fa4418
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, 23 Sep 2025 09:57:01 GMT
8
+ * Date: Thu, 25 Sep 2025 10:35:22 GMT
9
9
  */
10
10
 
11
11
  (function webpackUniversalModuleDefinition(root, factory) {
@@ -8688,7 +8688,7 @@ function staticConfigFactory(_temp) {
8688
8688
  _ref$axios = _ref.axios,
8689
8689
  axios = _ref$axios === void 0 ? _axios.default : _ref$axios,
8690
8690
  _ref$properties = _ref.properties,
8691
- properties = _ref$properties === void 0 ? {"version":"v2.31.0","buildHash":"b85c34840","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;
8691
+ properties = _ref$properties === void 0 ? {"version":"v2.31.0","buildHash":"194fa4418","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;
8692
8692
  /** @type builtInConfig */
8693
8693
  const builtInConfig = (0, _cloneDeep.default)(properties);
8694
8694
  /**
@@ -18111,6 +18111,14 @@ function PublisherFactory(_ref) {
18111
18111
  }, payload), Object.assign({
18112
18112
  attemptDuration: new Date().getTime() - attemptStartTime
18113
18113
  }, logOptions));
18114
+ } else if (variation === 'Attempt') {
18115
+ let preferredVideoCodecsLog = 'default';
18116
+ if (properties.preferredVideoCodecs) {
18117
+ preferredVideoCodecsLog = properties.preferredVideoCodecs === 'automatic' ? 'automatic' : properties.preferredVideoCodecs.join(',').toUpperCase();
18118
+ }
18119
+ logAnalyticsEvent('Publish', variation, payload, Object.assign({}, logOptions, {
18120
+ preferredVideoCodecs: preferredVideoCodecsLog
18121
+ }));
18114
18122
  } else {
18115
18123
  logAnalyticsEvent('Publish', variation, payload, logOptions);
18116
18124
  }