@opentok/client 2.34.0-alpha.5 → 2.34.0-alpha.6
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 +12 -12
- 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.34.0
|
|
2
|
+
* @license OpenTok.js 2.34.0 c0afb57be
|
|
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: Wed, 11 Feb 2026
|
|
8
|
+
* Date: Wed, 11 Feb 2026 13:38:33 GMT
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
@@ -8593,7 +8593,7 @@ function staticConfigFactory(_temp) {
|
|
|
8593
8593
|
_ref$axios = _ref.axios,
|
|
8594
8594
|
axios = _ref$axios === void 0 ? _axios.default : _ref$axios,
|
|
8595
8595
|
_ref$properties = _ref.properties,
|
|
8596
|
-
properties = _ref$properties === void 0 ? {"version":"v2.34.0","buildHash":"
|
|
8596
|
+
properties = _ref$properties === void 0 ? {"version":"v2.34.0","buildHash":"c0afb57be","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;
|
|
8597
8597
|
/** @type builtInConfig */
|
|
8598
8598
|
const builtInConfig = (0, _cloneDeep.default)(properties);
|
|
8599
8599
|
/**
|
|
@@ -20271,7 +20271,7 @@ function PublisherFactory(_ref) {
|
|
|
20271
20271
|
};
|
|
20272
20272
|
const startMigrationTimeout = () => {
|
|
20273
20273
|
_migrationTimeoutId = setTimeout(() => {
|
|
20274
|
-
logAnalyticsEvent('
|
|
20274
|
+
logAnalyticsEvent('SessionMigration', 'Failed');
|
|
20275
20275
|
this.destroy();
|
|
20276
20276
|
}, this.session.MIGRATION_TIMEOUT);
|
|
20277
20277
|
};
|
|
@@ -22806,7 +22806,7 @@ function PublisherFactory(_ref) {
|
|
|
22806
22806
|
while (1) switch (_context47.prev = _context47.next) {
|
|
22807
22807
|
case 0:
|
|
22808
22808
|
state.set('Migrating');
|
|
22809
|
-
logAnalyticsEvent('
|
|
22809
|
+
logAnalyticsEvent('SessionMigration', 'Attempt');
|
|
22810
22810
|
startMigrationTimeout();
|
|
22811
22811
|
|
|
22812
22812
|
// Update sender method in P2P PC because it needs to use the new Rumor. No need for
|
|
@@ -22887,7 +22887,7 @@ function PublisherFactory(_ref) {
|
|
|
22887
22887
|
(_getP2pPeerConnection = getP2pPeerConnection()) == null ? void 0 : _getP2pPeerConnection.then(destroyPeerConnection);
|
|
22888
22888
|
}
|
|
22889
22889
|
state.set('Publishing');
|
|
22890
|
-
logAnalyticsEvent('
|
|
22890
|
+
logAnalyticsEvent('SessionMigration', 'Success');
|
|
22891
22891
|
},
|
|
22892
22892
|
streamDestroyed: reason => {
|
|
22893
22893
|
if (['reset'].indexOf(reason) < 0) {
|
|
@@ -38702,7 +38702,7 @@ function SubscriberFactory(_ref2) {
|
|
|
38702
38702
|
this._destroy({
|
|
38703
38703
|
reason: 'Migration failed'
|
|
38704
38704
|
});
|
|
38705
|
-
logAnalyticsEvent('
|
|
38705
|
+
logAnalyticsEvent('SessionMigration', 'Failed');
|
|
38706
38706
|
}, _session.MIGRATION_TIMEOUT);
|
|
38707
38707
|
};
|
|
38708
38708
|
const removeWebRTCStream = sourceStreamId => {
|
|
@@ -41726,7 +41726,7 @@ function SubscriberFactory(_ref2) {
|
|
|
41726
41726
|
return _context28.abrupt("return");
|
|
41727
41727
|
case 2:
|
|
41728
41728
|
_state.set('Migrating');
|
|
41729
|
-
logAnalyticsEvent('
|
|
41729
|
+
logAnalyticsEvent('SessionMigration', 'Attempt');
|
|
41730
41730
|
startMigrationTimeout();
|
|
41731
41731
|
socket.off('signalingNetworkQualityScoreChanged', networkConditionChecker.checkNetworkConditionChange);
|
|
41732
41732
|
// Update socket reference
|
|
@@ -41792,7 +41792,7 @@ function SubscriberFactory(_ref2) {
|
|
|
41792
41792
|
}
|
|
41793
41793
|
_state.set('Subscribing');
|
|
41794
41794
|
clearTimeout(_migrationTimeoutId);
|
|
41795
|
-
logAnalyticsEvent('
|
|
41795
|
+
logAnalyticsEvent('SessionMigration', 'Success');
|
|
41796
41796
|
case 7:
|
|
41797
41797
|
case "end":
|
|
41798
41798
|
return _context30.stop();
|
|
@@ -47495,7 +47495,7 @@ function SessionFactory(deps) {
|
|
|
47495
47495
|
},
|
|
47496
47496
|
migrate: () => {
|
|
47497
47497
|
setState('migrating');
|
|
47498
|
-
this.logEvent('
|
|
47498
|
+
this.logEvent('SessionMigration', 'Attempt');
|
|
47499
47499
|
const onSessionInfo = sessionInfo => {
|
|
47500
47500
|
const currentMessagingUrl = _messagingUrl;
|
|
47501
47501
|
const currentSocket = _sockets[currentMessagingUrl];
|
|
@@ -47520,7 +47520,7 @@ function SessionFactory(deps) {
|
|
|
47520
47520
|
}
|
|
47521
47521
|
setState('connected');
|
|
47522
47522
|
this.trigger('migrated');
|
|
47523
|
-
this.logEvent('
|
|
47523
|
+
this.logEvent('SessionMigration', 'Success');
|
|
47524
47524
|
}, this.MIGRATION_TIMEOUT);
|
|
47525
47525
|
};
|
|
47526
47526
|
const targetUrl = (0, _proxyUrlHelper.default)(this.staticConfig.apiUrl, proxyUrl);
|
|
@@ -47534,7 +47534,7 @@ function SessionFactory(deps) {
|
|
|
47534
47534
|
clientVersion: this.staticConfig.clientVersion
|
|
47535
47535
|
}).then(onSessionInfo, () => {
|
|
47536
47536
|
_logging.error('Session migration has failed');
|
|
47537
|
-
this.logEvent('
|
|
47537
|
+
this.logEvent('SessionMigration', 'Failed');
|
|
47538
47538
|
});
|
|
47539
47539
|
},
|
|
47540
47540
|
testMigrate: () => {
|