@opentok/client 2.27.3-beta.8 → 2.27.3-beta.9

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.
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license OpenTok.js 2.27.3-beta.08 5075c82
2
+ * @license OpenTok.js 2.27.3-beta.09 cfcc8a5
3
3
  *
4
4
  * Copyright (c) 2010-2024 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, 06 Jun 2024 15:01:03 GMT
8
+ * Date: Wed, 19 Jun 2024 21:04:18 GMT
9
9
  */
10
10
 
11
11
  (function webpackUniversalModuleDefinition(root, factory) {
@@ -7952,7 +7952,7 @@ const logging = (0, _log.default)('StaticConfig');
7952
7952
  */
7953
7953
 
7954
7954
  /** @type builtInConfig */
7955
- const builtInConfig = (0, _cloneDeep.default)({"version":"v2.27.3-beta.08","buildHash":"5075c82","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"});
7955
+ const builtInConfig = (0, _cloneDeep.default)({"version":"v2.27.3-beta.09","buildHash":"cfcc8a5","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"});
7956
7956
  const whitelistAllowedRuntimeProperties = (0, _pick.default)(['apiURL', 'assetURL', 'cdnURL', 'sessionInfoOverrides', 'loggingURL']);
7957
7957
  const liveConfigMap = {
7958
7958
  apiUrl: 'apiURL',
@@ -18365,7 +18365,9 @@ function PublisherFactory(_ref) {
18365
18365
  videoDevices = processedOptions.videoDevices;
18366
18366
  hasVideoFilter = !!properties.videoFilter; // this is needed to refresh current audio input device after previous one was disconnected
18367
18367
  removeDeviceChangeListener = (0, _audioInputDevicesChangeListener.default)(_this, properties._disableAutoDeviceSwitch, properties._audioInputEventName);
18368
- (0, _permissionListener.default)(_this);
18368
+ if (!(OTHelpers.env.name === 'Safari' && OTHelpers.env.version < 16)) {
18369
+ (0, _permissionListener.default)(_this);
18370
+ }
18369
18371
  if (hasVideoFilter) {
18370
18372
  // We need to get the device now, before the filter is applied
18371
18373
  // else the wrong device will be returned/nonsensical