@opentok/client 2.34.0-alpha.7 → 2.34.0-alpha.8
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 +16 -11
- package/dist/js/opentok.js.map +1 -1
- package/dist/js/opentok.min.js +4 -4
- 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 5091d7796
|
|
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, 17 Feb 2026 17:49:16 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":"5091d7796","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
|
/**
|
|
@@ -41623,7 +41623,7 @@ function SubscriberFactory(_ref2) {
|
|
|
41623
41623
|
},
|
|
41624
41624
|
iceRestart(reason, forcedRestart) {
|
|
41625
41625
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee25() {
|
|
41626
|
-
var
|
|
41626
|
+
var peerConnection;
|
|
41627
41627
|
return _regenerator.default.wrap(function _callee25$(_context25) {
|
|
41628
41628
|
while (1) switch (_context25.prev = _context25.next) {
|
|
41629
41629
|
case 0:
|
|
@@ -41637,18 +41637,23 @@ function SubscriberFactory(_ref2) {
|
|
|
41637
41637
|
logging.debug('Subscriber: Skipping ice restart, websocket is not connected');
|
|
41638
41638
|
return _context25.abrupt("return");
|
|
41639
41639
|
case 4:
|
|
41640
|
-
|
|
41641
|
-
|
|
41642
|
-
|
|
41643
|
-
|
|
41640
|
+
if (!_session.sessionInfo.p2pEnabled) {
|
|
41641
|
+
_context25.next = 6;
|
|
41642
|
+
break;
|
|
41643
|
+
}
|
|
41644
|
+
return _context25.abrupt("return");
|
|
41645
|
+
case 6:
|
|
41646
|
+
_context25.next = 8;
|
|
41647
|
+
return getPeerConnectionBySourceStreamId('MANTIS');
|
|
41648
|
+
case 8:
|
|
41644
41649
|
peerConnection = _context25.sent;
|
|
41645
41650
|
if (peerConnection) {
|
|
41646
|
-
_context25.next =
|
|
41651
|
+
_context25.next = 12;
|
|
41647
41652
|
break;
|
|
41648
41653
|
}
|
|
41649
41654
|
logging.debug('Subscriber: Skipping ice restart, we have no peer connection');
|
|
41650
41655
|
return _context25.abrupt("return");
|
|
41651
|
-
case
|
|
41656
|
+
case 12:
|
|
41652
41657
|
logResubscribe('Attempt', {
|
|
41653
41658
|
reason
|
|
41654
41659
|
});
|
|
@@ -41657,7 +41662,7 @@ function SubscriberFactory(_ref2) {
|
|
|
41657
41662
|
if (forcedRestart) {
|
|
41658
41663
|
peerConnection.generateOffer();
|
|
41659
41664
|
}
|
|
41660
|
-
case
|
|
41665
|
+
case 16:
|
|
41661
41666
|
case "end":
|
|
41662
41667
|
return _context25.stop();
|
|
41663
41668
|
}
|