@opentok/client 2.21.8 → 2.22.0
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.
|
|
2
|
+
* @license OpenTok.js 2.22.0 a83f3e955
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) 2010-2022 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: Thu, 24 Feb 2022 23:17:22 GMT
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
@@ -1368,6 +1368,7 @@ var _global, _global$navigator, _global2, _global2$process, _global2$process$ver
|
|
|
1368
1368
|
* @property isChromiumEdge Whether the client is isChromiumEdge (version >= 79)
|
|
1369
1369
|
* @property isLegacyEdge Whether the client is isLegacyEdge (version < 79)
|
|
1370
1370
|
* @property isLegacyElectron Whether the client is isLegacyElectron (version < 2)
|
|
1371
|
+
* @property isLegacyChrome Whether the client is isLegacyChrome (version < 50)
|
|
1371
1372
|
* @property isAndroid Whether the client is an Android device
|
|
1372
1373
|
* @property protocol The protocol property of the URL
|
|
1373
1374
|
* @property hostName The domain of the URL
|
|
@@ -1462,6 +1463,7 @@ if (typeof ((_global2 = (typeof window !== undefined ? window : global)) == null
|
|
|
1462
1463
|
|
|
1463
1464
|
env.isLegacyEdge = env.name === 'Edge' && env.version < 79;
|
|
1464
1465
|
env.isLegacyElectron = env.isElectron && env.electronVersion < 2;
|
|
1466
|
+
env.isLegacyChrome = env.isChrome && env.version < 50;
|
|
1465
1467
|
env.isAndroid = env.userAgent.indexOf('android') > -1;
|
|
1466
1468
|
env.userAgent = (typeof window !== undefined ? window : global).navigator.userAgent;
|
|
1467
1469
|
env.protocol = (typeof window !== undefined ? window : global).location.protocol;
|
|
@@ -6792,7 +6794,7 @@ const _require = __webpack_require__(138),
|
|
|
6792
6794
|
/** @type builtInConfig */
|
|
6793
6795
|
|
|
6794
6796
|
|
|
6795
|
-
const builtInConfig = cloneDeep({"version":"v2.
|
|
6797
|
+
const builtInConfig = cloneDeep({"version":"v2.22.0","buildHash":"a83f3e955","minimumVersion":{"firefox":52,"chrome":49},"debug":"false","websiteURL":"http://www.tokbox.com","configURL":"https://config.opentok.com","ipWhitelistConfigURL":"","cdnURL":"https://static.opentok.com","loggingURL":"https://hlg.tokbox.com/prod","apiURL":"https://anvil.opentok.com"});
|
|
6796
6798
|
const whitelistAllowedRuntimeProperties = pick(['apiURL', 'assetURL', 'cdnURL', 'sessionInfoOverrides', 'loggingURL']);
|
|
6797
6799
|
const liveConfigMap = {
|
|
6798
6800
|
apiUrl: 'apiURL',
|
|
@@ -35096,9 +35098,6 @@ module.exports = function initPublisherFactory(deps) {
|
|
|
35096
35098
|
* <a target="_blank" href="https://datatracker.ietf.org/doc/html/rfc7587#section-3.1.3">Opus DTX</a>. The default
|
|
35097
35099
|
* value is <code>false</code>. Setting this to <code>true</code> can reduce bandwidth usage
|
|
35098
35100
|
* in streams that have long periods of silence.
|
|
35099
|
-
* <p>
|
|
35100
|
-
* This is a <em>beta</em> feature.
|
|
35101
|
-
*
|
|
35102
35101
|
* </li>
|
|
35103
35102
|
* <li>
|
|
35104
35103
|
* <strong>facingMode</strong> (String) — The preferred camera position to use for the
|