@opentok/client 2.34.0-alpha.15 → 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
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
|
/**
|
|
@@ -21320,6 +21320,7 @@ function PublisherFactory(_ref) {
|
|
|
21320
21320
|
}
|
|
21321
21321
|
state.set('Destroyed');
|
|
21322
21322
|
reset();
|
|
21323
|
+
amrState.destroy();
|
|
21323
21324
|
if (processedOptions) {
|
|
21324
21325
|
processedOptions.off();
|
|
21325
21326
|
processedOptions = null;
|
|
@@ -40532,6 +40533,7 @@ function SubscriberFactory(_ref2) {
|
|
|
40532
40533
|
}
|
|
40533
40534
|
_state.set('Destroyed');
|
|
40534
40535
|
_videoQualityWatcher.destroy();
|
|
40536
|
+
amrState.destroy();
|
|
40535
40537
|
_preDisconnectStats = {
|
|
40536
40538
|
sessionId: _session.sessionId,
|
|
40537
40539
|
connectionId: (_session10 = _session) != null && _session10.isConnected() ? (_session11 = _session) == null ? void 0 : (_session11$connection = _session11.connection) == null ? void 0 : _session11$connection.connectionId : null,
|
|
@@ -43092,6 +43094,10 @@ const createAmrStateMachine = function createAmrStateMachine(deps) {
|
|
|
43092
43094
|
this._transitionTo(_amrStates.default.MANTIS, processTransition);
|
|
43093
43095
|
}
|
|
43094
43096
|
},
|
|
43097
|
+
destroy() {
|
|
43098
|
+
this.clearTransitionTimeout();
|
|
43099
|
+
this.pendingTransitions = [];
|
|
43100
|
+
},
|
|
43095
43101
|
_transitionTo(state, process) {
|
|
43096
43102
|
if (process) {
|
|
43097
43103
|
this.state = _amrStates.default.TRANSITIONING;
|