@webex/plugin-meetings 1.158.0 → 1.159.2

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/config.js CHANGED
@@ -100,7 +100,8 @@ var _default = {
100
100
  enableExtmap: false,
101
101
  experimental: {
102
102
  enableMediaNegotiatedEvent: false,
103
- enableUnifiedMeetings: false
103
+ enableUnifiedMeetings: false,
104
+ enableAdhocMeetings: false
104
105
  }
105
106
  }
106
107
  };
@@ -1 +1 @@
1
- {"version":3,"sources":["config.js"],"names":["meetings","deviceType","WEB","mediaSettings","sendAudio","sendVideo","receiveAudio","receiveVideo","pstn","sendShare","receiveShare","reconnection","enabled","autoRejoin","detection","iceReconnectionTimeout","maxRejoinAttempts","stats","enableStatsAnalyzer","autoDowngradeEnabled","interval","analyzerInterval","historyMax","videoPacketLossRatioThreshold","rttThreshold","jitterThreshold","metrics","clientName","clientType","subClientType","mqaMetricsInterval","autoSendMQA","logging","enable","verboseEvents","resolution","maxWidth","maxHeight","idealWidth","idealHeight","screenResolution","bandwidth","audio","video","startBitrate","screenFrameRate","videoShareFrameRate","aspectRatio","autoUploadLogs","enableRtx","receiveTranscription","enableExtmap","experimental","enableMediaNegotiatedEvent","enableUnifiedMeetings"],"mappings":";;;;;;;;;;AAAA;;eAIe;AACb;AACA;AACA;AACAA,EAAAA,QAAQ,EAAE;AACRC,IAAAA,UAAU,EAAEA,mBAAWC,GADf;AAERC,IAAAA,aAAa,EAAE;AACbC,MAAAA,SAAS,EAAE,IADE;AAEbC,MAAAA,SAAS,EAAE,IAFE;AAGbC,MAAAA,YAAY,EAAE,IAHD;AAIbC,MAAAA,YAAY,EAAE,IAJD;AAKbC,MAAAA,IAAI,EAAE,KALO;AAMbC,MAAAA,SAAS,EAAE,KANE;AAObC,MAAAA,YAAY,EAAE;AAPD,KAFP;AAWRC,IAAAA,YAAY,EAAE;AACZC,MAAAA,OAAO,EAAE,KADG;AAEZC,MAAAA,UAAU,EAAE,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KAAK,EAAE,OAJE;AAKTC,MAAAA,YAAY,EAAE;AALL,KAlEH;AAyERC,IAAAA,eAAe,EAAE,EAzET;AA0ERC,IAAAA,mBAAmB,EAAE,EA1Eb;AA2ERC,IAAAA,WAAW,EAAE,kBA3EL;AA4ER;AACAC,IAAAA,cAAc,EAAE,IA7ER;AA8ERC,IAAAA,SAAS,EAAE,IA9EH;AA+ERC,IAAAA,oBAAoB,EAAE,KA/Ed;AAgFRC,IAAAA,YAAY,EAAE,KAhFN;AAiFRC,IAAAA,YAAY,EAAE;AACZC,MAAAA,0BAA0B,EAAE,KADhB;AAEZC,MAAAA,qBAAqB,EAAE;AAFX;AAjFN;AAJG,C","sourcesContent":["import {\n deviceType\n} from '@webex/common';\n\nexport default {\n // TODO: this needs to be defaulted\n // to JS_SDK and clients set it to WEB or others\n // see https://jira-eng-gpk2.cisco.com/jira/browse/SPARK-73167\n meetings: {\n deviceType: deviceType.WEB,\n mediaSettings: {\n sendAudio: true,\n sendVideo: true,\n receiveAudio: true,\n receiveVideo: true,\n pstn: false,\n sendShare: false,\n receiveShare: false\n },\n reconnection: {\n enabled: false,\n autoRejoin: true,\n detection: true,\n // Timeout duration to wait for ICE to reconnect if a disconnect is received.\n iceReconnectionTimeout: 10000,\n // Amount of times attempting to rejoin a meeting during reconnect\n maxRejoinAttempts: 3\n },\n stats: {\n // Enable the webrtc stats analyzer that emits quality degradation events\n enableStatsAnalyzer: true,\n // Enable the auto downgrade video quality feature\n autoDowngradeEnabled: false,\n // 1 second intervals to collect stats data\n interval: 1000,\n // we just want to analyze data every 5 sec interval\n analyzerInterval: 5000,\n // hold the last 2 minute of a calls data\n historyMax: 120,\n // Once packet loss hits this ratio, the video will downgrade\n videoPacketLossRatioThreshold: 9, // comparison of packets lost / packets received\n rttThreshold: 500, // 500 ms noticeable quality lag begins based on bandwidth of user\n jitterThreshold: 500 // 500 ms noticeable quality lag begins based on bandwidth of user\n },\n metrics: {\n // change to your client name else data will be muddled\n // you do not need a specific format, and you do not need to register it\n clientName: 'WEBEX_JS_SDK',\n // TODO: for now this line has to be whitelisted, which is problematic for third party\n clientType: 'WEBEX_SDK',\n // Stores the sub client type used when sending metrics\n subClientType: 'WEB_APP',\n // send average values MQA in 60 second intervals\n mqaMetricsInterval: 60000,\n // send to cisco internal MQA data automatically\n // we already send CA\n autoSendMQA: true\n },\n logging: {\n enable: true,\n verboseEvents: true\n },\n resolution: {\n maxWidth: 1280,\n maxHeight: 720,\n idealWidth: 1280,\n idealHeight: 720\n },\n screenResolution: {\n maxWidth: 1920,\n maxHeight: 1080,\n idealWidth: 1920,\n idealHeight: 1080\n },\n bandwidth: {\n // please note, these are the maximum bandwidth values\n // the server supports, minimums have to be tested\n audio: 64000,\n video: 4000000,\n startBitrate: 2000\n },\n screenFrameRate: 10,\n videoShareFrameRate: 30,\n aspectRatio: 1.7695852534562213,\n // When enabled, as calls are ended, it will upload the SDK logs and correlate them\n autoUploadLogs: true,\n enableRtx: true,\n receiveTranscription: false,\n enableExtmap: false,\n experimental: {\n enableMediaNegotiatedEvent: false,\n enableUnifiedMeetings: false\n }\n }\n};\n"]}
1
+ {"version":3,"sources":["config.js"],"names":["meetings","deviceType","WEB","mediaSettings","sendAudio","sendVideo","receiveAudio","receiveVideo","pstn","sendShare","receiveShare","reconnection","enabled","autoRejoin","detection","iceReconnectionTimeout","maxRejoinAttempts","stats","enableStatsAnalyzer","autoDowngradeEnabled","interval","analyzerInterval","historyMax","videoPacketLossRatioThreshold","rttThreshold","jitterThreshold","metrics","clientName","clientType","subClientType","mqaMetricsInterval","autoSendMQA","logging","enable","verboseEvents","resolution","maxWidth","maxHeight","idealWidth","idealHeight","screenResolution","bandwidth","audio","video","startBitrate","screenFrameRate","videoShareFrameRate","aspectRatio","autoUploadLogs","enableRtx","receiveTranscription","enableExtmap","experimental","enableMediaNegotiatedEvent","enableUnifiedMeetings","enableAdhocMeetings"],"mappings":";;;;;;;;;;AAAA;;eAIe;AACb;AACA;AACA;AACAA,EAAAA,Q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VC,MAAAA,QAAQ,EAAE,IADA;AAEVC,MAAAA,SAAS,EAAE,GAFD;AAGVC,MAAAA,UAAU,EAAE,IAHF;AAIVC,MAAAA,WAAW,EAAE;AAJH,KAtDJ;AA4DRC,IAAAA,gBAAgB,EAAE;AAChBJ,MAAAA,QAAQ,EAAE,IADM;AAEhBC,MAAAA,SAAS,EAAE,IAFK;AAGhBC,MAAAA,UAAU,EAAE,IAHI;AAIhBC,MAAAA,WAAW,EAAE;AAJG,KA5DV;AAkERE,IAAAA,SAAS,EAAE;AACT;AACA;AACAC,MAAAA,KAAK,EAAE,KAHE;AAITC,MAAAA,KAAK,EAAE,OAJE;AAKTC,MAAAA,YAAY,EAAE;AALL,KAlEH;AAyERC,IAAAA,eAAe,EAAE,EAzET;AA0ERC,IAAAA,mBAAmB,EAAE,EA1Eb;AA2ERC,IAAAA,WAAW,EAAE,kBA3EL;AA4ER;AACAC,IAAAA,cAAc,EAAE,IA7ER;AA8ERC,IAAAA,SAAS,EAAE,IA9EH;AA+ERC,IAAAA,oBAAoB,EAAE,KA/Ed;AAgFRC,IAAAA,YAAY,EAAE,KAhFN;AAiFRC,IAAAA,YAAY,EAAE;AACZC,MAAAA,0BAA0B,EAAE,KADhB;AAEZC,MAAAA,qBAAqB,EAAE,KAFX;AAGZC,MAAAA,mBAAmB,EAAE;AAHT;AAjFN;AAJG,C","sourcesContent":["import {\n deviceType\n} from '@webex/common';\n\nexport default {\n // TODO: this needs to be defaulted\n // to JS_SDK and clients set it to WEB or others\n // see https://jira-eng-gpk2.cisco.com/jira/browse/SPARK-73167\n meetings: {\n deviceType: deviceType.WEB,\n mediaSettings: {\n sendAudio: true,\n sendVideo: true,\n receiveAudio: true,\n receiveVideo: true,\n pstn: false,\n sendShare: false,\n receiveShare: false\n },\n reconnection: {\n enabled: false,\n autoRejoin: true,\n detection: true,\n // Timeout duration to wait for ICE to reconnect if a disconnect is received.\n iceReconnectionTimeout: 10000,\n // Amount of times attempting to rejoin a meeting during reconnect\n maxRejoinAttempts: 3\n },\n stats: {\n // Enable the webrtc stats analyzer that emits quality degradation events\n enableStatsAnalyzer: true,\n // Enable the auto downgrade video quality feature\n autoDowngradeEnabled: false,\n // 1 second intervals to collect stats data\n interval: 1000,\n // we just want to analyze data every 5 sec interval\n analyzerInterval: 5000,\n // hold the last 2 minute of a calls data\n historyMax: 120,\n // Once packet loss hits this ratio, the video will downgrade\n videoPacketLossRatioThreshold: 9, // comparison of packets lost / packets received\n rttThreshold: 500, // 500 ms noticeable quality lag begins based on bandwidth of user\n jitterThreshold: 500 // 500 ms noticeable quality lag begins based on bandwidth of user\n },\n metrics: {\n // change to your client name else data will be muddled\n // you do not need a specific format, and you do not need to register it\n clientName: 'WEBEX_JS_SDK',\n // TODO: for now this line has to be whitelisted, which is problematic for third party\n clientType: 'WEBEX_SDK',\n // Stores the sub client type used when sending metrics\n subClientType: 'WEB_APP',\n // send average values MQA in 60 second intervals\n mqaMetricsInterval: 60000,\n // send to cisco internal MQA data automatically\n // we already send CA\n autoSendMQA: true\n },\n logging: {\n enable: true,\n verboseEvents: true\n },\n resolution: {\n maxWidth: 1280,\n maxHeight: 720,\n idealWidth: 1280,\n idealHeight: 720\n },\n screenResolution: {\n maxWidth: 1920,\n maxHeight: 1080,\n idealWidth: 1920,\n idealHeight: 1080\n },\n bandwidth: {\n // please note, these are the maximum bandwidth values\n // the server supports, minimums have to be tested\n audio: 64000,\n video: 4000000,\n startBitrate: 2000\n },\n screenFrameRate: 10,\n videoShareFrameRate: 30,\n aspectRatio: 1.7695852534562213,\n // When enabled, as calls are ended, it will upload the SDK logs and correlate them\n autoUploadLogs: true,\n enableRtx: true,\n receiveTranscription: false,\n enableExtmap: false,\n experimental: {\n enableMediaNegotiatedEvent: false,\n enableUnifiedMeetings: false,\n enableAdhocMeetings: false\n }\n }\n};\n"]}
@@ -820,6 +820,24 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
820
820
  * @memberof Meeting
821
821
  */
822
822
 
823
+ _this.destination = attrs.destination;
824
+ /**
825
+ * @instance
826
+ * @type {String}
827
+ * @readonly
828
+ * @public
829
+ * @memberof Meeting
830
+ */
831
+
832
+ _this.destinationType = attrs.destinationType;
833
+ /**
834
+ * @instance
835
+ * @type {String}
836
+ * @readonly
837
+ * @public
838
+ * @memberof Meeting
839
+ */
840
+
823
841
  _this.partner = null;
824
842
  /**
825
843
  * @instance
@@ -1176,13 +1194,13 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
1176
1194
  key: "fetchMeetingInfo",
1177
1195
  value: function () {
1178
1196
  var _fetchMeetingInfo = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(_ref4) {
1179
- var destination, type, _ref4$password, password, _ref4$captchaCode, captchaCode, captchaInfo, info, _err$body, _err$body2;
1197
+ var _ref4$password, password, _ref4$captchaCode, captchaCode, captchaInfo, info, _err$body, _err$body2;
1180
1198
 
1181
1199
  return _regenerator.default.wrap(function _callee$(_context) {
1182
1200
  while (1) {
1183
1201
  switch (_context.prev = _context.next) {
1184
1202
  case 0:
1185
- destination = _ref4.destination, type = _ref4.type, _ref4$password = _ref4.password, password = _ref4$password === void 0 ? null : _ref4$password, _ref4$captchaCode = _ref4.captchaCode, captchaCode = _ref4$captchaCode === void 0 ? null : _ref4$captchaCode;
1203
+ _ref4$password = _ref4.password, password = _ref4$password === void 0 ? null : _ref4$password, _ref4$captchaCode = _ref4.captchaCode, captchaCode = _ref4$captchaCode === void 0 ? null : _ref4$captchaCode;
1186
1204
 
1187
1205
  if (!(captchaCode && !this.requiredCaptcha)) {
1188
1206
  _context.next = 3;
@@ -1206,7 +1224,7 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
1206
1224
  id: this.requiredCaptcha.captchaId
1207
1225
  } : null;
1208
1226
  _context.next = 9;
1209
- return this.attrs.meetingInfoProvider.fetchMeetingInfo(destination, type, password, captchaInfo);
1227
+ return this.attrs.meetingInfoProvider.fetchMeetingInfo(this.destination, this.destinationType, password, captchaInfo);
1210
1228
 
1211
1229
  case 9:
1212
1230
  info = _context.sent;
@@ -1232,7 +1250,7 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
1232
1250
  break;
1233
1251
  }
1234
1252
 
1235
- _loggerProxy.default.logger.info("Meeting:index#fetchMeetingInfo --> Info Unable to fetch meeting info for ".concat(destination, " - password required (code=").concat(_context.t0 === null || _context.t0 === void 0 ? void 0 : (_err$body = _context.t0.body) === null || _err$body === void 0 ? void 0 : _err$body.code, ").")); // when wbxappapi requires password it still populates partial meeting info in the response
1253
+ _loggerProxy.default.logger.info("Meeting:index#fetchMeetingInfo --> Info Unable to fetch meeting info for ".concat(this.destination, " - password required (code=").concat(_context.t0 === null || _context.t0 === void 0 ? void 0 : (_err$body = _context.t0.body) === null || _err$body === void 0 ? void 0 : _err$body.code, ").")); // when wbxappapi requires password it still populates partial meeting info in the response
1236
1254
 
1237
1255
 
1238
1256
  if (_context.t0.meetingInfo) {
@@ -1260,7 +1278,7 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
1260
1278
  break;
1261
1279
  }
1262
1280
 
1263
- _loggerProxy.default.logger.info("Meeting:index#fetchMeetingInfo --> Info Unable to fetch meeting info for ".concat(destination, " - captcha required (code=").concat(_context.t0 === null || _context.t0 === void 0 ? void 0 : (_err$body2 = _context.t0.body) === null || _err$body2 === void 0 ? void 0 : _err$body2.code, ")."));
1281
+ _loggerProxy.default.logger.info("Meeting:index#fetchMeetingInfo --> Info Unable to fetch meeting info for ".concat(this.destination, " - captcha required (code=").concat(_context.t0 === null || _context.t0 === void 0 ? void 0 : (_err$body2 = _context.t0.body) === null || _err$body2 === void 0 ? void 0 : _err$body2.code, ")."));
1264
1282
 
1265
1283
  this.meetingInfoFailureReason = this.requiredCaptcha ? _constants.MEETING_INFO_FAILURE_REASON.WRONG_CAPTCHA : _constants.MEETING_INFO_FAILURE_REASON.WRONG_PASSWORD;
1266
1284
 
@@ -1305,8 +1323,6 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
1305
1323
  var _this2 = this;
1306
1324
 
1307
1325
  return this.fetchMeetingInfo({
1308
- destination: this.sipUri,
1309
- type: _constants._SIP_URI_,
1310
1326
  password: password,
1311
1327
  captchaCode: captchaCode
1312
1328
  }).then(function () {