@webex/plugin-meetings 3.12.0-next.173 → 3.12.0-next.175

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.
@@ -191,7 +191,7 @@ var AIEnableRequest = _webexCore.WebexPlugin.extend({
191
191
  method: _constants.HTTP_VERBS.PUT
192
192
  });
193
193
  },
194
- version: "3.12.0-next.173"
194
+ version: "3.12.0-next.175"
195
195
  });
196
196
  var _default = exports.default = AIEnableRequest;
197
197
  //# sourceMappingURL=index.js.map
@@ -214,7 +214,7 @@ var Breakout = _webexCore.WebexPlugin.extend({
214
214
  sessionId: this.sessionId
215
215
  });
216
216
  },
217
- version: "3.12.0-next.173"
217
+ version: "3.12.0-next.175"
218
218
  });
219
219
  var _default = exports.default = Breakout;
220
220
  //# sourceMappingURL=breakout.js.map
@@ -1230,7 +1230,7 @@ var Breakouts = _webexCore.WebexPlugin.extend({
1230
1230
  this.trigger(_constants.BREAKOUTS.EVENTS.ASK_RETURN_TO_MAIN);
1231
1231
  }
1232
1232
  },
1233
- version: "3.12.0-next.173"
1233
+ version: "3.12.0-next.175"
1234
1234
  });
1235
1235
  var _default = exports.default = Breakouts;
1236
1236
  //# sourceMappingURL=index.js.map
@@ -164,7 +164,8 @@ var AddMediaFailed = exports.AddMediaFailed = /*#__PURE__*/function (_WebexMeeti
164
164
  * @param {string} [options.connectionType] - The ICE connection type at the time of failure (e.g. 'UDP', 'TURN-TLS')
165
165
  * @param {number} [options.selectedCandidatePairChanges] - Number of times the selected candidate pair changed
166
166
  * @param {number} [options.numTransports] - Number of ICE transports
167
- * @param {boolean} [options.iceConnected] - Whether ICE connection was established before the failure
167
+ * @param {boolean} [options.iceConnected] - Whether ICE is connected at the time of failure
168
+ * @param {boolean} [options.iceConnectedAtLeastOnce] - Whether ICE connected at least once before failure
168
169
  */
169
170
  function AddMediaFailed() {
170
171
  var _this;
@@ -176,17 +177,19 @@ var AddMediaFailed = exports.AddMediaFailed = /*#__PURE__*/function (_WebexMeeti
176
177
  (0, _defineProperty2.default)(_this, "selectedCandidatePairChanges", void 0);
177
178
  (0, _defineProperty2.default)(_this, "numTransports", void 0);
178
179
  (0, _defineProperty2.default)(_this, "iceConnected", void 0);
180
+ (0, _defineProperty2.default)(_this, "iceConnectedAtLeastOnce", void 0);
179
181
  _this.cause = options.cause;
180
182
  _this.connectionType = options.connectionType;
181
183
  _this.selectedCandidatePairChanges = options.selectedCandidatePairChanges;
182
184
  _this.numTransports = options.numTransports;
183
185
  _this.iceConnected = options.iceConnected;
186
+ _this.iceConnectedAtLeastOnce = options.iceConnectedAtLeastOnce;
184
187
  return _this;
185
188
  }
186
189
 
187
190
  /**
188
191
  * Returns true if the failure was due to a DTLS handshake failure
189
- * (ICE connected successfully but the overall media connection failed).
192
+ * (ICE is still connected but the overall media connection failed).
190
193
  */
191
194
  (0, _inherits2.default)(AddMediaFailed, _WebexMeetingsError7);
192
195
  return (0, _createClass2.default)(AddMediaFailed, [{
@@ -209,9 +212,11 @@ var MediaConnectionTimedOutError = exports.MediaConnectionTimedOutError = /*#__P
209
212
  (0, _classCallCheck2.default)(this, MediaConnectionTimedOutError);
210
213
  _this2 = _callSuper(this, MediaConnectionTimedOutError, [message]);
211
214
  (0, _defineProperty2.default)(_this2, "iceConnected", void 0);
215
+ (0, _defineProperty2.default)(_this2, "iceConnectedAtLeastOnce", void 0);
212
216
  (0, _defineProperty2.default)(_this2, "cause", void 0);
213
217
  _this2.name = 'MediaConnectionTimedOutError';
214
218
  _this2.iceConnected = iceConnected;
219
+ _this2.iceConnectedAtLeastOnce = cause === null || cause === void 0 ? void 0 : cause.iceConnectedAtLeastOnce;
215
220
  _this2.cause = cause;
216
221
  return _this2;
217
222
  }
@@ -1 +1 @@
1
- {"version":3,"names":["_webexMeetingsError","_interopRequireDefault","require","_callSuper","t","o","e","_getPrototypeOf2","default","_possibleConstructorReturn2","_isNativeReflectConstruct","_Reflect$construct","constructor","apply","Boolean","prototype","valueOf","call","WebExMeetingsErrors","createMeetingsError","code","message","WebexMeetingsError","MeetingNotActiveError","exports","_WebexMeetingsError","_classCallCheck2","CODE","_inherits2","_createClass2","_defineProperty2","UserNotJoinedError","_WebexMeetingsError2","NoMediaEstablishedYetError","_WebexMeetingsError3","UserInLobbyError","_WebexMeetingsError4","SpaceIDDeprecatedError","_WebexMeetingsError5","IceGatheringFailed","_WebexMeetingsError6","AddMediaFailed","_WebexMeetingsError7","_this","options","arguments","length","undefined","cause","connectionType","selectedCandidatePairChanges","numTransports","iceConnected","key","get","MediaConnectionTimedOutError","_Error","_this2","name","_wrapNativeSuper2","Error","SdpResponseTimeoutError","_WebexMeetingsError8"],"sources":["webex-errors.ts"],"sourcesContent":["// The document would auto generate the doc for errors\n\n// 1) Error codes for Oauth, login, mercury should be separated out (Code range)\n// 2) Errors from the actual locus server or other server in case, we can use the same error code as locus and redirect it\n// 3) Any errors we generate from the SDK can be split into various categories\n// Parameter validation, user action, connection, media specific(They can have different range)\n\n// TODO: all the errors from the server need to be captured\n\n// add a way to log and send metrics if needed\nimport WebexMeetingsError from './webex-meetings-error';\n\nconst WebExMeetingsErrors = {};\n\n/**\n * Create a {@link WebexMeetingsError} for a given code and message.\n * @private\n * @param {number} [code] - Error code\n * @param {string} [message] - Error message\n * @returns {WebexMeetingsError}\n */\nexport function createMeetingsError(code?: number, message?: string) {\n code = typeof code === 'number' ? code : 0;\n message = typeof message === 'string' && message ? message : 'Unknown error';\n\n return WebExMeetingsErrors[code]\n ? new WebExMeetingsErrors[code]()\n : new WebexMeetingsError(code, message);\n}\n\n/**\n * @class MeetingNotActiveError\n * @classdesc Raised whenever Meeting has already ended and user tries to do a action.\n * @extends WebexMeetingsError\n * @property {number} code - 30101\n * @property {string} message - 'Meeting has already Ended or not Active'\n */\nclass MeetingNotActiveError extends WebexMeetingsError {\n static CODE = 30101;\n\n constructor() {\n super(MeetingNotActiveError.CODE, 'Meeting has already Ended or not Active');\n }\n}\n\nexport {MeetingNotActiveError};\nWebExMeetingsErrors[MeetingNotActiveError.CODE] = MeetingNotActiveError;\n\n/**\n * @class UserNotJoinedError\n * @classdesc Raised whenever the user has already left the meeting and user tries to do a action.\n * @extends WebexMeetingsError\n * @property {number} code - 30102\n * @property {string} message - 'User has already left the meeting'\n */\nclass UserNotJoinedError extends WebexMeetingsError {\n static CODE = 30102;\n\n constructor() {\n super(\n UserNotJoinedError.CODE,\n 'User currently not in meeting. Please join a meeting before adding media.'\n );\n }\n}\n\nexport {UserNotJoinedError};\nWebExMeetingsErrors[UserNotJoinedError.CODE] = UserNotJoinedError;\n\n/**\n * @class NoMediaEstablishedYetError\n * @classdesc Raised whenever the user has not established media yet.\n * @extends WebexMeetingsError\n * @property {number} code - 30103\n * @property {string} message - error message\n */\nclass NoMediaEstablishedYetError extends WebexMeetingsError {\n static CODE = 30103;\n\n // eslint-disable-next-line require-jsdoc\n constructor() {\n super(\n NoMediaEstablishedYetError.CODE,\n 'Webrtc media connection is missing, call addMedia() first'\n );\n }\n}\n\nexport {NoMediaEstablishedYetError};\nWebExMeetingsErrors[NoMediaEstablishedYetError.CODE] = NoMediaEstablishedYetError;\n\n/**\n * @class UserInLobbyError\n * @classdesc Raised whenever the user is in lobby and not joined yet.\n * @extends WebexMeetingsError\n * @property {number} code - 30104\n * @property {string} message - 'user is still in the lobby or not joined'\n */\nclass UserInLobbyError extends WebexMeetingsError {\n static CODE = 30104;\n\n constructor() {\n super(UserInLobbyError.CODE, 'user is still in the lobby or not joined');\n }\n}\n\nexport {UserInLobbyError};\nWebExMeetingsErrors[UserInLobbyError.CODE] = UserInLobbyError;\n\n/**\n * @class SpaceIDDeprecatedError\n * @classdesc Raised whenever the user passes Space ID as destination for create meeting.\n * @extends WebexMeetingsError\n * @property {number} code - 30105\n * @property {string} message - Using the space ID as a destination is no longer supported. Please refer to the [migration guide](https://github.com/webex/webex-js-sdk/wiki/Migration-to-Unified-Space-Meetings) to migrate to use the meeting ID or SIP address.'\n */\nclass SpaceIDDeprecatedError extends WebexMeetingsError {\n static CODE = 30105;\n\n constructor() {\n super(\n SpaceIDDeprecatedError.CODE,\n 'Using the space ID as a destination is no longer supported. Please refer to the [migration guide](https://github.com/webex/webex-js-sdk/wiki/Migration-to-Unified-Space-Meetings) to migrate to use the meeting ID or SIP address.'\n );\n }\n}\n\nexport {SpaceIDDeprecatedError};\nWebExMeetingsErrors[SpaceIDDeprecatedError.CODE] = SpaceIDDeprecatedError;\n\n/**\n * @class IceGatheringFailed\n * @classdesc Raised whenever ice gathering fails.\n * @extends WebexMeetingsError\n * @property {number} code - 30202\n * @property {string} message - 'user failed ice gathering check network/firewall'\n */\nclass IceGatheringFailed extends WebexMeetingsError {\n static CODE = 30202;\n\n constructor() {\n super(IceGatheringFailed.CODE, 'iceConnection: gethering ice candidate failed');\n }\n}\n\nexport {IceGatheringFailed};\nWebExMeetingsErrors[IceGatheringFailed.CODE] = IceGatheringFailed;\n\n/**\n * @class AddMediaFailed\n * @classdesc Raised whenever we fail to successfully add media to a meeting\n * @extends WebexMeetingsError\n * @property {number} code - 30203\n * @property {string} message - 'Failed to add media'\n * @property {Error} [cause] - The underlying error that caused the failure\n */\nclass AddMediaFailed extends WebexMeetingsError {\n static CODE = 30203;\n cause?: Error;\n connectionType?: string;\n selectedCandidatePairChanges?: number;\n numTransports?: number;\n iceConnected?: boolean;\n\n /**\n * Creates a new AddMediaFailed error\n * @param {Object} options\n * @param {Error} [options.cause] - The underlying error that caused the media addition to fail\n * @param {string} [options.connectionType] - The ICE connection type at the time of failure (e.g. 'UDP', 'TURN-TLS')\n * @param {number} [options.selectedCandidatePairChanges] - Number of times the selected candidate pair changed\n * @param {number} [options.numTransports] - Number of ICE transports\n * @param {boolean} [options.iceConnected] - Whether ICE connection was established before the failure\n */\n constructor(\n options: {\n cause?: Error;\n connectionType?: string;\n selectedCandidatePairChanges?: number;\n numTransports?: number;\n iceConnected?: boolean;\n } = {}\n ) {\n super(AddMediaFailed.CODE, 'Failed to add media');\n this.cause = options.cause;\n this.connectionType = options.connectionType;\n this.selectedCandidatePairChanges = options.selectedCandidatePairChanges;\n this.numTransports = options.numTransports;\n this.iceConnected = options.iceConnected;\n }\n\n /**\n * Returns true if the failure was due to a DTLS handshake failure\n * (ICE connected successfully but the overall media connection failed).\n */\n get isDtlsHandshakeFailure(): boolean {\n return this.iceConnected === true;\n }\n}\nexport {AddMediaFailed};\nWebExMeetingsErrors[AddMediaFailed.CODE] = AddMediaFailed;\n\n/**\n * @class MediaConnectionTimedOutError\n * @classdesc Internal error thrown when the media connection times out waiting to connect.\n */\nclass MediaConnectionTimedOutError extends Error {\n iceConnected: boolean;\n\n cause?: any;\n\n constructor(message: string, iceConnected: boolean, cause?: any) {\n super(message);\n this.name = 'MediaConnectionTimedOutError';\n this.iceConnected = iceConnected;\n this.cause = cause;\n }\n}\nexport {MediaConnectionTimedOutError};\n\n/**\n * @class SdpResponseTimeoutError\n * @classdesc Raised whenever we timeout waiting for remote SDP answer\n * @extends WebexMeetingsError\n * @property {number} code - 30204\n * @property {string} message - 'Timed out waiting for REMOTE SDP ANSWER'\n */\nclass SdpResponseTimeoutError extends WebexMeetingsError {\n static CODE = 30204;\n\n // eslint-disable-next-line require-jsdoc\n constructor() {\n super(SdpResponseTimeoutError.CODE, 'Timed out waiting for REMOTE SDP ANSWER');\n }\n}\n\nexport {SdpResponseTimeoutError};\nWebExMeetingsErrors[SdpResponseTimeoutError.CODE] = SdpResponseTimeoutError;\n"],"mappings":";;;;;;;;;;;;;;;;;AAUA,IAAAA,mBAAA,GAAAC,sBAAA,CAAAC,OAAA;AAAwD,SAAAC,WAAAC,CAAA,EAAAC,CAAA,EAAAC,CAAA,WAAAD,CAAA,OAAAE,gBAAA,CAAAC,OAAA,EAAAH,CAAA,OAAAI,2BAAA,CAAAD,OAAA,EAAAJ,CAAA,EAAAM,yBAAA,KAAAC,kBAAA,CAAAN,CAAA,EAAAC,CAAA,YAAAC,gBAAA,CAAAC,OAAA,EAAAJ,CAAA,EAAAQ,WAAA,IAAAP,CAAA,CAA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I,EAAE,yCAAyC;EAC/E;EAAC,IAAAC,UAAA,CAAApB,OAAA,EAAAqD,uBAAA,EAAAC,oBAAA;EAAA,WAAAjC,aAAA,CAAArB,OAAA,EAAAqD,uBAAA;AAAA,EANmCvC,2BAAkB;AAAA,IAAAQ,gBAAA,CAAAtB,OAAA,EAAlDqD,uBAAuB,UACb,KAAK;AASrB3C,mBAAmB,CAAC2C,uBAAuB,CAAClC,IAAI,CAAC,GAAGkC,uBAAuB","ignoreList":[]}
1
+ {"version":3,"names":["_webexMeetingsError","_interopRequireDefault","require","_callSuper","t","o","e","_getPrototypeOf2","default","_possibleConstructorReturn2","_isNativeReflectConstruct","_Reflect$construct","constructor","apply","Boolean","prototype","valueOf","call","WebExMeetingsErrors","createMeetingsError","code","message","WebexMeetingsError","MeetingNotActiveError","exports","_WebexMeetingsError","_classCallCheck2","CODE","_inherits2","_createClass2","_defineProperty2","UserNotJoinedError","_WebexMeetingsError2","NoMediaEstablishedYetError","_WebexMeetingsError3","UserInLobbyError","_WebexMeetingsError4","SpaceIDDeprecatedError","_WebexMeetingsError5","IceGatheringFailed","_WebexMeetingsError6","AddMediaFailed","_WebexMeetingsError7","_this","options","arguments","length","undefined","cause","connectionType","selectedCandidatePairChanges","numTransports","iceConnected","iceConnectedAtLeastOnce","key","get","MediaConnectionTimedOutError","_Error","_this2","name","_wrapNativeSuper2","Error","SdpResponseTimeoutError","_WebexMeetingsError8"],"sources":["webex-errors.ts"],"sourcesContent":["// The document would auto generate the doc for errors\n\n// 1) Error codes for Oauth, login, mercury should be separated out (Code range)\n// 2) Errors from the actual locus server or other server in case, we can use the same error code as locus and redirect it\n// 3) Any errors we generate from the SDK can be split into various categories\n// Parameter validation, user action, connection, media specific(They can have different range)\n\n// TODO: all the errors from the server need to be captured\n\n// add a way to log and send metrics if needed\nimport WebexMeetingsError from './webex-meetings-error';\n\nconst WebExMeetingsErrors = {};\n\n/**\n * Create a {@link WebexMeetingsError} for a given code and message.\n * @private\n * @param {number} [code] - Error code\n * @param {string} [message] - Error message\n * @returns {WebexMeetingsError}\n */\nexport function createMeetingsError(code?: number, message?: string) {\n code = typeof code === 'number' ? code : 0;\n message = typeof message === 'string' && message ? message : 'Unknown error';\n\n return WebExMeetingsErrors[code]\n ? new WebExMeetingsErrors[code]()\n : new WebexMeetingsError(code, message);\n}\n\n/**\n * @class MeetingNotActiveError\n * @classdesc Raised whenever Meeting has already ended and user tries to do a action.\n * @extends WebexMeetingsError\n * @property {number} code - 30101\n * @property {string} message - 'Meeting has already Ended or not Active'\n */\nclass MeetingNotActiveError extends WebexMeetingsError {\n static CODE = 30101;\n\n constructor() {\n super(MeetingNotActiveError.CODE, 'Meeting has already Ended or not Active');\n }\n}\n\nexport {MeetingNotActiveError};\nWebExMeetingsErrors[MeetingNotActiveError.CODE] = MeetingNotActiveError;\n\n/**\n * @class UserNotJoinedError\n * @classdesc Raised whenever the user has already left the meeting and user tries to do a action.\n * @extends WebexMeetingsError\n * @property {number} code - 30102\n * @property {string} message - 'User has already left the meeting'\n */\nclass UserNotJoinedError extends WebexMeetingsError {\n static CODE = 30102;\n\n constructor() {\n super(\n UserNotJoinedError.CODE,\n 'User currently not in meeting. Please join a meeting before adding media.'\n );\n }\n}\n\nexport {UserNotJoinedError};\nWebExMeetingsErrors[UserNotJoinedError.CODE] = UserNotJoinedError;\n\n/**\n * @class NoMediaEstablishedYetError\n * @classdesc Raised whenever the user has not established media yet.\n * @extends WebexMeetingsError\n * @property {number} code - 30103\n * @property {string} message - error message\n */\nclass NoMediaEstablishedYetError extends WebexMeetingsError {\n static CODE = 30103;\n\n // eslint-disable-next-line require-jsdoc\n constructor() {\n super(\n NoMediaEstablishedYetError.CODE,\n 'Webrtc media connection is missing, call addMedia() first'\n );\n }\n}\n\nexport {NoMediaEstablishedYetError};\nWebExMeetingsErrors[NoMediaEstablishedYetError.CODE] = NoMediaEstablishedYetError;\n\n/**\n * @class UserInLobbyError\n * @classdesc Raised whenever the user is in lobby and not joined yet.\n * @extends WebexMeetingsError\n * @property {number} code - 30104\n * @property {string} message - 'user is still in the lobby or not joined'\n */\nclass UserInLobbyError extends WebexMeetingsError {\n static CODE = 30104;\n\n constructor() {\n super(UserInLobbyError.CODE, 'user is still in the lobby or not joined');\n }\n}\n\nexport {UserInLobbyError};\nWebExMeetingsErrors[UserInLobbyError.CODE] = UserInLobbyError;\n\n/**\n * @class SpaceIDDeprecatedError\n * @classdesc Raised whenever the user passes Space ID as destination for create meeting.\n * @extends WebexMeetingsError\n * @property {number} code - 30105\n * @property {string} message - Using the space ID as a destination is no longer supported. Please refer to the [migration guide](https://github.com/webex/webex-js-sdk/wiki/Migration-to-Unified-Space-Meetings) to migrate to use the meeting ID or SIP address.'\n */\nclass SpaceIDDeprecatedError extends WebexMeetingsError {\n static CODE = 30105;\n\n constructor() {\n super(\n SpaceIDDeprecatedError.CODE,\n 'Using the space ID as a destination is no longer supported. Please refer to the [migration guide](https://github.com/webex/webex-js-sdk/wiki/Migration-to-Unified-Space-Meetings) to migrate to use the meeting ID or SIP address.'\n );\n }\n}\n\nexport {SpaceIDDeprecatedError};\nWebExMeetingsErrors[SpaceIDDeprecatedError.CODE] = SpaceIDDeprecatedError;\n\n/**\n * @class IceGatheringFailed\n * @classdesc Raised whenever ice gathering fails.\n * @extends WebexMeetingsError\n * @property {number} code - 30202\n * @property {string} message - 'user failed ice gathering check network/firewall'\n */\nclass IceGatheringFailed extends WebexMeetingsError {\n static CODE = 30202;\n\n constructor() {\n super(IceGatheringFailed.CODE, 'iceConnection: gethering ice candidate failed');\n }\n}\n\nexport {IceGatheringFailed};\nWebExMeetingsErrors[IceGatheringFailed.CODE] = IceGatheringFailed;\n\n/**\n * @class AddMediaFailed\n * @classdesc Raised whenever we fail to successfully add media to a meeting\n * @extends WebexMeetingsError\n * @property {number} code - 30203\n * @property {string} message - 'Failed to add media'\n * @property {Error} [cause] - The underlying error that caused the failure\n */\nclass AddMediaFailed extends WebexMeetingsError {\n static CODE = 30203;\n cause?: Error;\n connectionType?: string;\n selectedCandidatePairChanges?: number;\n numTransports?: number;\n iceConnected?: boolean;\n iceConnectedAtLeastOnce?: boolean;\n\n /**\n * Creates a new AddMediaFailed error\n * @param {Object} options\n * @param {Error} [options.cause] - The underlying error that caused the media addition to fail\n * @param {string} [options.connectionType] - The ICE connection type at the time of failure (e.g. 'UDP', 'TURN-TLS')\n * @param {number} [options.selectedCandidatePairChanges] - Number of times the selected candidate pair changed\n * @param {number} [options.numTransports] - Number of ICE transports\n * @param {boolean} [options.iceConnected] - Whether ICE is connected at the time of failure\n * @param {boolean} [options.iceConnectedAtLeastOnce] - Whether ICE connected at least once before failure\n */\n constructor(\n options: {\n cause?: Error;\n connectionType?: string;\n selectedCandidatePairChanges?: number;\n numTransports?: number;\n iceConnected?: boolean;\n iceConnectedAtLeastOnce?: boolean;\n } = {}\n ) {\n super(AddMediaFailed.CODE, 'Failed to add media');\n this.cause = options.cause;\n this.connectionType = options.connectionType;\n this.selectedCandidatePairChanges = options.selectedCandidatePairChanges;\n this.numTransports = options.numTransports;\n this.iceConnected = options.iceConnected;\n this.iceConnectedAtLeastOnce = options.iceConnectedAtLeastOnce;\n }\n\n /**\n * Returns true if the failure was due to a DTLS handshake failure\n * (ICE is still connected but the overall media connection failed).\n */\n get isDtlsHandshakeFailure(): boolean {\n return this.iceConnected === true;\n }\n}\nexport {AddMediaFailed};\nWebExMeetingsErrors[AddMediaFailed.CODE] = AddMediaFailed;\n\n/**\n * @class MediaConnectionTimedOutError\n * @classdesc Internal error thrown when the media connection times out waiting to connect.\n */\nclass MediaConnectionTimedOutError extends Error {\n iceConnected: boolean;\n iceConnectedAtLeastOnce?: boolean;\n\n cause?: any;\n\n constructor(message: string, iceConnected: boolean, cause?: any) {\n super(message);\n this.name = 'MediaConnectionTimedOutError';\n this.iceConnected = iceConnected;\n this.iceConnectedAtLeastOnce = cause?.iceConnectedAtLeastOnce;\n this.cause = cause;\n }\n}\nexport {MediaConnectionTimedOutError};\n\n/**\n * @class SdpResponseTimeoutError\n * @classdesc Raised whenever we timeout waiting for remote SDP answer\n * @extends WebexMeetingsError\n * @property {number} code - 30204\n * @property {string} message - 'Timed out waiting for REMOTE SDP ANSWER'\n */\nclass SdpResponseTimeoutError extends WebexMeetingsError {\n static CODE = 30204;\n\n // eslint-disable-next-line require-jsdoc\n constructor() {\n super(SdpResponseTimeoutError.CODE, 'Timed out waiting for REMOTE SDP ANSWER');\n }\n}\n\nexport {SdpResponseTimeoutError};\nWebExMeetingsErrors[SdpResponseTimeoutError.CODE] = SdpResponseTimeoutError;\n"],"mappings":";;;;;;;;;;;;;;;;;AAUA,IAAAA,mBAAA,GAAAC,sBAAA,CAAAC,OAAA;AAAwD,SAAAC,WAAAC,CAAA,EAAAC,CAAA,EAAAC,CAAA,WAAAD,CAAA,OAAAE,gBAAA,CAAAC,OAAA,EAAAH,CAAA,OAAAI,2BAAA,CAAAD,OAAA,EAAAJ,CAAA,EAAAM,yBAAA,KAAAC,kBAAA,CAAAN,CAAA,EAAAC,CAAA,YAAAC,gBAAA,CAAAC,OAAA,EAAAJ,CAAA,EAAAQ,WAAA,IAAAP,CAAA,CAAAQ,KAAA,CAAAT,CAAA,EAAAE,CAAA;AAAA,SAAAI,0BAAA,cAAAN,CAAA,IAAAU,OAAA,CAAAC,SAAA,CAAAC,OAAA,CAAAC,IAAA,CAAAN,kBAAA,CAAAG,OAAA,iCAAAV,CAAA,aAAAM,yBAAA,YAAAA,0BAAA,aAAAN,CAAA,UAVxD;AAEA;AACA;AACA;AACA;AAEA;AAEA;AAGA,IAAMc,mBAAmB,GAAG,CAAC,CAAC;;AAE9B;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAASC,mBAAmBA,CAACC,IAAa,EAAEC,OAAgB,EAAE;EACnED,IAAI,GAAG,OAAOA,IAAI,KAAK,QAAQ,GAAGA,IAAI,GAAG,CAAC;EAC1CC,OAAO,GAAG,OAAOA,OAAO,KAAK,QAAQ,IAAIA,OAAO,GAAGA,OAAO,GAAG,eAAe;E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","ignoreList":[]}
package/dist/constants.js CHANGED
@@ -4,7 +4,7 @@ var _Object$defineProperty = require("@babel/runtime-corejs2/core-js/object/defi
4
4
  _Object$defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
- exports.LIVE = exports.LEAVE = exports.LAYOUT_TYPES = exports.LANGUAGE_ENGLISH = exports.JOIN_LINK_MTID = exports.JOIN_BEFORE_HOST = exports.JOIN = exports.IP_VERSION = exports.IPV4_REGEX = exports.INTERSTITIAL_DISPLAY_HINTS = exports.INTERPRETATION = exports.INTENT_TO_JOIN = exports.INITIAL_REGISTRATION_STATUS = exports.ICE_TIMEOUT = exports.ICE_STATE = exports.ICE_GATHERING_STATE = exports.ICE_FAIL_TIMEOUT = exports.ICE_AND_DTLS_CONNECTION_TIMEOUT = exports.HTTP_VERBS = exports.HTTPS_PROTOCOL = exports.HOST = exports.HECATE = exports.HEADERS = exports.GATHERING = exports.FULL_STATE = exports.FLOOR_ACTION = exports.EVENT_TYPES = exports.EVENT_TRIGGERS = exports.EVENTS = exports.ERROR_DICTIONARY = exports.ERROR = exports.ENDED = exports.END = exports.EMBEDDED_APP_TYPES = exports.DISPLAY_HINTS = exports.DIALER_REGEX = exports.DEVELOPMENT = exports.DESTINATION_TYPE = exports.DEFAULT_MEETING_INFO_REQUEST_BODY = exports.DEFAULT_LARGE_SCALE_WEBINAR_ATTENDEE_SEARCH_LIMIT = exports.DEFAULT_EXCLUDED_STATS = exports.DECLINE = exports.CORRELATION_ID = exports.CONVERSATION_URL = exports.CONVERSATION_SERVICE = exports.CONTROLS = exports.CONTENT = exports.CONNECTION_STATE = exports.COMPLETE = exports.CMR_MEETINGS = exports.CLAIM = exports.CALL_REMOVED_REASON = exports.CALL = exports.CALENDAR_EVENTS_API = exports.CALENDAR_EVENTS = exports.CALENDAR = exports.BREAKOUTS = exports.BNR_STATUS = exports.AVAILABLE_RESOLUTIONS = exports.AUDIO_STATUS = exports.AUDIO = exports.ASSIGN_ROLES_ERROR_CODES = exports.API = exports.ANSWER = exports.ANNOTATION = exports.ALTERNATE_REDIRECT_TRUE = exports.ALIAS = exports.ALERT = exports.AI_ENABLE_REQUEST = void 0;
7
+ exports.LIVE = exports.LEAVE = exports.LAYOUT_TYPES = exports.LANGUAGE_ENGLISH = exports.JOIN_LINK_MTID = exports.JOIN_BEFORE_HOST = exports.JOIN = exports.IP_VERSION = exports.IPV4_REGEX = exports.INTERSTITIAL_DISPLAY_HINTS = exports.INTERPRETATION = exports.INTENT_TO_JOIN = exports.INITIAL_REGISTRATION_STATUS = exports.ICE_TIMEOUT = exports.ICE_STATE = exports.ICE_GATHERING_STATE = exports.ICE_FAIL_TIMEOUT = exports.ICE_CONNECTION_TIMEOUT = exports.HTTP_VERBS = exports.HTTPS_PROTOCOL = exports.HOST = exports.HECATE = exports.HEADERS = exports.GATHERING = exports.FULL_STATE = exports.FLOOR_ACTION = exports.EVENT_TYPES = exports.EVENT_TRIGGERS = exports.EVENTS = exports.ERROR_DICTIONARY = exports.ERROR = exports.ENDED = exports.END = exports.EMBEDDED_APP_TYPES = exports.DTLS_CONNECTION_TIMEOUT = exports.DISPLAY_HINTS = exports.DIALER_REGEX = exports.DEVELOPMENT = exports.DESTINATION_TYPE = exports.DEFAULT_MEETING_INFO_REQUEST_BODY = exports.DEFAULT_LARGE_SCALE_WEBINAR_ATTENDEE_SEARCH_LIMIT = exports.DEFAULT_EXCLUDED_STATS = exports.DECLINE = exports.CORRELATION_ID = exports.CONVERSATION_URL = exports.CONVERSATION_SERVICE = exports.CONTROLS = exports.CONTENT = exports.CONNECTION_STATE = exports.COMPLETE = exports.CMR_MEETINGS = exports.CLAIM = exports.CALL_REMOVED_REASON = exports.CALL = exports.CALENDAR_EVENTS_API = exports.CALENDAR_EVENTS = exports.CALENDAR = exports.BREAKOUTS = exports.BNR_STATUS = exports.AVAILABLE_RESOLUTIONS = exports.AUDIO_STATUS = exports.AUDIO = exports.ASSIGN_ROLES_ERROR_CODES = exports.API = exports.ANSWER = exports.ANNOTATION = exports.ALTERNATE_REDIRECT_TRUE = exports.ALIAS = exports.ALERT = exports.AI_ENABLE_REQUEST = void 0;
8
8
  _Object$defineProperty(exports, "LLM_DEFAULT_SESSION", {
9
9
  enumerable: true,
10
10
  get: function get() {
@@ -17,9 +17,9 @@ _Object$defineProperty(exports, "LLM_PRACTICE_SESSION", {
17
17
  return _internalPluginLlm.LLM_PRACTICE_SESSION;
18
18
  }
19
19
  });
20
- exports.MEET_CISCO = exports.MEETING_VIDEO_STATE_MACHINE = exports.MEETING_STATE_MACHINE = exports.MEETING_STATE = exports.MEETING_REMOVED_REASON = exports.MEETING_PERMISSION_TOKEN_REFRESH_THRESHOLD_IN_SEC = exports.MEETING_PERMISSION_TOKEN_REFRESH_REASON = exports.MEETING_INFO_FAILURE_REASON = exports.MEETING_ERRORS = exports.MEETING_END_REASON = exports.MEETING_AUDIO_STATE_MACHINE = exports.MEETINGS = exports.MEETINGNUMBER = exports.MEETINGINFO = exports.MEET = exports.MEDIA_TRACK_CONSTRAINT = exports.MEDIA_STATE = exports.MEDIA_PEER_CONNECTION_NAME = exports.MEDIA_DEVICES = exports.MEDIA = exports.MAX_RANDOM_DELAY_FOR_MEETING_INFO = exports.LOCUS_URL = exports.LOCUS_LLM_EVENT = exports.LOCUSINFO = exports.LOCUSEVENT = exports.LOCUS = exports.LOCI = exports.LOCAL_SHARE_ERRORS = exports.LOCAL = void 0;
21
- exports._WAIT_ = exports._USER_ = exports._UNKNOWN_ = exports._S_LINE = exports._SPACE_SHARE_ = exports._SLIDES_ = exports._SIP_URI_ = exports._SIP_BRIDGE_ = exports._SEND_RECEIVE_ = exports._SEND_ONLY_ = exports._ROOM_ = exports._RESOURCE_ROOM_ = exports._REQUESTED_ = exports._REMOVE_ = exports._RECEIVE_ONLY_ = exports._PERSONAL_ROOM_ = exports._PEOPLE_ = exports._ON_HOLD_LOBBY_ = exports._OBSERVE_ = exports._NOT_IN_MEETING_ = exports._NONE_ = exports._MOVE_MEDIA_ = exports._MOVED_ = exports._MEETING_UUID_ = exports._MEETING_LINK_ = exports._MEETING_ID_ = exports._MEETING_CENTER_ = exports._MEETING_ = exports._LOCUS_ID_ = exports._LEFT_ = exports._JOIN_ = exports._JOINED_ = exports._IN_MEETING_ = exports._IN_LOBBY_ = exports._IN_ = exports._INCOMING_ = exports._INACTIVE_ = exports._ID_ = exports._IDLE_ = exports._FORCED_ = exports._ERROR_ = exports._CREATED_ = exports._CONVERSATION_URL_ = exports._CONFLICT_ = exports._CALL_ = exports._ANSWER_ = exports._ACTIVE_ = exports.WWW_DOT = exports.WHITEBOARD = exports.WEBINAR_ERROR_WEBCAST = exports.WEBINAR_ERROR_REGISTRATION_ID = exports.WEBEX_DOT_COM = exports.WBXAPPAPI_SERVICE = exports.VIDEO_STATUS = exports.VIDEO = exports.VALID_PMR_LINK = exports.VALID_PMR_ADDRESS = exports.VALID_PIN = exports.VALID_EMAIL_ADDRESS = exports.UUID_REG = exports.USE_URI_LOOKUP_FALSE = exports.TYPE = exports.STAGE_MANAGER_TYPE = exports.SIP_URI = exports.SHARE_STOPPED_REASON = exports.SHARE_STATUS = exports.SHARE_PEER_CONNECTION_NAME = exports.SHARE = exports.SEND_DTMF_ENDPOINT = exports.SENDRECV = exports.SELF_ROLES = exports.SELF_POLICY = exports.ROAP_OFFER_ANSWER_EXCHANGE_TIMEOUT = exports.ROAP = exports.RETRY_TIMEOUT = exports.RESOURCE = exports.REMOTE = exports.REGISTRATION_ID_STATUS = exports.RECORDING_STATE = exports.RECONNECTION = exports.READY = exports.REACHABILITY = exports.QUALITY_LEVELS = exports.PSTN_STATUS = exports.PROVISIONAL_TYPE_DIAL_OUT = exports.PROVISIONAL_TYPE_DIAL_IN = exports.PEER_CONNECTION_STATE = exports.PASSWORD_STATUS = exports.PARTICIPANT_DELTAS = exports.PARTICIPANT = exports.ONLINE = exports.OFFLINE = exports.NETWORK_STATUS = exports.NAMED_MEDIA_GROUP_TYPE_AUDIO = exports.MediaContent = exports.MQA_INTERVAL = exports.MODERATOR_TRUE = exports.MODERATOR_FALSE = exports.MEET_M = exports.MEET_CO = void 0;
22
- exports._WEBEX_MEETING_ = void 0;
20
+ exports.MEETING_VIDEO_STATE_MACHINE = exports.MEETING_STATE_MACHINE = exports.MEETING_STATE = exports.MEETING_REMOVED_REASON = exports.MEETING_PERMISSION_TOKEN_REFRESH_THRESHOLD_IN_SEC = exports.MEETING_PERMISSION_TOKEN_REFRESH_REASON = exports.MEETING_INFO_FAILURE_REASON = exports.MEETING_ERRORS = exports.MEETING_END_REASON = exports.MEETING_AUDIO_STATE_MACHINE = exports.MEETINGS = exports.MEETINGNUMBER = exports.MEETINGINFO = exports.MEET = exports.MEDIA_TRACK_CONSTRAINT = exports.MEDIA_STATE = exports.MEDIA_PEER_CONNECTION_NAME = exports.MEDIA_DEVICES = exports.MEDIA = exports.MAX_RANDOM_DELAY_FOR_MEETING_INFO = exports.LOCUS_URL = exports.LOCUS_LLM_EVENT = exports.LOCUSINFO = exports.LOCUSEVENT = exports.LOCUS = exports.LOCI = exports.LOCAL_SHARE_ERRORS = exports.LOCAL = void 0;
21
+ exports._USER_ = exports._UNKNOWN_ = exports._S_LINE = exports._SPACE_SHARE_ = exports._SLIDES_ = exports._SIP_URI_ = exports._SIP_BRIDGE_ = exports._SEND_RECEIVE_ = exports._SEND_ONLY_ = exports._ROOM_ = exports._RESOURCE_ROOM_ = exports._REQUESTED_ = exports._REMOVE_ = exports._RECEIVE_ONLY_ = exports._PERSONAL_ROOM_ = exports._PEOPLE_ = exports._ON_HOLD_LOBBY_ = exports._OBSERVE_ = exports._NOT_IN_MEETING_ = exports._NONE_ = exports._MOVE_MEDIA_ = exports._MOVED_ = exports._MEETING_UUID_ = exports._MEETING_LINK_ = exports._MEETING_ID_ = exports._MEETING_CENTER_ = exports._MEETING_ = exports._LOCUS_ID_ = exports._LEFT_ = exports._JOIN_ = exports._JOINED_ = exports._IN_MEETING_ = exports._IN_LOBBY_ = exports._IN_ = exports._INCOMING_ = exports._INACTIVE_ = exports._ID_ = exports._IDLE_ = exports._FORCED_ = exports._ERROR_ = exports._CREATED_ = exports._CONVERSATION_URL_ = exports._CONFLICT_ = exports._CALL_ = exports._ANSWER_ = exports._ACTIVE_ = exports.WWW_DOT = exports.WHITEBOARD = exports.WEBINAR_ERROR_WEBCAST = exports.WEBINAR_ERROR_REGISTRATION_ID = exports.WEBEX_DOT_COM = exports.WBXAPPAPI_SERVICE = exports.VIDEO_STATUS = exports.VIDEO = exports.VALID_PMR_LINK = exports.VALID_PMR_ADDRESS = exports.VALID_PIN = exports.VALID_EMAIL_ADDRESS = exports.UUID_REG = exports.USE_URI_LOOKUP_FALSE = exports.TYPE = exports.STAGE_MANAGER_TYPE = exports.SIP_URI = exports.SHARE_STOPPED_REASON = exports.SHARE_STATUS = exports.SHARE_PEER_CONNECTION_NAME = exports.SHARE = exports.SEND_DTMF_ENDPOINT = exports.SENDRECV = exports.SELF_ROLES = exports.SELF_POLICY = exports.ROAP_OFFER_ANSWER_EXCHANGE_TIMEOUT = exports.ROAP = exports.RETRY_TIMEOUT = exports.RESOURCE = exports.REMOTE = exports.REGISTRATION_ID_STATUS = exports.RECORDING_STATE = exports.RECONNECTION = exports.READY = exports.REACHABILITY = exports.QUALITY_LEVELS = exports.PSTN_STATUS = exports.PROVISIONAL_TYPE_DIAL_OUT = exports.PROVISIONAL_TYPE_DIAL_IN = exports.PEER_CONNECTION_STATE = exports.PASSWORD_STATUS = exports.PARTICIPANT_DELTAS = exports.PARTICIPANT = exports.ONLINE = exports.OFFLINE = exports.NETWORK_STATUS = exports.NAMED_MEDIA_GROUP_TYPE_AUDIO = exports.MediaContent = exports.MQA_INTERVAL = exports.MODERATOR_TRUE = exports.MODERATOR_FALSE = exports.MEET_M = exports.MEET_CO = exports.MEET_CISCO = void 0;
22
+ exports._WEBEX_MEETING_ = exports._WAIT_ = void 0;
23
23
  var _common = require("@webex/common");
24
24
  var _internalPluginLlm = require("@webex/internal-plugin-llm");
25
25
  // @ts-ignore
@@ -181,7 +181,8 @@ var INTENT_TO_JOIN = exports.INTENT_TO_JOIN = [2423005, 2423006, 2423016, 242301
181
181
  var ICE_TIMEOUT = exports.ICE_TIMEOUT = 2000;
182
182
  var ICE_FAIL_TIMEOUT = exports.ICE_FAIL_TIMEOUT = 3000;
183
183
  var RETRY_TIMEOUT = exports.RETRY_TIMEOUT = 3000;
184
- var ICE_AND_DTLS_CONNECTION_TIMEOUT = exports.ICE_AND_DTLS_CONNECTION_TIMEOUT = 20000;
184
+ var ICE_CONNECTION_TIMEOUT = exports.ICE_CONNECTION_TIMEOUT = 20000;
185
+ var DTLS_CONNECTION_TIMEOUT = exports.DTLS_CONNECTION_TIMEOUT = 7000;
185
186
  var ROAP_OFFER_ANSWER_EXCHANGE_TIMEOUT = exports.ROAP_OFFER_ANSWER_EXCHANGE_TIMEOUT = 35000;
186
187
  var WEBINAR_ERROR_WEBCAST = exports.WEBINAR_ERROR_WEBCAST = [403026];
187
188
  var WEBINAR_ERROR_REGISTRATION_ID = exports.WEBINAR_ERROR_REGISTRATION_ID = [403037, 403137];