@opentok/client 2.27.3-beta.11 → 2.27.3-beta.12

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.11 cc7cf2d
2
+ * @license OpenTok.js 2.27.3-beta.12 da1d375
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, 20 Jun 2024 21:46:50 GMT
8
+ * Date: Thu, 18 Jul 2024 16:30:44 GMT
9
9
  */
10
10
 
11
11
  (function webpackUniversalModuleDefinition(root, factory) {
@@ -7944,7 +7944,7 @@ const logging = (0, _log.default)('StaticConfig');
7944
7944
  */
7945
7945
 
7946
7946
  /** @type builtInConfig */
7947
- const builtInConfig = (0, _cloneDeep.default)({"version":"v2.27.3-beta.11","buildHash":"cc7cf2d","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"});
7947
+ const builtInConfig = (0, _cloneDeep.default)({"version":"v2.27.3-beta.12","buildHash":"da1d375","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"});
7948
7948
  const whitelistAllowedRuntimeProperties = (0, _pick.default)(['apiURL', 'assetURL', 'cdnURL', 'sessionInfoOverrides', 'loggingURL']);
7949
7949
  const liveConfigMap = {
7950
7950
  apiUrl: 'apiURL',
@@ -23936,6 +23936,9 @@ function NativeVideoElementWrapperFactory(deps) {
23936
23936
  // it won't play.
23937
23937
  watcherIntervalTimeout = 1000;
23938
23938
  shouldPlay = _env.default.isiOS;
23939
+ if (this._audioOnlyVideoElementWatcher) {
23940
+ clearInterval(this._audioOnlyVideoElementWatcher);
23941
+ }
23939
23942
  this._audioOnlyVideoElementWatcher = setInterval(() => {
23940
23943
  if (this._domAudioOnlyVideoElement && this._domAudioOnlyVideoElement.paused) {
23941
23944
  this._domAudioOnlyVideoElement.srcObject = this._domAudioOnlyVideoElement.srcObject;
@@ -23944,12 +23947,12 @@ function NativeVideoElementWrapperFactory(deps) {
23944
23947
  }
23945
23948
  }
23946
23949
  }, 100);
23947
- _context4.next = 5;
23950
+ _context4.next = 6;
23948
23951
  return (0, _promiseDelay.default)(watcherIntervalTimeout);
23949
- case 5:
23952
+ case 6:
23950
23953
  clearInterval(this._audioOnlyVideoElementWatcher);
23951
23954
  this._audioOnlyVideoElementWatcher = null;
23952
- case 7:
23955
+ case 8:
23953
23956
  case "end":
23954
23957
  return _context4.stop();
23955
23958
  }