@webex/plugin-meetings 2.59.6-next.2 → 2.59.7

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.
Files changed (152) hide show
  1. package/dist/common/browser-detection.d.ts +9 -0
  2. package/dist/common/browser-detection.js +2 -2
  3. package/dist/common/browser-detection.js.map +1 -1
  4. package/dist/common/collection.d.ts +48 -0
  5. package/dist/common/collection.js +2 -2
  6. package/dist/common/collection.js.map +1 -1
  7. package/dist/common/config.d.ts +2 -0
  8. package/dist/common/errors/captcha-error.d.ts +15 -0
  9. package/dist/common/errors/intent-to-join.d.ts +16 -0
  10. package/dist/common/errors/join-meeting.d.ts +17 -0
  11. package/dist/common/errors/media.d.ts +15 -0
  12. package/dist/common/errors/parameter.d.ts +15 -0
  13. package/dist/common/errors/password-error.d.ts +15 -0
  14. package/dist/common/errors/permission.d.ts +14 -0
  15. package/dist/common/errors/reconnection-in-progress.d.ts +9 -0
  16. package/dist/common/errors/reconnection.d.ts +15 -0
  17. package/dist/common/errors/stats.d.ts +15 -0
  18. package/dist/common/errors/webex-errors.d.ts +81 -0
  19. package/dist/common/errors/webex-meetings-error.d.ts +20 -0
  20. package/dist/common/events/events-scope.d.ts +17 -0
  21. package/dist/common/events/events.d.ts +12 -0
  22. package/dist/common/events/trigger-proxy.d.ts +2 -0
  23. package/dist/common/events/util.d.ts +2 -0
  24. package/dist/common/logs/logger-config.d.ts +2 -0
  25. package/dist/common/logs/logger-proxy.d.ts +2 -0
  26. package/dist/common/logs/request.d.ts +34 -0
  27. package/dist/common/queue.d.ts +32 -0
  28. package/dist/config.d.ts +73 -0
  29. package/dist/config.js +2 -2
  30. package/dist/config.js.map +1 -1
  31. package/dist/constants.d.ts +926 -0
  32. package/dist/constants.js +2 -0
  33. package/dist/constants.js.map +1 -1
  34. package/dist/controls-options-manager/constants.d.ts +4 -0
  35. package/dist/controls-options-manager/enums.d.ts +5 -0
  36. package/dist/controls-options-manager/index.d.ts +120 -0
  37. package/dist/controls-options-manager/index.js +2 -2
  38. package/dist/controls-options-manager/index.js.map +1 -1
  39. package/dist/controls-options-manager/util.d.ts +7 -0
  40. package/dist/index.d.ts +4 -0
  41. package/dist/locus-info/controlsUtils.d.ts +2 -0
  42. package/dist/locus-info/controlsUtils.js +6 -6
  43. package/dist/locus-info/controlsUtils.js.map +1 -1
  44. package/dist/locus-info/embeddedAppsUtils.d.ts +2 -0
  45. package/dist/locus-info/fullState.d.ts +2 -0
  46. package/dist/locus-info/hostUtils.d.ts +2 -0
  47. package/dist/locus-info/index.d.ts +269 -0
  48. package/dist/locus-info/index.js +18 -18
  49. package/dist/locus-info/index.js.map +1 -1
  50. package/dist/locus-info/infoUtils.d.ts +2 -0
  51. package/dist/locus-info/mediaSharesUtils.d.ts +2 -0
  52. package/dist/locus-info/parser.d.ts +212 -0
  53. package/dist/locus-info/parser.js +2 -2
  54. package/dist/locus-info/parser.js.map +1 -1
  55. package/dist/locus-info/selfUtils.d.ts +2 -0
  56. package/dist/media/index.d.ts +32 -0
  57. package/dist/media/properties.d.ts +108 -0
  58. package/dist/media/util.d.ts +2 -0
  59. package/dist/mediaQualityMetrics/config.d.ts +233 -0
  60. package/dist/meeting/effectsState.d.ts +42 -0
  61. package/dist/meeting/in-meeting-actions.d.ts +79 -0
  62. package/dist/meeting/index.d.ts +1622 -0
  63. package/dist/meeting/index.js +51 -28
  64. package/dist/meeting/index.js.map +1 -1
  65. package/dist/meeting/muteState.d.ts +116 -0
  66. package/dist/meeting/request.d.ts +255 -0
  67. package/dist/meeting/request.js +2 -2
  68. package/dist/meeting/request.js.map +1 -1
  69. package/dist/meeting/state.d.ts +9 -0
  70. package/dist/meeting/util.d.ts +2 -0
  71. package/dist/meeting/util.js +4 -4
  72. package/dist/meeting/util.js.map +1 -1
  73. package/dist/meeting-info/collection.d.ts +20 -0
  74. package/dist/meeting-info/collection.js +2 -2
  75. package/dist/meeting-info/collection.js.map +1 -1
  76. package/dist/meeting-info/index.d.ts +57 -0
  77. package/dist/meeting-info/meeting-info-v2.d.ts +93 -0
  78. package/dist/meeting-info/request.d.ts +22 -0
  79. package/dist/meeting-info/util.d.ts +2 -0
  80. package/dist/meeting-info/utilv2.d.ts +2 -0
  81. package/dist/meetings/collection.d.ts +23 -0
  82. package/dist/meetings/collection.js +2 -2
  83. package/dist/meetings/collection.js.map +1 -1
  84. package/dist/meetings/index.d.ts +296 -0
  85. package/dist/meetings/request.d.ts +27 -0
  86. package/dist/meetings/util.d.ts +18 -0
  87. package/dist/member/index.d.ts +147 -0
  88. package/dist/member/member.types.d.ts +11 -0
  89. package/dist/member/util.d.ts +2 -0
  90. package/dist/members/collection.d.ts +24 -0
  91. package/dist/members/index.d.ts +298 -0
  92. package/dist/members/index.js +2 -2
  93. package/dist/members/index.js.map +1 -1
  94. package/dist/members/request.d.ts +50 -0
  95. package/dist/members/util.d.ts +2 -0
  96. package/dist/metrics/config.d.ts +169 -0
  97. package/dist/metrics/constants.d.ts +59 -0
  98. package/dist/metrics/constants.js +2 -0
  99. package/dist/metrics/constants.js.map +1 -1
  100. package/dist/metrics/index.d.ts +152 -0
  101. package/dist/metrics/index.js +2 -2
  102. package/dist/metrics/index.js.map +1 -1
  103. package/dist/networkQualityMonitor/index.d.ts +70 -0
  104. package/dist/peer-connection-manager/index.d.ts +6 -0
  105. package/dist/peer-connection-manager/util.d.ts +6 -0
  106. package/dist/personal-meeting-room/index.d.ts +47 -0
  107. package/dist/personal-meeting-room/request.d.ts +14 -0
  108. package/dist/personal-meeting-room/util.d.ts +2 -0
  109. package/dist/reachability/index.d.ts +139 -0
  110. package/dist/reachability/index.js +2 -9
  111. package/dist/reachability/index.js.map +1 -1
  112. package/dist/reachability/request.d.ts +35 -0
  113. package/dist/reactions/reactions.d.ts +4 -0
  114. package/dist/reactions/reactions.type.d.ts +32 -0
  115. package/dist/reconnection-manager/index.d.ts +112 -0
  116. package/dist/recording-controller/enums.d.ts +7 -0
  117. package/dist/recording-controller/index.d.ts +193 -0
  118. package/dist/recording-controller/util.d.ts +13 -0
  119. package/dist/roap/collection.d.ts +10 -0
  120. package/dist/roap/handler.d.ts +47 -0
  121. package/dist/roap/index.d.ts +116 -0
  122. package/dist/roap/index.js +13 -12
  123. package/dist/roap/index.js.map +1 -1
  124. package/dist/roap/request.d.ts +35 -0
  125. package/dist/roap/state.d.ts +9 -0
  126. package/dist/roap/turnDiscovery.d.ts +81 -0
  127. package/dist/roap/turnDiscovery.js +130 -44
  128. package/dist/roap/turnDiscovery.js.map +1 -1
  129. package/dist/roap/util.d.ts +2 -0
  130. package/dist/statsAnalyzer/global.d.ts +118 -0
  131. package/dist/statsAnalyzer/global.js +4 -12
  132. package/dist/statsAnalyzer/global.js.map +1 -1
  133. package/dist/statsAnalyzer/index.d.ts +193 -0
  134. package/dist/statsAnalyzer/index.js +56 -14
  135. package/dist/statsAnalyzer/index.js.map +1 -1
  136. package/dist/statsAnalyzer/mqaUtil.d.ts +22 -0
  137. package/dist/statsAnalyzer/mqaUtil.js +15 -15
  138. package/dist/statsAnalyzer/mqaUtil.js.map +1 -1
  139. package/dist/transcription/index.d.ts +64 -0
  140. package/package.json +21 -22
  141. package/src/config.ts +2 -2
  142. package/src/constants.ts +2 -0
  143. package/src/meeting/index.ts +35 -0
  144. package/src/metrics/constants.ts +2 -0
  145. package/src/roap/index.ts +14 -10
  146. package/src/roap/turnDiscovery.ts +48 -20
  147. package/src/statsAnalyzer/global.ts +2 -10
  148. package/src/statsAnalyzer/index.ts +80 -17
  149. package/test/unit/spec/meeting/index.js +77 -6
  150. package/test/unit/spec/roap/index.ts +84 -80
  151. package/test/unit/spec/roap/turnDiscovery.ts +21 -0
  152. package/test/unit/spec/stats-analyzer/index.js +151 -0
@@ -0,0 +1,9 @@
1
+ /// <reference types="lodash" />
2
+ declare const _default: ((agent?: any) => {
3
+ getOSName: () => any;
4
+ getOSVersion: () => any;
5
+ getBrowserName: () => any;
6
+ getBrowserVersion: () => any;
7
+ isBrowser: (name: any) => boolean;
8
+ }) & import("lodash").MemoizedFunction;
9
+ export default _default;
@@ -6,8 +6,8 @@ _Object$defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
8
  exports.default = void 0;
9
+ var _memoize2 = _interopRequireDefault(require("lodash/memoize"));
9
10
  var _bowser = _interopRequireDefault(require("bowser"));
10
- var _lodash = require("lodash");
11
11
  var _window = _interopRequireDefault(require("global/window"));
12
12
  /* eslint-disable @typescript-eslint/no-var-requires */
13
13
 
@@ -58,7 +58,7 @@ var createDetectionObject = function createDetectionObject(results) {
58
58
  isBrowser: isBrowser
59
59
  };
60
60
  };
61
- var _default = (0, _lodash.memoize)(function (agent) {
61
+ var _default = (0, _memoize2.default)(function (agent) {
62
62
  var _window$navigator;
63
63
  return agent || (_window$navigator = _window.default.navigator) !== null && _window$navigator !== void 0 && _window$navigator.userAgent ? createDetectionObject(_bowser.default.getParser(agent || _window.default.navigator.userAgent)) : mockDetectionObject;
64
64
  });
@@ -1 +1 @@
1
- {"version":3,"names":["_bowser","_interopRequireDefault","require","_lodash","_window","mockDetectionObject","getOSName","platform","getOSVersion","release","getBrowserName","getBrowserVersion","isBrowser","createDetectionObject","results","_results$getOSName","_results$getOSVersion","_results$getBrowserNa","_results$getBrowserVe","name","_default","memoize","agent","_window$navigator","window","navigator","userAgent","bowser","getParser","exports","default"],"sources":["browser-detection.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-var-requires */\n\nimport bowser from 'bowser';\nimport {memoize} from 'lodash';\nimport window from 'global/window';\n\nconst mockDetectionObject = {\n /* eslint-disable global-require */\n getOSName: () => require('os').platform(),\n getOSVersion: () => require('os').release(),\n /* eslint-enable global-require */\n getBrowserName: () => '',\n getBrowserVersion: () => '',\n isBrowser: () => false,\n};\n\nconst createDetectionObject = (results) => {\n const getOSName = () => results?.getOSName() ?? '';\n const getOSVersion = () => results?.getOSVersion() ?? '';\n\n const getBrowserName = () => results?.getBrowserName() ?? '';\n const getBrowserVersion = () => results?.getBrowserVersion() ?? '';\n\n const isBrowser = (name) => !!results?.isBrowser(name, true);\n\n return {\n getOSName,\n getOSVersion,\n getBrowserName,\n getBrowserVersion,\n isBrowser,\n };\n};\n\nexport default memoize((agent?: any) =>\n agent || window.navigator?.userAgent\n ? createDetectionObject(bowser.getParser(agent || window.navigator.userAgent))\n : mockDetectionObject\n);\n"],"mappings":";;;;;;;;AAEA,IAAAA,OAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AACA,IAAAE,OAAA,GAAAH,sBAAA,CAAAC,OAAA;AAJA;;AAMA,IAAMG,mBAAmB,GAAG;EAC1B;EACAC,SAAS,EAAE,SAAAA,UAAA;IAAA,OAAMJ,OAAO,CAAC,IAAI,CAAC,CAACK,QAAQ,EAAE;EAAA;EACzCC,YAAY,EAAE,SAAAA,aAAA;IAAA,OAAMN,OAAO,CAAC,IAAI,CAAC,CAACO,OAAO,EAAE;EAAA;EAC3C;EACAC,cAAc,EAAE,SAAAA,eAAA;IAAA,OAAM,EAAE;EAAA;EACxBC,iBAAiB,EAAE,SAAAA,kBAAA;IAAA,OAAM,EAAE;EAAA;EAC3BC,SAAS,EAAE,SAAAA,UAAA;IAAA,OAAM,KAAK;EAAA;AACxB,CAAC;AAED,IAAMC,qBAAqB,GAAG,SAAxBA,qBAAqBA,CAAIC,OAAO,EAAK;EACzC,IAAMR,SAAS,GAAG,SAAZA,SAASA,CAAA;IAAA,IAAAS,kBAAA;IAAA,QAAAA,kBAAA,GAASD,OAAO,aAAPA,OAAO,uBAAPA,OAAO,CAAER,SAAS,EAAE,cAAAS,kBAAA,cAAAA,kBAAA,GAAI,EAAE;EAAA;EAClD,IAAMP,YAAY,GAAG,SAAfA,YAAYA,CAAA;IAAA,IAAAQ,qBAAA;IAAA,QAAAA,qBAAA,GAASF,OAAO,aAAPA,OAAO,uBAAPA,OAAO,CAAEN,YAAY,EAAE,cAAAQ,qBAAA,cAAAA,qBAAA,GAAI,EAAE;EAAA;EAExD,IAAMN,cAAc,GAAG,SAAjBA,cAAcA,CAAA;IAAA,IAAAO,qBAAA;IAAA,QAAAA,qBAAA,GAASH,OAAO,aAAPA,OAAO,uBAAPA,OAAO,CAAEJ,cAAc,EAAE,cAAAO,qBAAA,cAAAA,qBAAA,GAAI,EAAE;EAAA;EAC5D,IAAMN,iBAAiB,GAAG,SAApBA,iBAAiBA,CAAA;IAAA,IAAAO,qBAAA;IAAA,QAAAA,qBAAA,GAASJ,OAAO,aAAPA,OAAO,uBAAPA,OAAO,CAAEH,iBAAiB,EAAE,cAAAO,qBAAA,cAAAA,qBAAA,GAAI,EAAE;EAAA;EAElE,IAAMN,SAAS,GAAG,SAAZA,SAASA,CAAIO,IAAI;IAAA,OAAK,CAAC,EAACL,OAAO,aAAPA,OAAO,eAAPA,OAAO,CAAEF,SAAS,CAACO,IAAI,EAAE,IAAI,CAAC;EAAA;EAE5D,OAAO;IACLb,SAAS,EAATA,SAAS;IACTE,YAAY,EAAZA,YAAY;IACZE,cAAc,EAAdA,cAAc;IACdC,iBAAiB,EAAjBA,iBAAiB;IACjBC,SAAS,EAATA;EACF,CAAC;AACH,CAAC;AAAC,IAAAQ,QAAA,GAEa,IAAAC,eAAO,EAAC,UAACC,KAAW;EAAA,IAAAC,iBAAA;EAAA,OACjCD,KAAK,KAAAC,iBAAA,GAAIC,eAAM,CAACC,SAAS,cAAAF,iBAAA,eAAhBA,iBAAA,CAAkBG,SAAS,GAChCb,qBAAqB,CAACc,eAAM,CAACC,SAAS,CAACN,KAAK,IAAIE,eAAM,CAACC,SAAS,CAACC,SAAS,CAAC,CAAC,GAC5ErB,mBAAmB;AAAA,EACxB;AAAAwB,OAAA,CAAAC,OAAA,GAAAV,QAAA"}
1
+ {"version":3,"names":["_bowser","_interopRequireDefault","require","_window","mockDetectionObject","getOSName","platform","getOSVersion","release","getBrowserName","getBrowserVersion","isBrowser","createDetectionObject","results","_results$getOSName","_results$getOSVersion","_results$getBrowserNa","_results$getBrowserVe","name","_default","_memoize2","default","agent","_window$navigator","window","navigator","userAgent","bowser","getParser","exports"],"sources":["browser-detection.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-var-requires */\n\nimport bowser from 'bowser';\nimport {memoize} from 'lodash';\nimport window from 'global/window';\n\nconst mockDetectionObject = {\n /* eslint-disable global-require */\n getOSName: () => require('os').platform(),\n getOSVersion: () => require('os').release(),\n /* eslint-enable global-require */\n getBrowserName: () => '',\n getBrowserVersion: () => '',\n isBrowser: () => false,\n};\n\nconst createDetectionObject = (results) => {\n const getOSName = () => results?.getOSName() ?? '';\n const getOSVersion = () => results?.getOSVersion() ?? '';\n\n const getBrowserName = () => results?.getBrowserName() ?? '';\n const getBrowserVersion = () => results?.getBrowserVersion() ?? '';\n\n const isBrowser = (name) => !!results?.isBrowser(name, true);\n\n return {\n getOSName,\n getOSVersion,\n getBrowserName,\n getBrowserVersion,\n isBrowser,\n };\n};\n\nexport default memoize((agent?: any) =>\n agent || window.navigator?.userAgent\n ? createDetectionObject(bowser.getParser(agent || window.navigator.userAgent))\n : mockDetectionObject\n);\n"],"mappings":";;;;;;;;;AAEA,IAAAA,OAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAAC,OAAA,GAAAF,sBAAA,CAAAC,OAAA;AAJA;;AAMA,IAAME,mBAAmB,GAAG;EAC1B;EACAC,SAAS,EAAE,SAAAA,UAAA;IAAA,OAAMH,OAAO,CAAC,IAAI,CAAC,CAACI,QAAQ,EAAE;EAAA;EACzCC,YAAY,EAAE,SAAAA,aAAA;IAAA,OAAML,OAAO,CAAC,IAAI,CAAC,CAACM,OAAO,EAAE;EAAA;EAC3C;EACAC,cAAc,EAAE,SAAAA,eAAA;IAAA,OAAM,EAAE;EAAA;EACxBC,iBAAiB,EAAE,SAAAA,kBAAA;IAAA,OAAM,EAAE;EAAA;EAC3BC,SAAS,EAAE,SAAAA,UAAA;IAAA,OAAM,KAAK;EAAA;AACxB,CAAC;AAED,IAAMC,qBAAqB,GAAG,SAAxBA,qBAAqBA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KAAAC,iBAAA,GAAIC,eAAM,CAACC,SAAS,cAAAF,iBAAA,eAAhBA,iBAAA,CAAkBG,SAAS,GAChCd,qBAAqB,CAACe,eAAM,CAACC,SAAS,CAACN,KAAK,IAAIE,eAAM,CAACC,SAAS,CAACC,SAAS,CAAC,CAAC,GAC5EtB,mBAAmB;AAAA,EACxB;AAAAyB,OAAA,CAAAR,OAAA,GAAAF,QAAA"}
@@ -0,0 +1,48 @@
1
+ /**
2
+ * @class Collection
3
+ */
4
+ export default class Collection {
5
+ namespace: string;
6
+ propertyName: string;
7
+ /**
8
+ * @param {String} property
9
+ * @memberof Collection
10
+ */
11
+ constructor(property: string);
12
+ /**
13
+ * @param {String} id ID of the thing stuffed into the collection at id location
14
+ * @returns {Any} returns whatever is being stuffed into the collection
15
+ * @public
16
+ * @memberof Collection
17
+ */
18
+ get(id: string): any;
19
+ /**
20
+ * @param {String} id the id of the meeting info instance to add to the collection
21
+ * @param {Any} value the thing to set in the collection
22
+ * @returns {Any} returns the thing just put in the collection
23
+ * @public
24
+ * @memberof Collection
25
+ */
26
+ set(id: string, value: any): any;
27
+ /**
28
+ * remove the thing at the id
29
+ * @param {String} id ID of the thing you wish to delete from the collection
30
+ * @returns {undefined}
31
+ * @public
32
+ * @memberof Collection
33
+ */
34
+ delete(id: string): void;
35
+ /**
36
+ * @returns {Object} returns an object map of things stuffed into the collection
37
+ * @public
38
+ * @memberof Collection
39
+ */
40
+ getAll(): any;
41
+ /**
42
+ * @param {Object} set the replacement object
43
+ * @returns {Object} returns an object map of things stuffed into the collection
44
+ * @public
45
+ * @memberof Collection
46
+ */
47
+ setAll(set: object): any;
48
+ }
@@ -9,7 +9,7 @@ exports.default = void 0;
9
9
  var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/classCallCheck"));
10
10
  var _createClass2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/createClass"));
11
11
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/defineProperty"));
12
- var _lodash = require("lodash");
12
+ var _isString2 = _interopRequireDefault(require("lodash/isString"));
13
13
  var _parameter = _interopRequireDefault(require("./errors/parameter"));
14
14
  /**
15
15
  * @class Collection
@@ -23,7 +23,7 @@ var Collection = /*#__PURE__*/function () {
23
23
  (0, _classCallCheck2.default)(this, Collection);
24
24
  (0, _defineProperty2.default)(this, "namespace", 'Meetings');
25
25
  (0, _defineProperty2.default)(this, "propertyName", void 0);
26
- if (!property || !(0, _lodash.isString)(property)) {
26
+ if (!property || !(0, _isString2.default)(property)) {
27
27
  throw new _parameter.default('Collection expects a string to use as a property name.');
28
28
  }
29
29
  /**
@@ -1 +1 @@
1
- {"version":3,"names":["_lodash","require","_parameter","_interopRequireDefault","Collection","property","_classCallCheck2","default","_defineProperty2","isString","ParameterError","propertyName","_createClass2","key","value","get","id","set","_delete","getAll","setAll","exports"],"sources":["collection.ts"],"sourcesContent":["import {isString} from 'lodash';\n\nimport ParameterError from './errors/parameter';\n\n/**\n * @class Collection\n */\nexport default class Collection {\n namespace = 'Meetings';\n propertyName: string;\n\n /**\n * @param {String} property\n * @memberof Collection\n */\n constructor(property: string) {\n if (!property || !isString(property)) {\n throw new ParameterError('Collection expects a string to use as a property name.');\n }\n /**\n * The property name for what collection will be stored, i.e., this.meetingInfos, this.meetings, etc.\n * @instance\n * @type {String}\n * @public\n * @memberof Meetings\n */\n this.propertyName = property;\n /**\n * The actual object for the collection\n * @instance\n * @type {Object}\n * @public\n * @memberof Meetings\n */\n this[this.propertyName] = {};\n }\n\n /**\n * @param {String} id ID of the thing stuffed into the collection at id location\n * @returns {Any} returns whatever is being stuffed into the collection\n * @public\n * @memberof Collection\n */\n public get(id: string) {\n return this[this.propertyName] && this[this.propertyName][id]\n ? this[this.propertyName][id]\n : null;\n }\n\n /**\n * @param {String} id the id of the meeting info instance to add to the collection\n * @param {Any} value the thing to set in the collection\n * @returns {Any} returns the thing just put in the collection\n * @public\n * @memberof Collection\n */\n public set(id: string, value: any) {\n this[this.propertyName][id] = value;\n\n return this.get(id);\n }\n\n /**\n * remove the thing at the id\n * @param {String} id ID of the thing you wish to delete from the collection\n * @returns {undefined}\n * @public\n * @memberof Collection\n */\n public delete(id: string) {\n delete this[this.propertyName][id];\n }\n\n /**\n * @returns {Object} returns an object map of things stuffed into the collection\n * @public\n * @memberof Collection\n */\n public getAll() {\n return this[this.propertyName];\n }\n\n /**\n * @param {Object} set the replacement object\n * @returns {Object} returns an object map of things stuffed into the collection\n * @public\n * @memberof Collection\n */\n public setAll(set: object) {\n this[this.propertyName] = set;\n\n return this.getAll();\n }\n}\n"],"mappings":";;;;;;;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAEA,IAAAC,UAAA,GAAAC,sBAAA,CAAAF,OAAA;AAEA;AACA;AACA;AAFA,IAGqBG,UAAU;EAI7B;AACF;AACA;AACA;EACE,SAAAA,WAAYC,QAAgB,EAAE;IAAA,IAAAC,gBAAA,CAAAC,OAAA,QAAAH,UAAA;IAAA,IAAAI,gBAAA,CAAAD,OAAA,qBAPlB,UAAU;IAAA,IAAAC,gBAAA,CAAAD,OAAA;IAQpB,IAAI,CAACF,QAAQ,IAAI,CAAC,IAAAI,gBAAQ,EAACJ,QAAQ,CAAC,EAAE;MACpC,MAAM,IAAIK,kBAAc,CAAC,wDAAwD,CAAC;IACpF;IACA;AACJ;AACA;AACA;AACA;AACA;AACA;IACI,IAAI,CAACC,YAAY,GAAGN,QAAQ;IAC5B;AACJ;AACA;AACA;AACA;AACA;AACA;IACI,IAAI,CAAC,IAAI,CAACM,YAAY,CAAC,GAAG,CAAC,CAAC;EAC9B;;EAEA;AACF;AACA;AACA;AACA;AACA;EALE,IAAAC,aAAA,CAAAL,OAAA,EAAAH,UAAA;IAAAS,GAAA;IAAAC,KAAA,EAMA,SAAAC,IAAWC,EAAU,EAAE;MACrB,OAAO,IAAI,CAAC,IAAI,CAACL,YAAY,CAAC,IAAI,IAAI,CAAC,IAAI,CAACA,YAAY,CAAC,CAACK,EAAE,CAAC,GACzD,IAAI,CAAC,IAAI,CAACL,YAAY,CAAC,CAACK,EAAE,CAAC,GAC3B,IAAI;IACV;;IAEA;AACF;AACA;AACA;AACA;AACA;AACA;EANE;IAAAH,GAAA;IAAAC,KAAA,EAOA,SAAAG,IAAWD,EAAU,EAAEF,KAAU,EAAE;MACjC,IAAI,CAAC,IAAI,CAACH,YAAY,CAAC,CAACK,EAAE,CAAC,GAAGF,KAAK;MAEnC,OAAO,IAAI,CAACC,GAAG,CAACC,EAAE,CAAC;IACrB;;IAEA;AACF;AACA;AACA;AACA;AACA;AACA;EANE;IAAAH,GAAA;IAAAC,KAAA,EAOA,SAAAI,QAAcF,EAAU,EAAE;MACxB,OAAO,IAAI,CAAC,IAAI,CAACL,YAAY,CAAC,CAACK,EAAE,CAAC;IACpC;;IAEA;AACF;AACA;AACA;AACA;EAJE;IAAAH,GAAA;IAAAC,KAAA,EAKA,SAAAK,OAAA,EAAgB;MACd,OAAO,IAAI,CAAC,IAAI,CAACR,YAAY,CAAC;IAChC;;IAEA;AACF;AACA;AACA;AACA;AACA;EALE;IAAAE,GAAA;IAAAC,KAAA,EAMA,SAAAM,OAAcH,GAAW,EAAE;MACzB,IAAI,CAAC,IAAI,CAACN,YAAY,CAAC,GAAGM,GAAG;MAE7B,OAAO,IAAI,CAACE,MAAM,EAAE;IACtB;EAAC;EAAA,OAAAf,UAAA;AAAA;AAAAiB,OAAA,CAAAd,OAAA,GAAAH,UAAA"}
1
+ {"version":3,"names":["_parameter","_interopRequireDefault","require","Collection","property","_classCallCheck2","default","_defineProperty2","_isString2","ParameterError","propertyName","_createClass2","key","value","get","id","set","_delete","getAll","setAll","exports"],"sources":["collection.ts"],"sourcesContent":["import {isString} from 'lodash';\n\nimport ParameterError from './errors/parameter';\n\n/**\n * @class Collection\n */\nexport default class Collection {\n namespace = 'Meetings';\n propertyName: string;\n\n /**\n * @param {String} property\n * @memberof Collection\n */\n constructor(property: string) {\n if (!property || !isString(property)) {\n throw new ParameterError('Collection expects a string to use as a property name.');\n }\n /**\n * The property name for what collection will be stored, i.e., this.meetingInfos, this.meetings, etc.\n * @instance\n * @type {String}\n * @public\n * @memberof Meetings\n */\n this.propertyName = property;\n /**\n * The actual object for the collection\n * @instance\n * @type {Object}\n * @public\n * @memberof Meetings\n */\n this[this.propertyName] = {};\n }\n\n /**\n * @param {String} id ID of the thing stuffed into the collection at id location\n * @returns {Any} returns whatever is being stuffed into the collection\n * @public\n * @memberof Collection\n */\n public get(id: string) {\n return this[this.propertyName] && this[this.propertyName][id]\n ? this[this.propertyName][id]\n : null;\n }\n\n /**\n * @param {String} id the id of the meeting info instance to add to the collection\n * @param {Any} value the thing to set in the collection\n * @returns {Any} returns the thing just put in the collection\n * @public\n * @memberof Collection\n */\n public set(id: string, value: any) {\n this[this.propertyName][id] = value;\n\n return this.get(id);\n }\n\n /**\n * remove the thing at the id\n * @param {String} id ID of the thing you wish to delete from the collection\n * @returns {undefined}\n * @public\n * @memberof Collection\n */\n public delete(id: string) {\n delete this[this.propertyName][id];\n }\n\n /**\n * @returns {Object} returns an object map of things stuffed into the collection\n * @public\n * @memberof Collection\n */\n public getAll() {\n return this[this.propertyName];\n }\n\n /**\n * @param {Object} set the replacement object\n * @returns {Object} returns an object map of things stuffed into the collection\n * @public\n * @memberof Collection\n */\n public setAll(set: object) {\n this[this.propertyName] = set;\n\n return this.getAll();\n }\n}\n"],"mappings":";;;;;;;;;;;;AAEA,IAAAA,UAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA;AACA;AACA;AAFA,IAGqBC,UAAU;EAI7B;AACF;AACA;AACA;EACE,SAAAA,WAAYC,QAAgB,EAAE;IAAA,IAAAC,gBAAA,CAAAC,OAAA,QAAAH,UAAA;IAAA,IAAAI,gBAAA,CAAAD,OAAA,qBAPlB,UAAU;IAAA,IAAAC,gBAAA,CAAAD,OAAA;IAQpB,IAAI,CAACF,QAAQ,IAAI,CAAC,IAAAI,UAAA,CAAAF,OAAA,EAASF,QAAQ,C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CAACN,YAAY,CAAC,GAAGM,GAAG;MAE7B,OAAO,IAAI,CAACE,MAAM,EAAE;IACtB;EAAC;EAAA,OAAAf,UAAA;AAAA;AAAAiB,OAAA,CAAAd,OAAA,GAAAH,UAAA"}
@@ -0,0 +1,2 @@
1
+ declare const StaticConfig: any;
2
+ export default StaticConfig;
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Extended Error object to signify captcha related errors
3
+ */
4
+ export default class CaptchaError extends Error {
5
+ code: any;
6
+ error: any;
7
+ sdkMessage: any;
8
+ /**
9
+ *
10
+ * @constructor
11
+ * @param {String} [message]
12
+ * @param {Object} [error]
13
+ */
14
+ constructor(message?: string, error?: any);
15
+ }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Extended Error object to signify the intent to join for unclaimed PMR scenarios
3
+ */
4
+ export default class IntentToJoinError extends Error {
5
+ code: any;
6
+ error: any;
7
+ joinIntentRequired: any;
8
+ sdkMessage: any;
9
+ /**
10
+ *
11
+ * @constructor
12
+ * @param {String} [message]
13
+ * @param {Object} [error]
14
+ */
15
+ constructor(message?: string, error?: any);
16
+ }
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Extended Error object to signify a join meeting error
3
+ */
4
+ export default class JoinMeetingError extends Error {
5
+ code: any;
6
+ error: any;
7
+ joinOptions: any;
8
+ sdkMessage: any;
9
+ /**
10
+ *
11
+ * @constructor
12
+ * @param {Object} [options]
13
+ * @param {String} [message]
14
+ * @param {Object} [error]
15
+ */
16
+ constructor(options?: object, message?: string, error?: any);
17
+ }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Extended Error object for media errors
3
+ */
4
+ export default class MediaError extends Error {
5
+ code: any;
6
+ error: any;
7
+ sdkMessage: any;
8
+ /**
9
+ *
10
+ * @constructor
11
+ * @param {String} [message]
12
+ * @param {Object} [error]
13
+ */
14
+ constructor(message?: string, error?: any);
15
+ }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Extended Error object for general parameter errors
3
+ */
4
+ export default class ParameterError extends Error {
5
+ sdkMessage: string;
6
+ error: null;
7
+ code: number;
8
+ /**
9
+ *
10
+ * @constructor
11
+ * @param {String} [message]
12
+ * @param {Object} [error]
13
+ */
14
+ constructor(message?: string, error?: any);
15
+ }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Extended Error object to signify password related errors
3
+ */
4
+ export default class PasswordError extends Error {
5
+ code: any;
6
+ error: any;
7
+ sdkMessage: any;
8
+ /**
9
+ *
10
+ * @constructor
11
+ * @param {String} [message]
12
+ * @param {Object} [error]
13
+ */
14
+ constructor(message?: string, error?: any);
15
+ }
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Extended Error object for general parameter errors
3
+ */
4
+ export default class PermissionError extends Error {
5
+ code: any;
6
+ error: any;
7
+ sdkMessage: any;
8
+ /**
9
+ * @constructor
10
+ * @param {String} [message]
11
+ * @param {Object} [error]
12
+ */
13
+ constructor(message?: string, error?: any);
14
+ }
@@ -0,0 +1,9 @@
1
+ /**
2
+ *
3
+ *
4
+ * @export
5
+ * @class ReconnectInProgress
6
+ * @extends {Error}
7
+ */
8
+ export default class ReconnectInProgress extends Error {
9
+ }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Extended Error object to signify the intent to join for unclaimed PMR scenarios
3
+ */
4
+ export default class ReconnectionError extends Error {
5
+ code: any;
6
+ error: any;
7
+ sdkMessage: any;
8
+ /**
9
+ *
10
+ * @constructor
11
+ * @param {String} [message]
12
+ * @param {Object} [error]
13
+ */
14
+ constructor(message?: string, error?: any);
15
+ }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Extended Error object for Stats Errors
3
+ */
4
+ export default class StatsError extends Error {
5
+ code: any;
6
+ error: any;
7
+ sdkMessage: any;
8
+ /**
9
+ *
10
+ * @constructor
11
+ * @param {String} [message]
12
+ * @param {Object} [error]
13
+ */
14
+ constructor(message?: string, error?: any);
15
+ }
@@ -0,0 +1,81 @@
1
+ import WebexMeetingsError from './webex-meetings-error';
2
+ /**
3
+ * Create a {@link WebexMeetingsError} for a given code and message.
4
+ * @private
5
+ * @param {number} [code] - Error code
6
+ * @param {string} [message] - Error message
7
+ * @returns {WebexMeetingsError}
8
+ */
9
+ export declare function createMeetingsError(code?: number, message?: string): any;
10
+ /**
11
+ * @class MeetingNotActiveError
12
+ * @classdesc Raised whenever Meeting has already ended and user tries to do a action.
13
+ * @extends WebexMeetingsError
14
+ * @property {number} code - 30101
15
+ * @property {string} message - 'Meeting has already Ended or not Active'
16
+ */
17
+ declare class MeetingNotActiveError extends WebexMeetingsError {
18
+ static CODE: number;
19
+ constructor();
20
+ }
21
+ export { MeetingNotActiveError };
22
+ /**
23
+ * @class UserNotJoinedError
24
+ * @classdesc Raised whenever the user has already left the meeting and user tries to do a action.
25
+ * @extends WebexMeetingsError
26
+ * @property {number} code - 30102
27
+ * @property {string} message - 'User has already left the meeting'
28
+ */
29
+ declare class UserNotJoinedError extends WebexMeetingsError {
30
+ static CODE: number;
31
+ constructor();
32
+ }
33
+ export { UserNotJoinedError };
34
+ /**
35
+ * @class NoMediaEstablishedYetError
36
+ * @classdesc Raised whenever the user has not established media yet.
37
+ * @extends WebexMeetingsError
38
+ * @property {number} code - 30103
39
+ * @property {string} message - 'User has not established media yet'
40
+ */
41
+ declare class NoMediaEstablishedYetError extends WebexMeetingsError {
42
+ static CODE: number;
43
+ constructor();
44
+ }
45
+ export { NoMediaEstablishedYetError };
46
+ /**
47
+ * @class UserInLobbyError
48
+ * @classdesc Raised whenever the user is in lobby and not joined yet.
49
+ * @extends WebexMeetingsError
50
+ * @property {number} code - 30104
51
+ * @property {string} message - 'user is still in the lobby or not joined'
52
+ */
53
+ declare class UserInLobbyError extends WebexMeetingsError {
54
+ static CODE: number;
55
+ constructor();
56
+ }
57
+ export { UserInLobbyError };
58
+ /**
59
+ * @class InvalidSdpError
60
+ * @classdesc Raised whenever SDP generated via browser is invalid.
61
+ * @extends WebexMeetingsError
62
+ * @property {number} code - 30201
63
+ * @property {string} message - 'user is still in the lobby or not joined'
64
+ */
65
+ declare class InvalidSdpError extends WebexMeetingsError {
66
+ static CODE: number;
67
+ constructor(message: any);
68
+ }
69
+ export { InvalidSdpError };
70
+ /**
71
+ * @class IceGatheringFailed
72
+ * @classdesc Raised whenever ice gathering fails.
73
+ * @extends WebexMeetingsError
74
+ * @property {number} code - 30202
75
+ * @property {string} message - 'user failed ice gathering check network/firewall'
76
+ */
77
+ declare class IceGatheringFailed extends WebexMeetingsError {
78
+ static CODE: number;
79
+ constructor();
80
+ }
81
+ export { IceGatheringFailed };
@@ -0,0 +1,20 @@
1
+ /**
2
+ * @extends Error
3
+ * @property {number} code - Error code
4
+ */
5
+ export default class WebexMeetingsError extends Error {
6
+ code: any;
7
+ /**
8
+ * Creates a new {@link WebexMeetingsError}
9
+ * @param {number} code - Error code
10
+ * @param {string} [message] - Error message
11
+ * @param {string} [fileName] - Name of the script file where error was generated
12
+ * @param {number} [lineNumber] - Line number of the script file where error was generated
13
+ */
14
+ constructor(code: number, ...args: any[]);
15
+ /**
16
+ * Returns human readable string describing the error.
17
+ * @returns {string}
18
+ */
19
+ toString(): string;
20
+ }
@@ -0,0 +1,17 @@
1
+ /// <reference types="node" />
2
+ import ChildEmitter from 'events';
3
+ /**
4
+ * Events
5
+ * plugin-meetings local
6
+ * Used to emit events internally between modules specific to an object
7
+ */
8
+ export default class EventsScope extends ChildEmitter {
9
+ /**
10
+ * Emits and logs an event
11
+ * @param {*} scope
12
+ * @param {*} eventName
13
+ * @param {*} args
14
+ * @returns {Function}
15
+ */
16
+ emit(scope: any, eventName: any, args: any): boolean;
17
+ }
@@ -0,0 +1,12 @@
1
+ /// <reference types="node" />
2
+ import EventEmitter from 'events';
3
+ /**
4
+ * Events
5
+ * plugin-meetings global
6
+ * Used to emit events internally between modules
7
+ */
8
+ declare class Events extends EventEmitter {
9
+ emit(scope: any, eventName: any, args: any): boolean;
10
+ }
11
+ declare const _default: Events;
12
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const TriggerProxy: any;
2
+ export default TriggerProxy;
@@ -0,0 +1,2 @@
1
+ declare const EventsUtil: any;
2
+ export default EventsUtil;
@@ -0,0 +1,2 @@
1
+ declare const LoggerConfig: any;
2
+ export default LoggerConfig;
@@ -0,0 +1,2 @@
1
+ declare const LoggerProxy: any;
2
+ export default LoggerProxy;
@@ -0,0 +1,34 @@
1
+ /**
2
+ * @class LogsRequest
3
+ */
4
+ export default class LogsRequest {
5
+ webex: any;
6
+ /**
7
+ *
8
+ * @param {Object} options
9
+ * @param {Object} options.webex Webex SDK instance
10
+ * @param {ClientMetrics} metrics
11
+ */
12
+ constructor(options: {
13
+ webex: object;
14
+ });
15
+ /**
16
+ * Uploads logs to the support server
17
+ *
18
+ * @param {Object} [options={}]
19
+ * @param {String} [options.feedbackId=uuid.v4] ID used for tracking
20
+ * @param {String} [options.locusId]
21
+ * @param {String} [options.correlationId]
22
+ * @param {String} [options.callStart] Call Start Time
23
+ * @param {String} [options.meetingId] webex meeting ID
24
+ * @returns {Promise.<String>} Feedback ID
25
+ * @memberof LogsRequest
26
+ */
27
+ uploadLogs(options?: {
28
+ feedbackId?: string;
29
+ locusId?: string;
30
+ correlationId?: string;
31
+ callStart?: string;
32
+ meetingId?: string;
33
+ }): Promise<any>;
34
+ }
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Simple queue
3
+ */
4
+ export default class SimpleQueue {
5
+ queue: any[];
6
+ /**
7
+ * @constructs SimpleQueue
8
+ */
9
+ constructor();
10
+ /**
11
+ * Removes all of the elements from queue.
12
+ * @returns {undefined}
13
+ */
14
+ clear(): void;
15
+ /**
16
+ * Inserts the specified element into the queue.
17
+ * @param {object} item
18
+ * @returns {undefined}
19
+ */
20
+ enqueue(item: object): void;
21
+ /**
22
+ * Returns and removes the head of the queue.
23
+ * Returns null if the queue is empty.
24
+ * @returns {(object|null)} Queue item or null.
25
+ */
26
+ dequeue(): any;
27
+ /**
28
+ * Returns the number of items in queue.
29
+ * @returns {number}
30
+ */
31
+ size(): number;
32
+ }
@@ -0,0 +1,73 @@
1
+ declare const _default: {
2
+ meetings: {
3
+ deviceType: any;
4
+ mediaSettings: {
5
+ sendAudio: boolean;
6
+ sendVideo: boolean;
7
+ receiveAudio: boolean;
8
+ receiveVideo: boolean;
9
+ pstn: boolean;
10
+ sendShare: boolean;
11
+ receiveShare: boolean;
12
+ };
13
+ reconnection: {
14
+ enabled: boolean;
15
+ autoRejoin: boolean;
16
+ detection: boolean;
17
+ iceReconnectionTimeout: number;
18
+ maxRejoinAttempts: number;
19
+ };
20
+ stats: {
21
+ enableStatsAnalyzer: boolean;
22
+ autoDowngradeEnabled: boolean;
23
+ interval: number;
24
+ analyzerInterval: number;
25
+ historyMax: number;
26
+ videoPacketLossRatioThreshold: number;
27
+ rttThreshold: number;
28
+ jitterThreshold: number;
29
+ };
30
+ metrics: {
31
+ clientName: string;
32
+ clientType: string;
33
+ subClientType: string;
34
+ mqaMetricsInterval: number;
35
+ autoSendMQA: boolean;
36
+ };
37
+ logging: {
38
+ enable: boolean;
39
+ verboseEvents: boolean;
40
+ };
41
+ resolution: {
42
+ maxWidth: number;
43
+ maxHeight: number;
44
+ idealWidth: number;
45
+ idealHeight: number;
46
+ };
47
+ screenResolution: {
48
+ maxWidth: number;
49
+ maxHeight: number;
50
+ idealWidth: number;
51
+ idealHeight: number;
52
+ };
53
+ bandwidth: {
54
+ audio: number;
55
+ video: number;
56
+ startBitrate: number;
57
+ };
58
+ screenFrameRate: number;
59
+ videoShareFrameRate: number;
60
+ aspectRatio: number;
61
+ autoUploadLogs: boolean;
62
+ enableRtx: boolean;
63
+ receiveTranscription: boolean;
64
+ enableExtmap: boolean;
65
+ experimental: {
66
+ enableMediaNegotiatedEvent: boolean;
67
+ enableUnifiedMeetings: boolean;
68
+ enableAdhocMeetings: boolean;
69
+ enableTurnDiscovery: boolean;
70
+ };
71
+ };
72
+ };
73
+ export default _default;
package/dist/config.js CHANGED
@@ -97,8 +97,8 @@ var _default = {
97
97
  enableExtmap: false,
98
98
  experimental: {
99
99
  enableMediaNegotiatedEvent: false,
100
- enableUnifiedMeetings: false,
101
- enableAdhocMeetings: false,
100
+ enableUnifiedMeetings: true,
101
+ enableAdhocMeetings: true,
102
102
  enableTurnDiscovery: true
103
103
  }
104
104
  }
@@ -1 +1 @@
1
- {"version":3,"names":["_common","require","_default","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","enableTurnDiscovery","exports","default"],"sources":["config.ts"],"sourcesContent":["// @ts-ignore\nimport {deviceType} 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 enableTurnDiscovery: true,\n },\n },\n};\n"],"mappings":";;;;;;;AACA,IAAAA,OAAA,GAAAC,OAAA;AADA;AAAA,IAAAC,QAAA,GAGe;EACb;EACA;EACA;EACAC,QAAQ,EAAE;IACRC,UAAU,EAAEA,kBAAU,CAACC,GAAG;IAC1BC,aAAa,EAAE;MACbC,SAAS,EAAE,IAAI;MACfC,SAAS,EAAE,IAAI;MACfC,YAAY,EAAE,IAA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AW,EAAE,kBAAkB;IAC/B;IACAC,cAAc,EAAE,IAAI;IACpBC,SAAS,EAAE,IAAI;IACfC,oBAAoB,EAAE,KAAK;IAC3BC,YAAY,EAAE,KAAK;IACnBC,YAAY,EAAE;MACZC,0BAA0B,EAAE,KAAK;MACjCC,qBAAqB,EAAE,KAAK;MAC5BC,mBAAmB,EAAE,KAAK;MAC1BC,mBAAmB,EAAE;IACvB;EACF;AACF,CAAC;AAAAC,OAAA,CAAAC,OAAA,GAAA3D,QAAA"}
1
+ {"version":3,"names":["_common","require","_default","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","enableTurnDiscovery","exports","default"],"sources":["config.ts"],"sourcesContent":["// @ts-ignore\nimport {deviceType} 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: true,\n enableAdhocMeetings: true,\n enableTurnDiscovery: true,\n },\n },\n};\n"],"mappings":";;;;;;;AACA,IAAAA,OAAA,GAAAC,OAAA;AADA;AAAA,IAAAC,QAAA,GAGe;EACb;EAC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