@vonage/client-sdk-video 2.35.0-alpha.14 → 2.35.0-alpha.16

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.
@@ -75,7 +75,7 @@ declare namespace OT {
75
75
 
76
76
  export function getSupportedCodecs(): Promise<{ videoEncoders: ('H264' | 'VP8' | 'VP9')[], videoDecoders: ('H264' | 'VP8' | 'VP9')[] }>;
77
77
 
78
- export function hasMediaProcessorSupport(mediaType: 'audio' | 'video' | 'both'): boolean;
78
+ export function hasMediaProcessorSupport(mediaType?: 'audio' | 'video' | 'both'): boolean;
79
79
 
80
80
  export function hasEndToEndEncryptionSupport(): boolean;
81
81
 
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license OpenTok.js 2.35.0 7fd85c960
2
+ * @license OpenTok.js 2.35.0 ddc5de1ff
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: Fri, 08 May 2026 08:33:57 GMT
8
+ * Date: Sat, 09 May 2026 12:51:10 GMT
9
9
  */
10
10
 
11
11
  (function webpackUniversalModuleDefinition(root, factory) {
@@ -6666,8 +6666,9 @@ function PublisherPeerConnectionFactory(deps) {
6666
6666
  this.getStats = (source, callback) => _peerConnection.getStats(null, source, callback);
6667
6667
  this.getRtcStatsReport = (source, callback) => _peerConnection.getRtcStatsReport(null, source, callback);
6668
6668
  this.processStats = stats => {
6669
+ var _processedStats$media;
6669
6670
  const processedStats = statsHelpers.normalizeStats(stats, false, publishStartTime || Date.now());
6670
- const transport = Object.assign({}, processedStats.mediaLink.transport, networkConditionStateMachine.getTransportStats());
6671
+ const transport = Object.assign({}, (_processedStats$media = processedStats.mediaLink) == null ? void 0 : _processedStats$media.transport, networkConditionStateMachine.getTransportStats());
6671
6672
  const completeStats = Object.assign({}, processedStats, {
6672
6673
  mediaLink: Object.assign({}, processedStats.mediaLink, {
6673
6674
  transport
@@ -41639,7 +41640,7 @@ function staticConfigFactory(_temp) {
41639
41640
  _ref$axios = _ref.axios,
41640
41641
  axios = _ref$axios === void 0 ? _axios.default : _ref$axios,
41641
41642
  _ref$properties = _ref.properties,
41642
- properties = _ref$properties === void 0 ? {"version":"v2.35.0","buildHash":"7fd85c960","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;
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;
41643
41644
  /** @type builtInConfig */
41644
41645
  const builtInConfig = (0, _cloneDeep.default)(properties);
41645
41646
  /**
@@ -78361,6 +78362,7 @@ const deviceHelpersFactory = function deviceHelpersFactory(deps) {
78361
78362
  };
78362
78363
  deviceHelpers.hasSetSinkIdCapability = () => 'setSinkId' in (windowMock == null ? void 0 : windowMock.HTMLMediaElement.prototype);
78363
78364
  deviceHelpers.hasAudioOutputApiSupport = () => {
78365
+ if (env.isFirefox && env.version <= 126) return false;
78364
78366
  const _deps = deps,
78365
78367
  _deps$hasSetSinkIdCap = _deps.hasSetSinkIdCapability,
78366
78368
  hasSetSinkIdCapability = _deps$hasSetSinkIdCap === void 0 ? deviceHelpers.hasSetSinkIdCapability : _deps$hasSetSinkIdCap;