@webex/plugin-meetings 3.0.0-beta.13 → 3.0.0-beta.15

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 (252) hide show
  1. package/UPGRADING.md +9 -9
  2. package/browsers.js +19 -24
  3. package/dist/common/browser-detection.js +1 -0
  4. package/dist/common/browser-detection.js.map +1 -1
  5. package/dist/common/collection.js.map +1 -1
  6. package/dist/common/errors/captcha-error.js +5 -5
  7. package/dist/common/errors/captcha-error.js.map +1 -1
  8. package/dist/common/errors/intent-to-join.js +5 -5
  9. package/dist/common/errors/intent-to-join.js.map +1 -1
  10. package/dist/common/errors/join-meeting.js +6 -6
  11. package/dist/common/errors/join-meeting.js.map +1 -1
  12. package/dist/common/errors/media.js +5 -5
  13. package/dist/common/errors/media.js.map +1 -1
  14. package/dist/common/errors/parameter.js +5 -5
  15. package/dist/common/errors/parameter.js.map +1 -1
  16. package/dist/common/errors/password-error.js +5 -5
  17. package/dist/common/errors/password-error.js.map +1 -1
  18. package/dist/common/errors/permission.js +4 -4
  19. package/dist/common/errors/permission.js.map +1 -1
  20. package/dist/common/errors/reconnection.js +5 -5
  21. package/dist/common/errors/reconnection.js.map +1 -1
  22. package/dist/common/errors/stats.js +5 -5
  23. package/dist/common/errors/stats.js.map +1 -1
  24. package/dist/common/errors/webex-errors.js.map +1 -1
  25. package/dist/common/errors/webex-meetings-error.js.map +1 -1
  26. package/dist/common/events/events-scope.js.map +1 -1
  27. package/dist/common/events/events.js.map +1 -1
  28. package/dist/common/events/trigger-proxy.js.map +1 -1
  29. package/dist/common/events/util.js.map +1 -1
  30. package/dist/common/logs/logger-proxy.js.map +1 -1
  31. package/dist/common/logs/request.js.map +1 -1
  32. package/dist/config.js.map +1 -1
  33. package/dist/constants.js.map +1 -1
  34. package/dist/index.js.map +1 -1
  35. package/dist/locus-info/controlsUtils.js.map +1 -1
  36. package/dist/locus-info/fullState.js.map +1 -1
  37. package/dist/locus-info/hostUtils.js.map +1 -1
  38. package/dist/locus-info/index.js +11 -8
  39. package/dist/locus-info/index.js.map +1 -1
  40. package/dist/locus-info/infoUtils.js.map +1 -1
  41. package/dist/locus-info/mediaSharesUtils.js.map +1 -1
  42. package/dist/locus-info/parser.js +2 -1
  43. package/dist/locus-info/parser.js.map +1 -1
  44. package/dist/locus-info/selfUtils.js +2 -1
  45. package/dist/locus-info/selfUtils.js.map +1 -1
  46. package/dist/media/index.js.map +1 -1
  47. package/dist/media/internal-media-core-wrapper.js.map +1 -1
  48. package/dist/media/properties.js.map +1 -1
  49. package/dist/media/util.js +1 -1
  50. package/dist/media/util.js.map +1 -1
  51. package/dist/mediaQualityMetrics/config.js.map +1 -1
  52. package/dist/meeting/effectsState.js +1 -1
  53. package/dist/meeting/effectsState.js.map +1 -1
  54. package/dist/meeting/in-meeting-actions.js.map +1 -1
  55. package/dist/meeting/index.js +118 -89
  56. package/dist/meeting/index.js.map +1 -1
  57. package/dist/meeting/muteState.js +1 -1
  58. package/dist/meeting/muteState.js.map +1 -1
  59. package/dist/meeting/request.js +25 -0
  60. package/dist/meeting/request.js.map +1 -1
  61. package/dist/meeting/request.type.js +8 -0
  62. package/dist/meeting/request.type.js.map +1 -0
  63. package/dist/meeting/state.js +5 -5
  64. package/dist/meeting/state.js.map +1 -1
  65. package/dist/meeting/util.js.map +1 -1
  66. package/dist/meeting-info/collection.js.map +1 -1
  67. package/dist/meeting-info/index.js +2 -2
  68. package/dist/meeting-info/index.js.map +1 -1
  69. package/dist/meeting-info/meeting-info-v2.js +48 -48
  70. package/dist/meeting-info/meeting-info-v2.js.map +1 -1
  71. package/dist/meeting-info/request.js.map +1 -1
  72. package/dist/meeting-info/util.js.map +1 -1
  73. package/dist/meeting-info/utilv2.js +1 -1
  74. package/dist/meeting-info/utilv2.js.map +1 -1
  75. package/dist/meetings/collection.js.map +1 -1
  76. package/dist/meetings/index.js +251 -250
  77. package/dist/meetings/index.js.map +1 -1
  78. package/dist/meetings/request.js +2 -2
  79. package/dist/meetings/request.js.map +1 -1
  80. package/dist/meetings/util.js +14 -14
  81. package/dist/meetings/util.js.map +1 -1
  82. package/dist/member/index.js +31 -31
  83. package/dist/member/index.js.map +1 -1
  84. package/dist/member/util.js.map +1 -1
  85. package/dist/members/collection.js.map +1 -1
  86. package/dist/members/index.js +43 -43
  87. package/dist/members/index.js.map +1 -1
  88. package/dist/members/request.js.map +1 -1
  89. package/dist/members/util.js.map +1 -1
  90. package/dist/metrics/config.js.map +1 -1
  91. package/dist/metrics/constants.js.map +1 -1
  92. package/dist/metrics/index.js +23 -20
  93. package/dist/metrics/index.js.map +1 -1
  94. package/dist/multistream/multistreamMedia.js +2 -1
  95. package/dist/multistream/multistreamMedia.js.map +1 -1
  96. package/dist/multistream/receiveSlot.js.map +1 -1
  97. package/dist/multistream/receiveSlotManager.js +2 -0
  98. package/dist/multistream/receiveSlotManager.js.map +1 -1
  99. package/dist/multistream/remoteMedia.js.map +1 -1
  100. package/dist/multistream/remoteMediaGroup.js.map +1 -1
  101. package/dist/multistream/remoteMediaManager.js.map +1 -1
  102. package/dist/networkQualityMonitor/index.js +8 -8
  103. package/dist/networkQualityMonitor/index.js.map +1 -1
  104. package/dist/personal-meeting-room/index.js +7 -7
  105. package/dist/personal-meeting-room/index.js.map +1 -1
  106. package/dist/personal-meeting-room/request.js.map +1 -1
  107. package/dist/personal-meeting-room/util.js.map +1 -1
  108. package/dist/reachability/index.js.map +1 -1
  109. package/dist/reachability/request.js.map +1 -1
  110. package/dist/reactions/reactions.js.map +1 -1
  111. package/dist/reactions/reactions.type.js +3 -1
  112. package/dist/reactions/reactions.type.js.map +1 -1
  113. package/dist/reconnection-manager/index.js +4 -4
  114. package/dist/reconnection-manager/index.js.map +1 -1
  115. package/dist/roap/index.js +5 -5
  116. package/dist/roap/index.js.map +1 -1
  117. package/dist/roap/request.js.map +1 -1
  118. package/dist/roap/turnDiscovery.js.map +1 -1
  119. package/dist/statsAnalyzer/global.js.map +1 -1
  120. package/dist/statsAnalyzer/index.js.map +1 -1
  121. package/dist/statsAnalyzer/mqaUtil.js.map +1 -1
  122. package/dist/transcription/index.js +4 -1
  123. package/dist/transcription/index.js.map +1 -1
  124. package/internal-README.md +7 -6
  125. package/package.json +18 -18
  126. package/src/common/browser-detection.ts +9 -6
  127. package/src/common/collection.ts +3 -1
  128. package/src/common/errors/captcha-error.ts +6 -6
  129. package/src/common/errors/intent-to-join.ts +6 -6
  130. package/src/common/errors/join-meeting.ts +12 -8
  131. package/src/common/errors/media.ts +6 -6
  132. package/src/common/errors/parameter.ts +9 -6
  133. package/src/common/errors/password-error.ts +6 -6
  134. package/src/common/errors/permission.ts +5 -5
  135. package/src/common/errors/reconnection.ts +6 -6
  136. package/src/common/errors/stats.ts +6 -6
  137. package/src/common/errors/webex-errors.ts +7 -5
  138. package/src/common/errors/webex-meetings-error.ts +1 -1
  139. package/src/common/events/events-scope.ts +5 -1
  140. package/src/common/events/events.ts +5 -1
  141. package/src/common/events/trigger-proxy.ts +8 -3
  142. package/src/common/events/util.ts +1 -2
  143. package/src/common/logs/logger-proxy.ts +21 -10
  144. package/src/common/logs/request.ts +11 -8
  145. package/src/config.ts +11 -11
  146. package/src/constants.ts +1 -1
  147. package/src/index.js +1 -1
  148. package/src/locus-info/controlsUtils.ts +34 -24
  149. package/src/locus-info/fullState.ts +15 -11
  150. package/src/locus-info/hostUtils.ts +4 -3
  151. package/src/locus-info/index.ts +25 -34
  152. package/src/locus-info/infoUtils.ts +12 -4
  153. package/src/locus-info/mediaSharesUtils.ts +4 -4
  154. package/src/locus-info/parser.ts +45 -68
  155. package/src/locus-info/selfUtils.ts +106 -57
  156. package/src/media/index.ts +123 -135
  157. package/src/media/internal-media-core-wrapper.ts +2 -2
  158. package/src/media/properties.ts +30 -20
  159. package/src/media/util.ts +1 -1
  160. package/src/mediaQualityMetrics/config.ts +46 -46
  161. package/src/meeting/effectsState.ts +35 -35
  162. package/src/meeting/in-meeting-actions.ts +7 -3
  163. package/src/meeting/index.ts +1576 -1291
  164. package/src/meeting/muteState.ts +62 -31
  165. package/src/meeting/request.ts +174 -113
  166. package/src/meeting/request.type.ts +11 -0
  167. package/src/meeting/state.ts +45 -30
  168. package/src/meeting/util.ts +101 -70
  169. package/src/meeting-info/collection.ts +2 -1
  170. package/src/meeting-info/index.ts +32 -30
  171. package/src/meeting-info/meeting-info-v2.ts +106 -108
  172. package/src/meeting-info/request.ts +9 -3
  173. package/src/meeting-info/util.ts +54 -46
  174. package/src/meeting-info/utilv2.ts +59 -53
  175. package/src/meetings/collection.ts +1 -1
  176. package/src/meetings/index.ts +512 -440
  177. package/src/meetings/request.ts +26 -24
  178. package/src/meetings/util.ts +29 -29
  179. package/src/member/index.ts +55 -49
  180. package/src/member/util.ts +26 -13
  181. package/src/members/collection.ts +0 -1
  182. package/src/members/index.ts +182 -126
  183. package/src/members/request.ts +46 -14
  184. package/src/members/util.ts +44 -42
  185. package/src/metrics/config.ts +254 -81
  186. package/src/metrics/constants.ts +0 -2
  187. package/src/metrics/index.ts +84 -71
  188. package/src/multistream/multistreamMedia.ts +1 -0
  189. package/src/multistream/receiveSlot.ts +1 -0
  190. package/src/multistream/receiveSlotManager.ts +1 -0
  191. package/src/multistream/remoteMedia.ts +1 -1
  192. package/src/multistream/remoteMediaGroup.ts +2 -1
  193. package/src/multistream/remoteMediaManager.ts +3 -0
  194. package/src/networkQualityMonitor/index.ts +20 -23
  195. package/src/personal-meeting-room/index.ts +12 -16
  196. package/src/personal-meeting-room/request.ts +10 -3
  197. package/src/personal-meeting-room/util.ts +3 -3
  198. package/src/reachability/index.ts +61 -59
  199. package/src/reachability/request.ts +36 -32
  200. package/src/reactions/reactions.ts +4 -4
  201. package/src/reactions/reactions.type.ts +4 -3
  202. package/src/reconnection-manager/index.ts +139 -84
  203. package/src/roap/index.ts +46 -38
  204. package/src/roap/request.ts +44 -31
  205. package/src/roap/turnDiscovery.ts +59 -30
  206. package/src/statsAnalyzer/global.ts +30 -33
  207. package/src/statsAnalyzer/index.ts +432 -175
  208. package/src/statsAnalyzer/mqaUtil.ts +178 -72
  209. package/src/transcription/index.ts +34 -32
  210. package/test/integration/spec/journey.js +663 -462
  211. package/test/integration/spec/space-meeting.js +318 -203
  212. package/test/integration/spec/transcription.js +6 -7
  213. package/test/unit/spec/common/browser-detection.js +9 -28
  214. package/test/unit/spec/fixture/locus.js +92 -90
  215. package/test/unit/spec/locus-info/controlsUtils.js +5 -5
  216. package/test/unit/spec/locus-info/embeddedAppsUtils.js +8 -6
  217. package/test/unit/spec/locus-info/index.js +1 -2
  218. package/test/unit/spec/locus-info/infoUtils.js +26 -33
  219. package/test/unit/spec/locus-info/lib/BasicSeqCmp.json +88 -430
  220. package/test/unit/spec/locus-info/lib/SeqCmp.json +513 -685
  221. package/test/unit/spec/locus-info/parser.js +3 -9
  222. package/test/unit/spec/locus-info/selfConstant.js +72 -103
  223. package/test/unit/spec/locus-info/selfUtils.js +21 -12
  224. package/test/unit/spec/meeting/effectsState.js +36 -46
  225. package/test/unit/spec/meeting/in-meeting-actions.ts +2 -3
  226. package/test/unit/spec/meeting/index.js +1342 -684
  227. package/test/unit/spec/meeting/muteState.js +42 -33
  228. package/test/unit/spec/meeting/request.js +75 -45
  229. package/test/unit/spec/meeting/utils.js +78 -53
  230. package/test/unit/spec/meeting-info/meetinginfov2.js +100 -73
  231. package/test/unit/spec/meeting-info/request.js +7 -9
  232. package/test/unit/spec/meeting-info/util.js +11 -12
  233. package/test/unit/spec/meeting-info/utilv2.js +110 -74
  234. package/test/unit/spec/meetings/collection.js +1 -1
  235. package/test/unit/spec/meetings/index.js +438 -257
  236. package/test/unit/spec/meetings/utils.js +14 -12
  237. package/test/unit/spec/member/index.js +0 -1
  238. package/test/unit/spec/member/util.js +5 -6
  239. package/test/unit/spec/members/index.js +104 -54
  240. package/test/unit/spec/members/request.js +29 -20
  241. package/test/unit/spec/members/utils.js +8 -5
  242. package/test/unit/spec/metrics/index.js +16 -21
  243. package/test/unit/spec/networkQualityMonitor/index.js +21 -15
  244. package/test/unit/spec/personal-meeting-room/personal-meeting-room.js +2 -7
  245. package/test/unit/spec/reachability/index.ts +9 -11
  246. package/test/unit/spec/reconnection-manager/index.js +16 -18
  247. package/test/unit/spec/roap/turnDiscovery.ts +22 -19
  248. package/test/unit/spec/stats-analyzer/index.js +25 -20
  249. package/test/utils/cmr.js +44 -42
  250. package/test/utils/testUtils.js +83 -74
  251. package/test/utils/webex-config.js +18 -18
  252. package/test/utils/webex-test-users.js +53 -50
@@ -1,7 +1,6 @@
1
1
  import 'jsdom-global/register';
2
2
  import {assert} from '@webex/test-helper-chai';
3
- import BrowserDetection from
4
- '@webex/plugin-meetings/src/common/browser-detection';
3
+ import BrowserDetection from '@webex/plugin-meetings/src/common/browser-detection';
5
4
 
6
5
  const USER_AGENT_CHROME_MAC =
7
6
  'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) ' +
@@ -17,8 +16,7 @@ const USER_AGENT_SAFARI_MAC =
17
16
  ' AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.3 Safari/605.1.15';
18
17
 
19
18
  const USER_AGENT_FIREFOX_MAC =
20
- 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:87.0) ' +
21
- 'Gecko/20100101 Firefox/87.0';
19
+ 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:87.0) ' + 'Gecko/20100101 Firefox/87.0';
22
20
 
23
21
  const mockDetectionObject = {
24
22
  /* eslint-disable global-require */
@@ -27,7 +25,7 @@ const mockDetectionObject = {
27
25
  /* eslint-enable global-require */
28
26
  getBrowserName: () => '',
29
27
  getBrowserVersion: () => '',
30
- isBrowser: () => false
28
+ isBrowser: () => false,
31
29
  };
32
30
 
33
31
  describe('common/browser-detection', () => {
@@ -108,31 +106,14 @@ describe('common/browser-detection', () => {
108
106
  it('returns the mock object when there is no userAgent', () => {
109
107
  Object.defineProperty(global.window.navigator, 'userAgent', {
110
108
  get: () => undefined,
111
- configurable: true
109
+ configurable: true,
112
110
  });
113
111
 
114
- const {
115
- getBrowserName,
116
- getBrowserVersion,
117
- getOSName,
118
- getOSVersion
119
- } = BrowserDetection(null);
112
+ const {getBrowserName, getBrowserVersion, getOSName, getOSVersion} = BrowserDetection(null);
120
113
 
121
- assert.equal(
122
- getBrowserName(),
123
- mockDetectionObject.getBrowserName()
124
- );
125
- assert.equal(
126
- getBrowserVersion(),
127
- mockDetectionObject.getBrowserVersion()
128
- );
129
- assert.equal(
130
- getOSName(),
131
- mockDetectionObject.getOSName()
132
- );
133
- assert.equal(
134
- getOSVersion(),
135
- mockDetectionObject.getOSVersion()
136
- );
114
+ assert.equal(getBrowserName(), mockDetectionObject.getBrowserName());
115
+ assert.equal(getBrowserVersion(), mockDetectionObject.getBrowserVersion());
116
+ assert.equal(getOSName(), mockDetectionObject.getOSName());
117
+ assert.equal(getOSVersion(), mockDetectionObject.getOSVersion());
137
118
  });
138
119
  });
@@ -12,7 +12,8 @@ export default {
12
12
  webExMeetingName: 'ARUN Personal Room',
13
13
  isPmr: true,
14
14
  webexServiceType: 'MEETING_CENTER',
15
- meetingAvatarUrl: 'https://cisco.webex.com/webappng/images/avatars/ag.png?type=initials&initials=ag',
15
+ meetingAvatarUrl:
16
+ 'https://cisco.webex.com/webappng/images/avatars/ag.png?type=initials&initials=ag',
16
17
  owner: '344ea183-9d5d-4e77-aed2-c4f004afd',
17
18
  siteOrgId: '1eb65fdf-9643-417f-9974-ad72ca',
18
19
  callInTollNumber: '+1-408-525-6',
@@ -20,8 +21,8 @@ export default {
20
21
  {
21
22
  number: '+1-408-525-',
22
23
  tollfree: false,
23
- label: 'Call-in toll number (US/Canada)'
24
- }
24
+ label: 'Call-in toll number (US/Canada)',
25
+ },
25
26
  ],
26
27
  isSparkPstnEnabled: true,
27
28
  isCallInEnabled: true,
@@ -47,7 +48,7 @@ export default {
47
48
  'UCF_SUPPRESS_MOBILE_BREAKOUTS_SUPPORT',
48
49
  'DISABLE_ASK_FOR_HELP',
49
50
  'STAGE_VIEW_INACTIVE',
50
- 'IMMERSIVE_PRESENTER_SUPPORTED_FOR_MTG'
51
+ 'IMMERSIVE_PRESENTER_SUPPORTED_FOR_MTG',
51
52
  ],
52
53
  moderator: [
53
54
  'RECORDING_CONTROL_START',
@@ -65,7 +66,7 @@ export default {
65
66
  'ENABLE_HARD_MUTE',
66
67
  'ADD_GUEST',
67
68
  'EXPEL',
68
- 'ENABLE_STAGE_VIEW'
69
+ 'ENABLE_STAGE_VIEW',
69
70
  ],
70
71
  coHost: [
71
72
  'LOCK_CONTROL_LOCK',
@@ -81,22 +82,25 @@ export default {
81
82
  'PRESENTER_CONTROL',
82
83
  'ENABLE_STAGE_VIEW',
83
84
  'EXPEL',
84
- 'ADD_GUEST'
85
- ]
85
+ 'ADD_GUEST',
86
+ ],
86
87
  },
87
88
  venueUrl: 'https://calliope-a.wbx2.com/calliope/api/v1/venues/b84e1830-74f7-11e8-',
88
- datachannelUrl: 'https://board-a.wbx2.com/datachannel/api/v1/locus/aHR0cHM6Ly9sb2N1cy1hsb2NpL2FjYTAwMTViLTQ1ODctMzNiZi05NGRjLTE2NTBmZDMyY2Q4NQ==/registrations',
89
- embeddedAppsListUrl: 'https://hecate-a.wbx2.com/apps/api/v1/locus/aca0015b-4587-33bf-94dc-/embeddedApps/allowed?sessionInfo=eyJhbGci.',
90
- embeddedAppsLaunchUrl: 'https://hecate-a.wbx2.com/apps/api/v1/locus/aca0015b-4587-33bf-94dc/embeddedApps?sessionInfo=eyJhbGciOiJub25lIn0.eyJza.',
89
+ datachannelUrl:
90
+ 'https://board-a.wbx2.com/datachannel/api/v1/locus/aHR0cHM6Ly9sb2N1cy1hsb2NpL2FjYTAwMTViLTQ1ODctMzNiZi05NGRjLTE2NTBmZDMyY2Q4NQ==/registrations',
91
+ embeddedAppsListUrl:
92
+ 'https://hecate-a.wbx2.com/apps/api/v1/locus/aca0015b-4587-33bf-94dc-/embeddedApps/allowed?sessionInfo=eyJhbGci.',
93
+ embeddedAppsLaunchUrl:
94
+ 'https://hecate-a.wbx2.com/apps/api/v1/locus/aca0015b-4587-33bf-94dc/embeddedApps?sessionInfo=eyJhbGciOiJub25lIn0.eyJza.',
91
95
  meetingInstanceId: '632D9CB5908CF13BE053D107FC0ABA26_I_2331',
92
- webexSiteUuid: '4C675B882686B136'
96
+ webexSiteUuid: '4C675B882686B136',
93
97
  },
94
98
  host: {
95
99
  id: '344ea183-9d5d-4e77-aed2-c4f',
96
100
  name: 'Arun Ganeshan',
97
101
  isExternal: false,
98
102
  orgId: '1eb65fdf-9643-417f-997',
99
- incomingCallProtocols: []
103
+ incomingCallProtocols: [],
100
104
  },
101
105
  fullState: {
102
106
  active: true,
@@ -106,63 +110,64 @@ export default {
106
110
  type: 'MEETING',
107
111
  lastActive: '2022-07-26T20:32:22.964Z',
108
112
  sessionIds: [],
109
- sessionId: '3762f03e-598a-29dd-1ae7'
113
+ sessionId: '3762f03e-598a-29dd-1ae7',
110
114
  },
111
115
  meetings: [],
112
116
  controls: {
113
117
  lock: {
114
118
  locked: false,
115
- meta: {}
119
+ meta: {},
116
120
  },
117
121
  record: {
118
122
  recording: false,
119
123
  meta: {
120
- readOnly: false
121
- }
124
+ readOnly: false,
125
+ },
122
126
  },
123
127
  transcribe: {
124
128
  transcribing: false,
125
129
  postMeetingTranscribing: false,
126
130
  caption: false,
127
- meta: {}
131
+ meta: {},
128
132
  },
129
133
  meetingFull: {
130
134
  meetingFull: false,
131
- meta: {}
135
+ meta: {},
132
136
  },
133
137
  muteOnEntry: {
134
138
  enabled: false,
135
- meta: {}
139
+ meta: {},
136
140
  },
137
141
  shareControl: {
138
142
  control: 'ANYONE',
139
- meta: {}
143
+ meta: {},
140
144
  },
141
145
  disallowUnmute: {
142
146
  enabled: false,
143
- meta: {}
147
+ meta: {},
144
148
  },
145
149
  videoLayout: {
146
150
  layoutName: {
147
151
  defaultName: 'Equal',
148
- singleScreenDefaultName: 'ActivePresence'
149
- }
152
+ singleScreenDefaultName: 'ActivePresence',
153
+ },
150
154
  },
151
155
  reactions: {
152
156
  enabled: true,
153
157
  meta: {
154
158
  modifiedBy: '344ea183-9d5d-4e77-aed2',
155
- lastModified: '2022-07-26T20:32:22.964Z'
159
+ lastModified: '2022-07-26T20:32:22.964Z',
156
160
  },
157
- reactionChannelUrl: 'https://media-encryption-a.wbx2.com/reaction/api/v1/channels/e0b7b747-67f0-4b89',
158
- showDisplayNameWithReactions: true
161
+ reactionChannelUrl:
162
+ 'https://media-encryption-a.wbx2.com/reaction/api/v1/channels/e0b7b747-67f0-4b89',
163
+ showDisplayNameWithReactions: true,
159
164
  },
160
165
  viewTheParticipantList: {
161
166
  enabled: true,
162
167
  meta: {
163
- lastModified: '2022-07-26T20:32:22.964Z'
164
- }
165
- }
168
+ lastModified: '2022-07-26T20:32:22.964Z',
169
+ },
170
+ },
166
171
  },
167
172
  participants: [
168
173
  {
@@ -177,37 +182,35 @@ export default {
177
182
  name: 'Arun Ganeshan',
178
183
  isExternal: false,
179
184
  orgId: '1eb65fdf-9643-417f-9974-ad72cae0e10f',
180
- incomingCallProtocols: []
185
+ incomingCallProtocols: [],
181
186
  },
182
187
  devices: [
183
188
  {
184
189
  url: 'https://wdm-a.wbx2.com/wdm/api/v1/devices/85e6e2a0-2514-4fc2-a175',
185
190
  deviceType: 'WEB',
186
191
  state: 'JOINED',
187
- intents: [
188
- null
189
- ],
192
+ intents: [null],
190
193
  correlationId: 'b05b4263-8fe3-427e-9995-e6f0a13302',
191
194
  isVideoCallback: false,
192
195
  csis: [],
193
- replaces: []
194
- }
196
+ replaces: [],
197
+ },
195
198
  ],
196
199
  status: {
197
200
  audioStatus: 'UNKNOWN',
198
201
  videoStatus: 'UNKNOWN',
199
- csis: []
202
+ csis: [],
200
203
  },
201
204
  controls: {
202
205
  audio: {
203
206
  muted: false,
204
207
  requestedToUnmute: false,
205
208
  disallowUnmute: false,
206
- meta: {}
209
+ meta: {},
207
210
  },
208
211
  video: {
209
212
  muted: false,
210
- meta: {}
213
+ meta: {},
211
214
  },
212
215
  role: {
213
216
  roles: [
@@ -215,26 +218,26 @@ export default {
215
218
  type: 'COHOST',
216
219
  hasRole: true,
217
220
  meta: {
218
- lastModified: '2022-07-26T20:32:22.964Z'
219
- }
221
+ lastModified: '2022-07-26T20:32:22.964Z',
222
+ },
220
223
  },
221
224
  {
222
225
  type: 'MODERATOR',
223
226
  hasRole: true,
224
227
  meta: {
225
- lastModified: '2022-07-26T20:32:22.964Z'
226
- }
228
+ lastModified: '2022-07-26T20:32:22.964Z',
229
+ },
227
230
  },
228
231
  {
229
232
  type: 'ATTENDEE',
230
233
  hasRole: true,
231
234
  meta: {
232
235
  lastModified: '2022-07-26T20:32:22.964Z',
233
- readOnly: true
234
- }
235
- }
236
- ]
237
- }
236
+ readOnly: true,
237
+ },
238
+ },
239
+ ],
240
+ },
238
241
  },
239
242
  doesNotSupportBreakouts: true,
240
243
  identityTrustLevel: 'INTERNAL',
@@ -245,24 +248,25 @@ export default {
245
248
  panelist: false,
246
249
  moveToLobbyNotAllowed: true,
247
250
  cmrHost: true,
248
- deviceUrl: 'https://wdm-a.wbx2.com/wdm/api/v1/devices/85e6e2a0-2514-4fc2-a175'
249
- }
251
+ deviceUrl: 'https://wdm-a.wbx2.com/wdm/api/v1/devices/85e6e2a0-2514-4fc2-a175',
252
+ },
250
253
  ],
251
254
  self: {
252
255
  deviceUrl: 'https://wdm-a.wbx2.com/wdm/api/v1/devices/85e6e2a0-2514-4fc2-a175',
253
256
  alertHint: {
254
- action: 'NONE'
257
+ action: 'NONE',
255
258
  },
256
259
  alertType: {
257
- action: 'NONE'
260
+ action: 'NONE',
258
261
  },
259
262
  callbackInfo: {
260
263
  callbackAddress: 'arungane@cisco.webex.com',
261
- callbackType: 'SIPURI'
264
+ callbackType: 'SIPURI',
262
265
  },
263
266
  lookUpInfo: {
264
- lookupLink: 'https://locus-a.wbx2.com/locus/api/v1/loci/meetingInfo/aca0015b-4587-33bf-94dc?type=LOCUS_ID&useUriLookup=false',
265
- type: 'MEETING'
267
+ lookupLink:
268
+ 'https://locus-a.wbx2.com/locus/api/v1/loci/meetingInfo/aca0015b-4587-33bf-94dc?type=LOCUS_ID&useUriLookup=false',
269
+ type: 'MEETING',
266
270
  },
267
271
  isCreator: true,
268
272
  identity: '344ea183-9d5d-4e77-aed2-c4f004afd915',
@@ -274,16 +278,14 @@ export default {
274
278
  name: 'Arun Ganeshan',
275
279
  isExternal: false,
276
280
  orgId: '1eb65fdf-9643-417f-9974',
277
- incomingCallProtocols: []
281
+ incomingCallProtocols: [],
278
282
  },
279
283
  devices: [
280
284
  {
281
285
  url: 'https://wdm-a.wbx2.com/wdm/api/v1/devices/85e6e2a0-2514-4fc2-a175',
282
286
  deviceType: 'WEB',
283
287
  state: 'JOINED',
284
- intents: [
285
- null
286
- ],
288
+ intents: [null],
287
289
  keepAliveUrl: 'https://locus-a.wbx2.com/locus/api/v1/loci/aca0015b-4587-33bf',
288
290
  keepAliveSecs: 300,
289
291
  callLegId: '80f5e939-1149-4f13-9535',
@@ -292,41 +294,41 @@ export default {
292
294
  csis: [],
293
295
  serverTranscoded: false,
294
296
  serverComposed: false,
295
- replaces: []
296
- }
297
+ replaces: [],
298
+ },
297
299
  ],
298
300
  status: {
299
301
  audioStatus: 'UNKNOWN',
300
302
  videoStatus: 'UNKNOWN',
301
- csis: []
303
+ csis: [],
302
304
  },
303
305
  suggestedMedia: [
304
306
  {
305
307
  mediaType: 'audio',
306
308
  mediaContent: 'main',
307
- direction: 'sendrecv'
309
+ direction: 'sendrecv',
308
310
  },
309
311
  {
310
312
  mediaType: 'video',
311
313
  mediaContent: 'main',
312
- direction: 'sendrecv'
314
+ direction: 'sendrecv',
313
315
  },
314
316
  {
315
317
  mediaType: 'video',
316
318
  mediaContent: 'slides',
317
- direction: 'sendrecv'
318
- }
319
+ direction: 'sendrecv',
320
+ },
319
321
  ],
320
322
  controls: {
321
323
  audio: {
322
324
  muted: false,
323
325
  requestedToUnmute: false,
324
326
  disallowUnmute: false,
325
- meta: {}
327
+ meta: {},
326
328
  },
327
329
  video: {
328
330
  muted: false,
329
- meta: {}
331
+ meta: {},
330
332
  },
331
333
  role: {
332
334
  roles: [
@@ -334,26 +336,26 @@ export default {
334
336
  type: 'COHOST',
335
337
  hasRole: true,
336
338
  meta: {
337
- lastModified: '2022-07-26T20:32:22.964Z'
338
- }
339
+ lastModified: '2022-07-26T20:32:22.964Z',
340
+ },
339
341
  },
340
342
  {
341
343
  type: 'MODERATOR',
342
344
  hasRole: true,
343
345
  meta: {
344
- lastModified: '2022-07-26T20:32:22.964Z'
345
- }
346
+ lastModified: '2022-07-26T20:32:22.964Z',
347
+ },
346
348
  },
347
349
  {
348
350
  type: 'ATTENDEE',
349
351
  hasRole: true,
350
352
  meta: {
351
353
  lastModified: '2022-07-26T20:32:22.964Z',
352
- readOnly: true
353
- }
354
- }
355
- ]
356
- }
354
+ readOnly: true,
355
+ },
356
+ },
357
+ ],
358
+ },
357
359
  },
358
360
  enableDTMF: true,
359
361
  id: 'e0d54e94-226c-3290-b75a',
@@ -363,42 +365,42 @@ export default {
363
365
  panelist: false,
364
366
  moveToLobbyNotAllowed: true,
365
367
  cmrHost: true,
366
- mediaBaseUrl: 'https://locus-a.wbx2.com/locus/api/v1/loci/aca0015b-4587-33bf-94dc/participant/e0d54e94-226c-3290-b75a-83cc1dbf1554/media'
368
+ mediaBaseUrl:
369
+ 'https://locus-a.wbx2.com/locus/api/v1/loci/aca0015b-4587-33bf-94dc/participant/e0d54e94-226c-3290-b75a-83cc1dbf1554/media',
367
370
  },
368
371
  mediaShares: [
369
372
  {
370
373
  name: 'content',
371
- url: 'https://locus-a.wbx2.com/locus/api/v1/loci/aca0015b-4587-33bf-94dc/mediashares/337f77f9-2f27-3cb3-ba55'
374
+ url: 'https://locus-a.wbx2.com/locus/api/v1/loci/aca0015b-4587-33bf-94dc/mediashares/337f77f9-2f27-3cb3-ba55',
372
375
  },
373
376
  {
374
377
  name: 'whiteboardview',
375
- url: 'https://locus-a.wbx2.com/locus/api/v1/loci/aca0015b-4587-33bf-94dc/mediashares/98891810-efb6-3aa3-b600-8654539abf46'
378
+ url: 'https://locus-a.wbx2.com/locus/api/v1/loci/aca0015b-4587-33bf-94dc/mediashares/98891810-efb6-3aa3-b600-8654539abf46',
376
379
  },
377
380
  {
378
381
  name: 'whiteboard',
379
- url: 'https://locus-a.wbx2.com/locus/api/v1/loci/aca0015b-4587-33bf-94dc/mediashares/b8f1742b-5dc5-3d7a-b97f-39ae11f8a051'
380
- }
382
+ url: 'https://locus-a.wbx2.com/locus/api/v1/loci/aca0015b-4587-33bf-94dc/mediashares/b8f1742b-5dc5-3d7a-b97f-39ae11f8a051',
383
+ },
381
384
  ],
382
385
  embeddedApps: [],
383
386
  replaces: [],
384
387
  sequence: {
385
- entries: [
386
- 138781603429640000
387
- ],
388
+ entries: [138781603429640000],
388
389
  rangeStart: 0,
389
390
  rangeEnd: 0,
390
391
  since: '138781603429640000',
391
392
  sequenceHash: 42,
392
393
  dataCenter: 'achm3',
393
394
  totalParticipants: 1,
394
- dirtyParticipants: 0
395
+ dirtyParticipants: 0,
395
396
  },
396
- syncUrl: 'https://locus-a.wbx2.com/locus/api/v1/loci/aca0015b-4587-33bf-94dc/sync?since=138781603429640000&sequenceHash=42',
397
+ syncUrl:
398
+ 'https://locus-a.wbx2.com/locus/api/v1/loci/aca0015b-4587-33bf-94dc/sync?since=138781603429640000&sequenceHash=42',
397
399
  links: {
398
400
  services: {
399
401
  breakout: {
400
- url: 'https://breakout-a.wbx2.com/breakout/api/v1'
401
- }
402
- }
403
- }
402
+ url: 'https://breakout-a.wbx2.com/breakout/api/v1',
403
+ },
404
+ },
405
+ },
404
406
  };
@@ -5,7 +5,7 @@ const defaultControls = {
5
5
  entryExitTone: {
6
6
  enabled: true,
7
7
  mode: 'foo',
8
- }
8
+ },
9
9
  };
10
10
 
11
11
  describe('plugin-meetings', () => {
@@ -22,7 +22,7 @@ describe('plugin-meetings', () => {
22
22
  entryExitTone: {
23
23
  enabled: false,
24
24
  mode: 'foo',
25
- }
25
+ },
26
26
  });
27
27
 
28
28
  assert.equal(parsedControls.entryExitTone, null);
@@ -48,7 +48,7 @@ describe('plugin-meetings', () => {
48
48
  entryExitTone: {
49
49
  enabled: true,
50
50
  mode: 'bar',
51
- }
51
+ },
52
52
  };
53
53
  const {updates} = ControlsUtils.getControls(defaultControls, newControls);
54
54
 
@@ -60,7 +60,7 @@ describe('plugin-meetings', () => {
60
60
  entryExitTone: {
61
61
  enabled: false,
62
62
  mode: 'foo',
63
- }
63
+ },
64
64
  };
65
65
  const {updates} = ControlsUtils.getControls(defaultControls, newControls);
66
66
 
@@ -72,7 +72,7 @@ describe('plugin-meetings', () => {
72
72
  entryExitTone: {
73
73
  enabled: true,
74
74
  mode: 'foo',
75
- }
75
+ },
76
76
  };
77
77
  const {updates} = ControlsUtils.getControls(defaultControls, newControls);
78
78
 
@@ -8,14 +8,16 @@ describe('plugin-meetings', () => {
8
8
  const slidoApp = {
9
9
  url: 'https://hecate-b.wbx2.com/apps/api/v1/locus/7a4994a7',
10
10
  sequence: 138849877016800000,
11
- appId: 'Y2lzY29zcGFyazovL3VzL0FQUExJQ0FUSU9OLzQxODc1MGQ0LTM3ZDctNGY2MC1hOWE3LWEwZTE1NDFhNjRkNg',
11
+ appId:
12
+ 'Y2lzY29zcGFyazovL3VzL0FQUExJQ0FUSU9OLzQxODc1MGQ0LTM3ZDctNGY2MC1hOWE3LWEwZTE1NDFhNjRkNg',
12
13
  instanceInfo: {
13
- appInstanceUrl: 'https://webex.sli.do/participant/event/mFKKjcYxzx9h31eyWgngFS?clusterId=eu1',
14
+ appInstanceUrl:
15
+ 'https://webex.sli.do/participant/event/mFKKjcYxzx9h31eyWgngFS?clusterId=eu1',
14
16
  externalAppInstanceUrl: '',
15
- title: 'Active session'
17
+ title: 'Active session',
16
18
  },
17
19
  state: 'STARTED',
18
- lastModified: '2022-10-13T21:01:41.680Z'
20
+ lastModified: '2022-10-13T21:01:41.680Z',
19
21
  };
20
22
  const otherApp = {
21
23
  url: 'https://hecate-b.wbx2.com/apps/api/v1/locus/7a4994a7',
@@ -24,10 +26,10 @@ describe('plugin-meetings', () => {
24
26
  instanceInfo: {
25
27
  appInstanceUrl: 'https://webex.someotherapp.com/mFKKjcYxzx9h31eyWgngFS?clusterId=eu1',
26
28
  externalAppInstanceUrl: '',
27
- title: 'Active session'
29
+ title: 'Active session',
28
30
  },
29
31
  state: 'STARTED',
30
- lastModified: '2022-10-13T21:01:31.680Z'
32
+ lastModified: '2022-10-13T21:01:31.680Z',
31
33
  };
32
34
 
33
35
  describe('parseApp', () => {
@@ -967,8 +967,7 @@ describe('plugin-meetings', () => {
967
967
 
968
968
  if (expected) {
969
969
  assert.calledWith(...expectedArgs);
970
- }
971
- else {
970
+ } else {
972
971
  assert.neverCalledWith(...expectedArgs);
973
972
  }
974
973
  locusInfo.emitScoped.resetHistory();