@vonage/client-sdk-video 2.28.6-alpha.16 → 2.28.6-alpha.17

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.28.6 bbc26b0
2
+ * @license OpenTok.js 2.28.6 67d8049
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: Fri, 17 Jan 2025 17:47:35 GMT
8
+ * Date: Tue, 21 Jan 2025 15:31:29 GMT
9
9
  */
10
10
 
11
11
  (function webpackUniversalModuleDefinition(root, factory) {
@@ -8118,7 +8118,7 @@ const logging = (0, _log.default)('StaticConfig');
8118
8118
  */
8119
8119
 
8120
8120
  /** @type builtInConfig */
8121
- const builtInConfig = (0, _cloneDeep.default)({"version":"v2.28.6","buildHash":"bbc26b0","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"});
8121
+ const builtInConfig = (0, _cloneDeep.default)({"version":"v2.28.6","buildHash":"67d8049","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"});
8122
8122
  const whitelistAllowedRuntimeProperties = (0, _pick.default)(['apiURL', 'assetURL', 'cdnURL', 'sessionInfoOverrides', 'loggingURL']);
8123
8123
  const liveConfigMap = {
8124
8124
  apiUrl: 'apiURL',
@@ -17230,7 +17230,7 @@ function PublisherFactory(_ref) {
17230
17230
  reason: 'AccessDenied'
17231
17231
  });
17232
17232
  this.trigger('publishComplete', error);
17233
- this.dispatchEvent(new _Event.default(_eventNames.default.ACCESS_DENIED));
17233
+ this.dispatchEvent((0, _accessDeniedEvent.default)('device', 'while initializing'));
17234
17234
  };
17235
17235
  const userMediaError = error => {
17236
17236
  // See OPENTOK-48099 for more context. In certain instances, this passed-in parameter can be malformed.
@@ -18726,7 +18726,7 @@ function PublisherFactory(_ref) {
18726
18726
  return (0, _permissionListener.default)(hasAudioVideoDevices).then(listener => {
18727
18727
  listener.on('accessDenied', device => {
18728
18728
  _this.accessAllowed = false;
18729
- _this.dispatchEvent((0, _accessDeniedEvent.default)(device));
18729
+ _this.dispatchEvent((0, _accessDeniedEvent.default)(device, 'during the call'));
18730
18730
  });
18731
18731
  });
18732
18732
  case 7:
@@ -74743,7 +74743,7 @@ var _eventNames = _interopRequireDefault(__webpack_require__(30));
74743
74743
  var _exception_codes = _interopRequireDefault(__webpack_require__(10));
74744
74744
  var _events = _interopRequireDefault(__webpack_require__(17));
74745
74745
  const Events = (0, _events.default)();
74746
- var _default = device => new Events.ExceptionEvent(_eventNames.default.ACCESS_DENIED, `${device} permission denied during the call`, 'accessDenied', _exception_codes.default.UNABLE_TO_PUBLISH);
74746
+ var _default = (device, step) => new Events.ExceptionEvent(_eventNames.default.ACCESS_DENIED, `${device} permission denied ${step}`, 'accessDenied', _exception_codes.default.UNABLE_TO_PUBLISH);
74747
74747
  exports.default = _default;
74748
74748
 
74749
74749
  /***/ }),