@opentok/client 2.35.0-alpha.8 → 2.35.0-alpha.9
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.
- package/dist/js/opentok.js +13 -5
- package/dist/js/opentok.js.map +1 -1
- package/dist/js/opentok.min.js +5 -5
- package/dist/js/opentok.min.js.map +1 -1
- package/package.json +1 -1
package/dist/js/opentok.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license OpenTok.js 2.35.0
|
|
2
|
+
* @license OpenTok.js 2.35.0 a07e3c919
|
|
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:
|
|
8
|
+
* Date: Wed, 29 Apr 2026 12:24:49 GMT
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
@@ -10228,7 +10228,7 @@ function staticConfigFactory(_temp) {
|
|
|
10228
10228
|
_ref$axios = _ref.axios,
|
|
10229
10229
|
axios = _ref$axios === void 0 ? _axios.default : _ref$axios,
|
|
10230
10230
|
_ref$properties = _ref.properties,
|
|
10231
|
-
properties = _ref$properties === void 0 ? {"version":"v2.35.0","buildHash":"
|
|
10231
|
+
properties = _ref$properties === void 0 ? {"version":"v2.35.0","buildHash":"a07e3c919","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;
|
|
10232
10232
|
/** @type builtInConfig */
|
|
10233
10233
|
const builtInConfig = (0, _cloneDeep.default)(properties);
|
|
10234
10234
|
/**
|
|
@@ -49797,7 +49797,7 @@ var _languageCodes = __webpack_require__(751);
|
|
|
49797
49797
|
var _setDeprecatedProperty = _interopRequireDefault(__webpack_require__(119));
|
|
49798
49798
|
var _pendingCalls = __webpack_require__(752);
|
|
49799
49799
|
const _excluded = ["AudioLevelMeter", "AudioLevelTransformer", "BackingBar", "Chrome", "env", "Errors", "Events", "ExceptionCodes", "audioLevelSamplerFactory", "getStatsHelpers", "hasAudioOutputLevelStatCapability", "hasRemoteStreamsWithWebAudio", "interpretPeerConnectionError", "logging", "MuteButton", "NamePanel", "otError", "OTErrorClass", "OTHelpers", "StylableComponent", "SubscriberPeerConnection", "SubscribingState", "VideoDisabledIndicator", "AudioBlockedIndicator", "VideoUnsupportedIndicator", "createSendMethod", "parseIceServers", "createVideoQualityWatcher", "document", "WidgetView", "createAudioConnector", "ResizeObserverPolyfill", "MediaStream", "AMRStateDurations", "createMOSScoreHelper"],
|
|
49800
|
-
_excluded2 = ["senderStats"];
|
|
49800
|
+
_excluded2 = ["senderStats", "senderQualityRestrictions"];
|
|
49801
49801
|
const defaultWidgetView = (0, _widget_view.default)();
|
|
49802
49802
|
const EventsDefault = (0, _events2.default)();
|
|
49803
49803
|
const errorsDefault = _Errors.default;
|
|
@@ -50015,6 +50015,7 @@ function SubscriberFactory(_ref2) {
|
|
|
50015
50015
|
let _pendingSetAudioMediaProcessorConnector;
|
|
50016
50016
|
let _networkConditionStats = {};
|
|
50017
50017
|
let _senderStats = {};
|
|
50018
|
+
let _senderQualityRestrictions = {};
|
|
50018
50019
|
const statsHelpers = getStatsHelpers();
|
|
50019
50020
|
const networkConditionChecker = (0, _networkConditionChecker.default)({
|
|
50020
50021
|
session: _session,
|
|
@@ -50026,6 +50027,7 @@ function SubscriberFactory(_ref2) {
|
|
|
50026
50027
|
networkConditionChanged = _ref4.networkConditionChanged;
|
|
50027
50028
|
var _networkConditionStat = networkConditionStats;
|
|
50028
50029
|
_senderStats = _networkConditionStat.senderStats;
|
|
50030
|
+
_senderQualityRestrictions = _networkConditionStat.senderQualityRestrictions;
|
|
50029
50031
|
_networkConditionStats = (0, _objectWithoutPropertiesLoose2.default)(_networkConditionStat, _excluded2);
|
|
50030
50032
|
_networkConditionStat;
|
|
50031
50033
|
if (networkConditionChanged) {
|
|
@@ -50649,7 +50651,7 @@ function SubscriberFactory(_ref2) {
|
|
|
50649
50651
|
remoteNetworkCondition: _networkConditionStats.remotePublisherTransport.networkCondition,
|
|
50650
50652
|
networkDegradationSource: _networkConditionStats.networkDegradationSource,
|
|
50651
50653
|
signalingNetworkQualityScore: (_socket = socket) == null ? void 0 : _socket.getSignalingNetworkQualityScore()
|
|
50652
|
-
}, qosQualityScores, (0, _networkStatus.default)());
|
|
50654
|
+
}, qosQualityScores, _senderQualityRestrictions, (0, _networkStatus.default)());
|
|
50653
50655
|
const combinedStats = (0, _assign.default)(QoSBlob, parsedStats);
|
|
50654
50656
|
analytics.logQOS(combinedStats);
|
|
50655
50657
|
this.trigger('qos', Object.assign({}, analytics.commonQoSFields(), combinedStats));
|
|
@@ -90060,6 +90062,12 @@ const createNetworkConditionChecker = function createNetworkConditionChecker(dep
|
|
|
90060
90062
|
connectionMaxAllocatedBitrate: maxBitrateBitsPerSecond,
|
|
90061
90063
|
connectionEstimatedBandwidth: sentEstimatedBandwidthBitsPerSecond
|
|
90062
90064
|
};
|
|
90065
|
+
if (senderStats.spatialQualityRestrictionReason || senderStats.temporalQualityRestrictionReason) {
|
|
90066
|
+
networkConditionStats.senderQualityRestrictions = {
|
|
90067
|
+
senderSpatialQualityRestrictionReason: senderStats.spatialQualityRestrictionReason,
|
|
90068
|
+
senderTemporalQualityRestrictionReason: senderStats.temporalQualityRestrictionReason
|
|
90069
|
+
};
|
|
90070
|
+
}
|
|
90063
90071
|
}
|
|
90064
90072
|
if (isP2P) {
|
|
90065
90073
|
var _publisherSenderStats;
|