@opentok/client 2.30.3-alpha.14 → 2.30.3-alpha.15
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 aeac4fe
|
|
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: Wed, 09 Jul 2025 07:23:27 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":"aeac4fe","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',
|
|
@@ -75985,6 +75985,9 @@ const calculateBitrate = (currentStats, lastStats) => {
|
|
|
75985
75985
|
|
|
75986
75986
|
// See https://www.w3.org/TR/webrtc-stats/#dom-rtcinboundrtpstreamstats-jitterbufferdelay
|
|
75987
75987
|
const calculateJitterBufferMovingAverage = (currentStats, lastStats) => {
|
|
75988
|
+
if (!currentStats.jitterBufferEmittedCount || !currentStats.jitterBufferDelay) {
|
|
75989
|
+
return undefined;
|
|
75990
|
+
}
|
|
75988
75991
|
const jitterBufferEmittedCountDelta = currentStats.jitterBufferEmittedCount - lastStats.jitterBufferEmittedCount;
|
|
75989
75992
|
const jitterBufferDelayDelta = currentStats.jitterBufferDelay - lastStats.jitterBufferDelay;
|
|
75990
75993
|
return jitterBufferDelayDelta / jitterBufferEmittedCountDelta;
|