@opentok/client 2.31.0-alpha.5 → 2.31.0-alpha.6
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 +12 -9
- package/dist/js/opentok.js.map +1 -1
- package/dist/js/opentok.min.js +3 -3
- 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.31.0
|
|
2
|
+
* @license OpenTok.js 2.31.0 174b325d2
|
|
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: Thu, 17 Jul 2025
|
|
8
|
+
* Date: Thu, 17 Jul 2025 11:34:36 GMT
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
@@ -5078,13 +5078,16 @@ const modifyStereo = (type, sdp, enable) => {
|
|
|
5078
5078
|
}
|
|
5079
5079
|
break;
|
|
5080
5080
|
case 'receive':
|
|
5081
|
-
|
|
5082
|
-
|
|
5083
|
-
|
|
5084
|
-
|
|
5085
|
-
|
|
5081
|
+
{
|
|
5082
|
+
pattern = /([^-])stereo=\d+([\s;]*)/;
|
|
5083
|
+
const stereo = `stereo=${enable ? '1' : '0'}`;
|
|
5084
|
+
if (pattern.test(fmtpAttr.value)) {
|
|
5085
|
+
line = line.replace(pattern, `$1${stereo}$2`);
|
|
5086
|
+
} else {
|
|
5087
|
+
line += `; ${stereo}`;
|
|
5088
|
+
}
|
|
5089
|
+
break;
|
|
5086
5090
|
}
|
|
5087
|
-
break;
|
|
5088
5091
|
default:
|
|
5089
5092
|
throw new Error(`Invalid type ${type} passed into enableStereo`);
|
|
5090
5093
|
}
|
|
@@ -8679,7 +8682,7 @@ const logging = (0, _log.default)('StaticConfig');
|
|
|
8679
8682
|
*/
|
|
8680
8683
|
|
|
8681
8684
|
/** @type builtInConfig */
|
|
8682
|
-
const builtInConfig = (0, _cloneDeep.default)({"version":"v2.31.0","buildHash":"
|
|
8685
|
+
const builtInConfig = (0, _cloneDeep.default)({"version":"v2.31.0","buildHash":"174b325d2","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
8686
|
const whitelistAllowedRuntimeProperties = (0, _pick.default)(['apiURL', 'assetURL', 'cdnURL', 'sessionInfoOverrides', 'loggingURL']);
|
|
8684
8687
|
const liveConfigMap = {
|
|
8685
8688
|
apiUrl: 'apiURL',
|