@opentok/client 2.34.0-alpha.14 → 2.34.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.
- package/dist/js/opentok.js +11 -4
- 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 7ad6d0d5b
|
|
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: Tue, 03 Mar 2026 07:22:53 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":"7ad6d0d5b","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
|
/**
|
|
@@ -15811,6 +15811,7 @@ var _default = function _default(deps) {
|
|
|
15811
15811
|
}
|
|
15812
15812
|
const env = deps.env || _OTHelpers.default.env;
|
|
15813
15813
|
const Modal = deps.Modal || _modal.default;
|
|
15814
|
+
const EnvironmentLoader = deps.EnvironmentLoader || _environment_loader.default;
|
|
15814
15815
|
const createLogger = deps.createLogger || _log.default;
|
|
15815
15816
|
const logging = createLogger('systemRequirements');
|
|
15816
15817
|
const hasOpenTokSupport = _hasOpenTokSupport.default.once;
|
|
@@ -15883,7 +15884,7 @@ var _default = function _default(deps) {
|
|
|
15883
15884
|
_ref$isBrowserAndVers = _ref.isBrowserAndVersionSupported,
|
|
15884
15885
|
isBrowserAndVersionSupported = _ref$isBrowserAndVers === void 0 ? isBrowserAndVersionSupportedDefault() : _ref$isBrowserAndVers;
|
|
15885
15886
|
// trigger after the OT environment has loaded
|
|
15886
|
-
|
|
15887
|
+
EnvironmentLoader.onLoad(() => {
|
|
15887
15888
|
logging.warn('OT.upgradeSystemRequirements is deprecated.');
|
|
15888
15889
|
if (isDialogOpen) {
|
|
15889
15890
|
return;
|
|
@@ -21319,6 +21320,7 @@ function PublisherFactory(_ref) {
|
|
|
21319
21320
|
}
|
|
21320
21321
|
state.set('Destroyed');
|
|
21321
21322
|
reset();
|
|
21323
|
+
amrState.destroy();
|
|
21322
21324
|
if (processedOptions) {
|
|
21323
21325
|
processedOptions.off();
|
|
21324
21326
|
processedOptions = null;
|
|
@@ -40531,6 +40533,7 @@ function SubscriberFactory(_ref2) {
|
|
|
40531
40533
|
}
|
|
40532
40534
|
_state.set('Destroyed');
|
|
40533
40535
|
_videoQualityWatcher.destroy();
|
|
40536
|
+
amrState.destroy();
|
|
40534
40537
|
_preDisconnectStats = {
|
|
40535
40538
|
sessionId: _session.sessionId,
|
|
40536
40539
|
connectionId: (_session10 = _session) != null && _session10.isConnected() ? (_session11 = _session) == null ? void 0 : (_session11$connection = _session11.connection) == null ? void 0 : _session11$connection.connectionId : null,
|
|
@@ -43091,6 +43094,10 @@ const createAmrStateMachine = function createAmrStateMachine(deps) {
|
|
|
43091
43094
|
this._transitionTo(_amrStates.default.MANTIS, processTransition);
|
|
43092
43095
|
}
|
|
43093
43096
|
},
|
|
43097
|
+
destroy() {
|
|
43098
|
+
this.clearTransitionTimeout();
|
|
43099
|
+
this.pendingTransitions = [];
|
|
43100
|
+
},
|
|
43094
43101
|
_transitionTo(state, process) {
|
|
43095
43102
|
if (process) {
|
|
43096
43103
|
this.state = _amrStates.default.TRANSITIONING;
|