@opentok/client 2.30.3-alpha.3 → 2.30.3-alpha.5
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.30.3
|
|
2
|
+
* @license OpenTok.js 2.30.3 0c4c29b
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) 2010-2025 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: Fri, 27 Jun 2025 16:36:59 GMT
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
@@ -8679,7 +8679,7 @@ const logging = (0, _log.default)('StaticConfig');
|
|
|
8679
8679
|
*/
|
|
8680
8680
|
|
|
8681
8681
|
/** @type builtInConfig */
|
|
8682
|
-
const builtInConfig = (0, _cloneDeep.default)({"version":"v2.30.3","buildHash":"
|
|
8682
|
+
const builtInConfig = (0, _cloneDeep.default)({"version":"v2.30.3","buildHash":"0c4c29b","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"});
|
|
8683
8683
|
const whitelistAllowedRuntimeProperties = (0, _pick.default)(['apiURL', 'assetURL', 'cdnURL', 'sessionInfoOverrides', 'loggingURL']);
|
|
8684
8684
|
const liveConfigMap = {
|
|
8685
8685
|
apiUrl: 'apiURL',
|
|
@@ -43927,9 +43927,10 @@ function SessionFactory(deps) {
|
|
|
43927
43927
|
if (proxyUrl) {
|
|
43928
43928
|
sessionInfoSuccessLogPayload.proxyUrl = proxyUrl;
|
|
43929
43929
|
}
|
|
43930
|
-
|
|
43931
|
-
|
|
43932
|
-
}
|
|
43930
|
+
if (_attemptStartTime) {
|
|
43931
|
+
sessionInfoSuccessLogPayload.attemptDuration = new Date().getTime() - _attemptStartTime;
|
|
43932
|
+
}
|
|
43933
|
+
this.logEvent('SessionInfo', 'Success', null, sessionInfoSuccessLogPayload);
|
|
43933
43934
|
const overrides = this.staticConfig.sessionInfoOverrides || {};
|
|
43934
43935
|
if (_prioritizeVP9) {
|
|
43935
43936
|
overrides.priorityVideoCodec = 'vp9';
|
|
@@ -44519,6 +44520,7 @@ function SessionFactory(deps) {
|
|
|
44519
44520
|
}
|
|
44520
44521
|
};
|
|
44521
44522
|
const targetUrl = (0, _proxyUrlHelper.default)(staticConfig.apiUrl, proxyUrl);
|
|
44523
|
+
_attemptStartTime = new Date().getTime();
|
|
44522
44524
|
return getSessionInfo({
|
|
44523
44525
|
anvilUrl: targetUrl,
|
|
44524
44526
|
sessionId,
|
|
@@ -45842,7 +45844,7 @@ function SessionFactory(deps) {
|
|
|
45842
45844
|
}, this.MIGRATION_TIMEOUT);
|
|
45843
45845
|
};
|
|
45844
45846
|
const targetUrl = (0, _proxyUrlHelper.default)(this.staticConfig.apiUrl, proxyUrl);
|
|
45845
|
-
|
|
45847
|
+
_attemptStartTime = new Date().getTime();
|
|
45846
45848
|
// GSI
|
|
45847
45849
|
getSessionInfo({
|
|
45848
45850
|
anvilUrl: targetUrl,
|