@webex/plugin-meetings 3.11.0-webex-services-ready.1 → 3.12.0-metrics-init-fix-2.1

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 (293) hide show
  1. package/AGENTS.md +9 -0
  2. package/dist/aiEnableRequest/index.js +197 -0
  3. package/dist/aiEnableRequest/index.js.map +1 -0
  4. package/dist/aiEnableRequest/utils.js +36 -0
  5. package/dist/aiEnableRequest/utils.js.map +1 -0
  6. package/dist/annotation/index.js +14 -5
  7. package/dist/annotation/index.js.map +1 -1
  8. package/dist/breakouts/breakout.js +8 -3
  9. package/dist/breakouts/breakout.js.map +1 -1
  10. package/dist/breakouts/events.js +29 -14
  11. package/dist/breakouts/events.js.map +1 -1
  12. package/dist/breakouts/index.js +90 -3
  13. package/dist/breakouts/index.js.map +1 -1
  14. package/dist/common/errors/webex-errors.js +49 -5
  15. package/dist/common/errors/webex-errors.js.map +1 -1
  16. package/dist/config.js +8 -3
  17. package/dist/config.js.map +1 -1
  18. package/dist/constants.js +60 -11
  19. package/dist/constants.js.map +1 -1
  20. package/dist/controls-options-manager/constants.js +11 -1
  21. package/dist/controls-options-manager/constants.js.map +1 -1
  22. package/dist/controls-options-manager/index.js +67 -29
  23. package/dist/controls-options-manager/index.js.map +1 -1
  24. package/dist/controls-options-manager/util.js +91 -0
  25. package/dist/controls-options-manager/util.js.map +1 -1
  26. package/dist/hashTree/constants.js +16 -2
  27. package/dist/hashTree/constants.js.map +1 -1
  28. package/dist/hashTree/hashTree.js +18 -0
  29. package/dist/hashTree/hashTree.js.map +1 -1
  30. package/dist/hashTree/hashTreeParser.js +1655 -538
  31. package/dist/hashTree/hashTreeParser.js.map +1 -1
  32. package/dist/hashTree/types.js +4 -2
  33. package/dist/hashTree/types.js.map +1 -1
  34. package/dist/hashTree/utils.js +52 -0
  35. package/dist/hashTree/utils.js.map +1 -1
  36. package/dist/index.js +18 -2
  37. package/dist/index.js.map +1 -1
  38. package/dist/interceptors/constant.js +12 -0
  39. package/dist/interceptors/constant.js.map +1 -0
  40. package/dist/interceptors/dataChannelAuthToken.js +350 -0
  41. package/dist/interceptors/dataChannelAuthToken.js.map +1 -0
  42. package/dist/interceptors/index.js +7 -0
  43. package/dist/interceptors/index.js.map +1 -1
  44. package/dist/interceptors/locusRetry.js +23 -8
  45. package/dist/interceptors/locusRetry.js.map +1 -1
  46. package/dist/interceptors/utils.js +27 -0
  47. package/dist/interceptors/utils.js.map +1 -0
  48. package/dist/interpretation/index.js +11 -2
  49. package/dist/interpretation/index.js.map +1 -1
  50. package/dist/interpretation/interpretation.types.js +7 -0
  51. package/dist/interpretation/interpretation.types.js.map +1 -0
  52. package/dist/interpretation/siLanguage.js +1 -1
  53. package/dist/locus-info/controlsUtils.js +9 -4
  54. package/dist/locus-info/controlsUtils.js.map +1 -1
  55. package/dist/locus-info/index.js +911 -211
  56. package/dist/locus-info/index.js.map +1 -1
  57. package/dist/locus-info/infoUtils.js +36 -5
  58. package/dist/locus-info/infoUtils.js.map +1 -1
  59. package/dist/locus-info/selfUtils.js +1 -0
  60. package/dist/locus-info/selfUtils.js.map +1 -1
  61. package/dist/locus-info/types.js +19 -0
  62. package/dist/locus-info/types.js.map +1 -1
  63. package/dist/media/MediaConnectionAwaiter.js +72 -3
  64. package/dist/media/MediaConnectionAwaiter.js.map +1 -1
  65. package/dist/media/index.js +8 -2
  66. package/dist/media/index.js.map +1 -1
  67. package/dist/media/properties.js +8 -7
  68. package/dist/media/properties.js.map +1 -1
  69. package/dist/meeting/in-meeting-actions.js +11 -1
  70. package/dist/meeting/in-meeting-actions.js.map +1 -1
  71. package/dist/meeting/index.js +2266 -1069
  72. package/dist/meeting/index.js.map +1 -1
  73. package/dist/meeting/locusMediaRequest.js +229 -82
  74. package/dist/meeting/locusMediaRequest.js.map +1 -1
  75. package/dist/meeting/muteState.js +10 -1
  76. package/dist/meeting/muteState.js.map +1 -1
  77. package/dist/meeting/request.js +55 -2
  78. package/dist/meeting/request.js.map +1 -1
  79. package/dist/meeting/request.type.js.map +1 -1
  80. package/dist/meeting/util.js +168 -5
  81. package/dist/meeting/util.js.map +1 -1
  82. package/dist/meeting-info/meeting-info-v2.js +2 -2
  83. package/dist/meeting-info/meeting-info-v2.js.map +1 -1
  84. package/dist/meetings/index.js +369 -162
  85. package/dist/meetings/index.js.map +1 -1
  86. package/dist/meetings/meetings.types.js +6 -1
  87. package/dist/meetings/meetings.types.js.map +1 -1
  88. package/dist/meetings/request.js +39 -0
  89. package/dist/meetings/request.js.map +1 -1
  90. package/dist/meetings/util.js +116 -18
  91. package/dist/meetings/util.js.map +1 -1
  92. package/dist/member/index.js +20 -0
  93. package/dist/member/index.js.map +1 -1
  94. package/dist/member/types.js.map +1 -1
  95. package/dist/member/util.js +40 -0
  96. package/dist/member/util.js.map +1 -1
  97. package/dist/members/index.js +101 -43
  98. package/dist/members/index.js.map +1 -1
  99. package/dist/members/util.js +8 -1
  100. package/dist/members/util.js.map +1 -1
  101. package/dist/metrics/constants.js +12 -1
  102. package/dist/metrics/constants.js.map +1 -1
  103. package/dist/multistream/codec/constants.js +63 -0
  104. package/dist/multistream/codec/constants.js.map +1 -0
  105. package/dist/multistream/mediaRequestManager.js +64 -68
  106. package/dist/multistream/mediaRequestManager.js.map +1 -1
  107. package/dist/multistream/receiveSlot.js +9 -0
  108. package/dist/multistream/receiveSlot.js.map +1 -1
  109. package/dist/multistream/remoteMediaManager.js +11 -0
  110. package/dist/multistream/remoteMediaManager.js.map +1 -1
  111. package/dist/multistream/sendSlotManager.js +116 -2
  112. package/dist/multistream/sendSlotManager.js.map +1 -1
  113. package/dist/reachability/clusterReachability.js.map +1 -1
  114. package/dist/reachability/index.js +121 -83
  115. package/dist/reachability/index.js.map +1 -1
  116. package/dist/reachability/reachability.types.js +2 -0
  117. package/dist/reachability/reachability.types.js.map +1 -1
  118. package/dist/reachability/util.js +45 -0
  119. package/dist/reachability/util.js.map +1 -1
  120. package/dist/reactions/reactions.type.js.map +1 -1
  121. package/dist/reconnection-manager/index.js +0 -1
  122. package/dist/reconnection-manager/index.js.map +1 -1
  123. package/dist/recording-controller/index.js +1 -3
  124. package/dist/recording-controller/index.js.map +1 -1
  125. package/dist/roap/turnDiscovery.js +8 -1
  126. package/dist/roap/turnDiscovery.js.map +1 -1
  127. package/dist/types/aiEnableRequest/index.d.ts +5 -0
  128. package/dist/types/aiEnableRequest/utils.d.ts +2 -0
  129. package/dist/types/common/errors/webex-errors.d.ts +32 -2
  130. package/dist/types/config.d.ts +6 -2
  131. package/dist/types/constants.d.ts +35 -1
  132. package/dist/types/controls-options-manager/constants.d.ts +6 -1
  133. package/dist/types/controls-options-manager/index.d.ts +16 -0
  134. package/dist/types/hashTree/constants.d.ts +3 -0
  135. package/dist/types/hashTree/hashTree.d.ts +7 -0
  136. package/dist/types/hashTree/hashTreeParser.d.ts +315 -30
  137. package/dist/types/hashTree/types.d.ts +3 -0
  138. package/dist/types/hashTree/utils.d.ts +24 -0
  139. package/dist/types/index.d.ts +4 -0
  140. package/dist/types/interceptors/constant.d.ts +5 -0
  141. package/dist/types/interceptors/dataChannelAuthToken.d.ts +43 -0
  142. package/dist/types/interceptors/index.d.ts +2 -1
  143. package/dist/types/interceptors/locusRetry.d.ts +4 -4
  144. package/dist/types/interceptors/utils.d.ts +1 -0
  145. package/dist/types/interpretation/interpretation.types.d.ts +10 -0
  146. package/dist/types/locus-info/index.d.ts +126 -15
  147. package/dist/types/locus-info/infoUtils.d.ts +8 -0
  148. package/dist/types/locus-info/types.d.ts +28 -1
  149. package/dist/types/media/MediaConnectionAwaiter.d.ts +20 -2
  150. package/dist/types/media/properties.d.ts +8 -3
  151. package/dist/types/meeting/in-meeting-actions.d.ts +10 -0
  152. package/dist/types/meeting/index.d.ts +245 -16
  153. package/dist/types/meeting/locusMediaRequest.d.ts +12 -0
  154. package/dist/types/meeting/request.d.ts +17 -1
  155. package/dist/types/meeting/request.type.d.ts +5 -0
  156. package/dist/types/meeting/util.d.ts +40 -0
  157. package/dist/types/meetings/index.d.ts +42 -20
  158. package/dist/types/meetings/meetings.types.d.ts +15 -0
  159. package/dist/types/meetings/request.d.ts +14 -0
  160. package/dist/types/member/index.d.ts +2 -0
  161. package/dist/types/member/types.d.ts +1 -0
  162. package/dist/types/member/util.d.ts +14 -0
  163. package/dist/types/members/index.d.ts +15 -2
  164. package/dist/types/members/util.d.ts +1 -5
  165. package/dist/types/metrics/constants.d.ts +11 -0
  166. package/dist/types/multistream/codec/constants.d.ts +7 -0
  167. package/dist/types/multistream/mediaRequestManager.d.ts +20 -26
  168. package/dist/types/multistream/sendSlotManager.d.ts +23 -1
  169. package/dist/types/reachability/clusterReachability.d.ts +3 -3
  170. package/dist/types/reachability/index.d.ts +10 -3
  171. package/dist/types/reachability/reachability.types.d.ts +7 -0
  172. package/dist/types/reachability/util.d.ts +17 -0
  173. package/dist/types/reactions/reactions.type.d.ts +4 -0
  174. package/dist/types/webinar/utils.d.ts +6 -0
  175. package/dist/webinar/index.js +585 -164
  176. package/dist/webinar/index.js.map +1 -1
  177. package/dist/webinar/utils.js +25 -0
  178. package/dist/webinar/utils.js.map +1 -0
  179. package/package.json +24 -23
  180. package/src/aiEnableRequest/README.md +84 -0
  181. package/src/aiEnableRequest/index.ts +186 -0
  182. package/src/aiEnableRequest/utils.ts +25 -0
  183. package/src/annotation/index.ts +27 -7
  184. package/src/breakouts/breakout.ts +3 -1
  185. package/src/breakouts/events.ts +33 -11
  186. package/src/breakouts/index.ts +110 -1
  187. package/src/common/errors/webex-errors.ts +50 -3
  188. package/src/config.ts +6 -2
  189. package/src/constants.ts +49 -3
  190. package/src/controls-options-manager/constants.ts +14 -1
  191. package/src/controls-options-manager/index.ts +87 -28
  192. package/src/controls-options-manager/util.ts +81 -1
  193. package/src/hashTree/constants.ts +17 -0
  194. package/src/hashTree/hashTree.ts +17 -0
  195. package/src/hashTree/hashTreeParser.ts +1482 -361
  196. package/src/hashTree/types.ts +4 -0
  197. package/src/hashTree/utils.ts +45 -0
  198. package/src/index.ts +14 -1
  199. package/src/interceptors/constant.ts +6 -0
  200. package/src/interceptors/dataChannelAuthToken.ts +246 -0
  201. package/src/interceptors/index.ts +2 -1
  202. package/src/interceptors/locusRetry.ts +25 -4
  203. package/src/interceptors/utils.ts +16 -0
  204. package/src/interpretation/index.ts +29 -11
  205. package/src/interpretation/interpretation.types.ts +11 -0
  206. package/src/locus-info/controlsUtils.ts +14 -1
  207. package/src/locus-info/index.ts +975 -203
  208. package/src/locus-info/infoUtils.ts +41 -6
  209. package/src/locus-info/selfUtils.ts +1 -0
  210. package/src/locus-info/types.ts +33 -1
  211. package/src/media/MediaConnectionAwaiter.ts +62 -5
  212. package/src/media/index.ts +10 -1
  213. package/src/media/properties.ts +11 -4
  214. package/src/meeting/in-meeting-actions.ts +20 -0
  215. package/src/meeting/index.ts +1258 -166
  216. package/src/meeting/locusMediaRequest.ts +106 -6
  217. package/src/meeting/muteState.ts +10 -1
  218. package/src/meeting/request.ts +53 -0
  219. package/src/meeting/request.type.ts +6 -0
  220. package/src/meeting/util.ts +207 -7
  221. package/src/meeting-info/meeting-info-v2.ts +4 -2
  222. package/src/meetings/index.ts +319 -117
  223. package/src/meetings/meetings.types.ts +19 -0
  224. package/src/meetings/request.ts +43 -0
  225. package/src/meetings/util.ts +117 -4
  226. package/src/member/index.ts +20 -0
  227. package/src/member/types.ts +1 -0
  228. package/src/member/util.ts +41 -0
  229. package/src/members/index.ts +70 -7
  230. package/src/members/util.ts +12 -4
  231. package/src/metrics/constants.ts +12 -0
  232. package/src/multistream/codec/constants.ts +58 -0
  233. package/src/multistream/mediaRequestManager.ts +117 -76
  234. package/src/multistream/receiveSlot.ts +18 -0
  235. package/src/multistream/remoteMediaManager.ts +13 -0
  236. package/src/multistream/sendSlotManager.ts +97 -3
  237. package/src/reachability/clusterReachability.ts +3 -2
  238. package/src/reachability/index.ts +47 -16
  239. package/src/reachability/reachability.types.ts +11 -0
  240. package/src/reachability/util.ts +36 -0
  241. package/src/reactions/reactions.type.ts +4 -0
  242. package/src/reconnection-manager/index.ts +0 -1
  243. package/src/recording-controller/index.ts +1 -2
  244. package/src/roap/turnDiscovery.ts +9 -1
  245. package/src/webinar/index.ts +448 -11
  246. package/src/webinar/utils.ts +16 -0
  247. package/test/unit/spec/aiEnableRequest/index.ts +1067 -0
  248. package/test/unit/spec/aiEnableRequest/utils.ts +130 -0
  249. package/test/unit/spec/annotation/index.ts +69 -7
  250. package/test/unit/spec/breakouts/breakout.ts +9 -3
  251. package/test/unit/spec/breakouts/events.ts +120 -2
  252. package/test/unit/spec/breakouts/index.ts +191 -2
  253. package/test/unit/spec/common/errors/webex-errors.ts +78 -0
  254. package/test/unit/spec/controls-options-manager/index.js +244 -29
  255. package/test/unit/spec/controls-options-manager/util.js +165 -0
  256. package/test/unit/spec/hashTree/hashTree.ts +66 -0
  257. package/test/unit/spec/hashTree/hashTreeParser.ts +4528 -171
  258. package/test/unit/spec/hashTree/utils.ts +125 -1
  259. package/test/unit/spec/interceptors/dataChannelAuthToken.ts +406 -0
  260. package/test/unit/spec/interceptors/locusRetry.ts +205 -4
  261. package/test/unit/spec/interceptors/utils.ts +75 -0
  262. package/test/unit/spec/interpretation/index.ts +26 -4
  263. package/test/unit/spec/locus-info/controlsUtils.js +200 -56
  264. package/test/unit/spec/locus-info/index.js +1848 -164
  265. package/test/unit/spec/locus-info/infoUtils.js +184 -1
  266. package/test/unit/spec/media/MediaConnectionAwaiter.ts +96 -1
  267. package/test/unit/spec/media/index.ts +92 -0
  268. package/test/unit/spec/media/properties.ts +35 -26
  269. package/test/unit/spec/meeting/in-meeting-actions.ts +12 -2
  270. package/test/unit/spec/meeting/index.js +3611 -334
  271. package/test/unit/spec/meeting/locusMediaRequest.ts +406 -4
  272. package/test/unit/spec/meeting/muteState.js +81 -0
  273. package/test/unit/spec/meeting/request.js +82 -0
  274. package/test/unit/spec/meeting/utils.js +595 -27
  275. package/test/unit/spec/meeting-info/meetinginfov2.js +19 -10
  276. package/test/unit/spec/meetings/index.js +1138 -86
  277. package/test/unit/spec/meetings/request.js +141 -0
  278. package/test/unit/spec/meetings/utils.js +402 -51
  279. package/test/unit/spec/member/index.js +35 -4
  280. package/test/unit/spec/member/util.js +154 -27
  281. package/test/unit/spec/members/index.js +216 -0
  282. package/test/unit/spec/members/request.js +37 -1
  283. package/test/unit/spec/members/utils.js +63 -0
  284. package/test/unit/spec/multistream/mediaRequestManager.ts +503 -122
  285. package/test/unit/spec/multistream/remoteMediaManager.ts +30 -0
  286. package/test/unit/spec/multistream/sendSlotManager.ts +135 -36
  287. package/test/unit/spec/reachability/index.ts +128 -46
  288. package/test/unit/spec/reachability/util.ts +31 -0
  289. package/test/unit/spec/reconnection-manager/index.js +4 -8
  290. package/test/unit/spec/recording-controller/index.js +9 -8
  291. package/test/unit/spec/roap/turnDiscovery.ts +20 -0
  292. package/test/unit/spec/webinar/index.ts +837 -39
  293. package/test/unit/spec/webinar/utils.ts +39 -0
@@ -13,7 +13,7 @@ import {
13
13
  } from './constants';
14
14
 
15
15
  import {StrokeData, RequestData, IAnnotationChannel, CommandRequestBody} from './annotation.types';
16
- import {HTTP_VERBS} from '../constants';
16
+ import {HTTP_VERBS, LOCUSEVENT, LLM_PRACTICE_SESSION} from '../constants';
17
17
 
18
18
  /**
19
19
  * @description Annotation to handle LLM and Mercury message and locus API
@@ -69,7 +69,7 @@ class AnnotationChannel extends WebexPlugin implements IAnnotationChannel {
69
69
  */
70
70
  private eventCommandProcessor(e) {
71
71
  if (
72
- e?.data?.eventType === 'locus.approval_request' &&
72
+ e?.data?.eventType === LOCUSEVENT.APPROVAL_REQUEST &&
73
73
  e?.data?.approval?.resourceType === ANNOTATION_RESOURCE_TYPE &&
74
74
  e?.data?.approval?.actionType
75
75
  ) {
@@ -110,12 +110,18 @@ class AnnotationChannel extends WebexPlugin implements IAnnotationChannel {
110
110
  if (!this.hasSubscribedToEvents) {
111
111
  // @ts-ignore
112
112
  this.webex.internal.mercury.on(
113
- 'event:locus.approval_request',
113
+ `event:${LOCUSEVENT.APPROVAL_REQUEST}`,
114
114
  this.eventCommandProcessor,
115
115
  this
116
116
  );
117
117
  // @ts-ignore
118
118
  this.webex.internal.llm.on('event:relay.event', this.eventDataProcessor, this);
119
+ // @ts-ignore
120
+ this.webex.internal.llm.on(
121
+ `event:relay.event:${LLM_PRACTICE_SESSION}`,
122
+ this.eventDataProcessor,
123
+ this
124
+ );
119
125
  this.hasSubscribedToEvents = true;
120
126
  }
121
127
  }
@@ -127,11 +133,18 @@ class AnnotationChannel extends WebexPlugin implements IAnnotationChannel {
127
133
  public deregisterEvents() {
128
134
  if (this.hasSubscribedToEvents) {
129
135
  // @ts-ignore
130
- this.webex.internal.mercury.off('event:locus.approval_request', this.eventCommandProcessor);
136
+ this.webex.internal.mercury.off(
137
+ `event:${LOCUSEVENT.APPROVAL_REQUEST}`,
138
+ this.eventCommandProcessor
139
+ );
131
140
 
132
141
  // @ts-ignore
133
142
  this.webex.internal.llm.off('event:relay.event', this.eventDataProcessor);
134
-
143
+ // @ts-ignore
144
+ this.webex.internal.llm.off(
145
+ `event:relay.event:${LLM_PRACTICE_SESSION}`,
146
+ this.eventDataProcessor
147
+ );
135
148
  this.hasSubscribedToEvents = false;
136
149
  }
137
150
  }
@@ -303,12 +316,19 @@ class AnnotationChannel extends WebexPlugin implements IAnnotationChannel {
303
316
  * @returns {void}
304
317
  */
305
318
  private publishEncrypted(encryptedContent: string, strokeData: StrokeData) {
319
+ // @ts-ignore
320
+ const {llm} = this.webex.internal;
321
+ const isPracticeSessionConnected = llm.isConnected(LLM_PRACTICE_SESSION);
322
+ const socket =
323
+ (isPracticeSessionConnected && llm.getSocket(LLM_PRACTICE_SESSION)) || llm.socket;
324
+ const binding =
325
+ (isPracticeSessionConnected && llm.getBinding(LLM_PRACTICE_SESSION)) || llm.getBinding();
306
326
  const data = {
307
327
  id: `${this.seqNum}`,
308
328
  type: 'publishRequest',
309
329
  recipients: {
310
330
  // @ts-ignore
311
- route: this.webex.internal.llm.getBinding(),
331
+ route: binding,
312
332
  },
313
333
  headers: {
314
334
  to: strokeData.toUserId,
@@ -336,7 +356,7 @@ class AnnotationChannel extends WebexPlugin implements IAnnotationChannel {
336
356
  };
337
357
 
338
358
  // @ts-ignore
339
- this.webex.internal.llm.socket.send(data);
359
+ socket.send(data);
340
360
  this.seqNum += 1;
341
361
  }
342
362
  }
@@ -31,6 +31,7 @@ const Breakout = WebexPlugin.extend({
31
31
  groupId: 'string',
32
32
  url: 'string', // where to send requests to
33
33
  requestedLastModifiedTime: 'string',
34
+ resourceLink: 'string', // the resource link for this breakout session, used for telemetry and logging
34
35
  },
35
36
 
36
37
  derived: {
@@ -165,7 +166,8 @@ const Breakout = WebexPlugin.extend({
165
166
  return;
166
167
  }
167
168
  this.breakoutRosterLocus = locus;
168
- this.members.locusParticipantsUpdate(locus);
169
+ // The roster via breakout roster event is full roster, use replace strategy to update the members
170
+ this.members.locusParticipantsUpdate({participants: locus.participants, isReplace: true});
169
171
  },
170
172
 
171
173
  /**
@@ -36,20 +36,42 @@ const breakoutEvent: {
36
36
  if (!eventInfo?.breakoutMoveId || !eventInfo?.meeting) {
37
37
  return;
38
38
  }
39
- if (!eventInfo.meeting.meetingInfo?.enableConvergedArchitecture) {
39
+
40
+ const {breakoutMoveId, currentSession, error, llmLatency, llmWebsocketUrl, meeting} = eventInfo;
41
+
42
+ if (!meeting.meetingInfo?.enableConvergedArchitecture) {
40
43
  return;
41
44
  }
42
- submitClientEvent({
43
- name: event,
44
- payload: {
45
- identifiers: {
46
- breakoutMoveId: eventInfo.breakoutMoveId,
47
- breakoutSessionId: eventInfo?.currentSession?.sessionId,
48
- breakoutGroupId: eventInfo?.currentSession?.groupId,
49
- },
45
+
46
+ if (
47
+ event === 'client.breakout-session.join.response' &&
48
+ typeof meeting.shouldEmitBreakoutJoinResponseMetric === 'function' &&
49
+ !meeting.shouldEmitBreakoutJoinResponseMetric(breakoutMoveId, Boolean(llmLatency))
50
+ ) {
51
+ return;
52
+ }
53
+
54
+ const payload: any = {
55
+ llmLatency,
56
+ identifiers: {
57
+ breakoutMoveId,
58
+ breakoutSessionId: currentSession?.sessionId,
59
+ breakoutGroupId: currentSession?.groupId,
60
+ llmWebsocketUrl,
50
61
  },
51
- options: {meetingId: eventInfo.meeting.id},
52
- });
62
+ };
63
+
64
+ const options: any = {
65
+ meetingId: meeting.id,
66
+ rawError: error,
67
+ };
68
+
69
+ const metricEvent = {
70
+ name: event,
71
+ payload,
72
+ options,
73
+ };
74
+ submitClientEvent(metricEvent);
53
75
  },
54
76
  };
55
77
 
@@ -32,6 +32,7 @@ const Breakouts = WebexPlugin.extend({
32
32
  name: 'string', // only present when in a breakout session
33
33
  sessionId: 'string', // appears from the moment you enable breakouts
34
34
  sessionType: 'string', // appears from the moment you enable breakouts
35
+ breakoutMoveId: 'string', // used to correlate breakout move/join diagnostics
35
36
  startTime: 'string', // appears once breakouts start
36
37
  status: 'string', // only present when in a breakout session
37
38
  url: 'string', // appears from the moment you enable breakouts
@@ -149,6 +150,11 @@ const Breakouts = WebexPlugin.extend({
149
150
  this.listenTo(this.breakouts, 'change:requestedLastModifiedTime', (breakout) => {
150
151
  this.triggerReturnToMainEvent(breakout);
151
152
  });
153
+ this.listenTo(
154
+ this,
155
+ BREAKOUTS.EVENTS.LLM_CONNECT_RESPONSE,
156
+ this.handleLLMBreakoutJoinResponseMetric
157
+ );
152
158
  this.listenToCurrentSessionTypeChange();
153
159
  this.listenToBreakoutRosters();
154
160
  this.listenToBreakoutHelp();
@@ -327,7 +333,10 @@ const Breakouts = WebexPlugin.extend({
327
333
  * @returns {void}
328
334
  */
329
335
  updateBreakout(params) {
336
+ const breakoutMoveId = params.breakoutMoveId || this.breakoutMoveId;
337
+
330
338
  this.set(params);
339
+ this.set('breakoutMoveId', breakoutMoveId);
331
340
  // These values are set manually so they are unset when they are not included in params
332
341
  this.set('groups', params.groups);
333
342
  this.set('startTime', params.startTime);
@@ -340,6 +349,7 @@ const Breakouts = WebexPlugin.extend({
340
349
  current: true,
341
350
  sessionType: params.sessionType,
342
351
  url: params.url,
352
+ resourceLink: params.resourceLink,
343
353
  [BREAKOUTS.SESSION_STATES.ACTIVE]: false,
344
354
  [BREAKOUTS.SESSION_STATES.ALLOWED]: false,
345
355
  [BREAKOUTS.SESSION_STATES.ASSIGNED]: false,
@@ -361,12 +371,81 @@ const Breakouts = WebexPlugin.extend({
361
371
  {
362
372
  currentSession: this.currentBreakoutSession,
363
373
  meeting,
364
- breakoutMoveId: params.breakoutMoveId,
374
+ breakoutMoveId,
365
375
  },
366
376
  // @ts-ignore
367
377
  this.webex.internal.newMetrics.submitClientEvent.bind(this.webex.internal.newMetrics)
368
378
  );
369
379
  }
380
+
381
+ this.submitLLMBreakoutJoinResponseMetric();
382
+ },
383
+
384
+ /**
385
+ * Stores the latest LLM connect response and tries to send the LLM-enhanced breakout join response.
386
+ * The breakout update and the LLM response are delivered independently, so either side can arrive first.
387
+ * @param {Object} eventInfo LLM connect response info
388
+ * @param {Object} eventInfo.meeting meeting instance
389
+ * @param {Object} eventInfo.llmLatency LLM latency values
390
+ * @param {Object} [eventInfo.error] LLM connection error
391
+ * @returns {void}
392
+ */
393
+ handleLLMBreakoutJoinResponseMetric(eventInfo: any) {
394
+ this.llmBreakoutJoinResponseInfo = {
395
+ ...eventInfo,
396
+ breakoutMoveId: this.breakoutMoveId,
397
+ };
398
+
399
+ this.submitLLMBreakoutJoinResponseMetric();
400
+ },
401
+
402
+ /**
403
+ * Sends the LLM-enhanced breakout join response metric when both breakout state and LLM latency
404
+ * are available. LLM reconnects can also happen while leaving a breakout, before stale breakout
405
+ * fields are fully cleared, so the joined-session check lives with the breakout state.
406
+ *
407
+ * The joined session changes both when joining a breakout and when returning to the main
408
+ * session, and the client reconnects LLM in both directions. Mirroring the desktop client, we
409
+ * emit the join response for either transition, so the active-breakout check also accepts the
410
+ * main session. Non-breakout meetings never carry a breakoutMoveId, and a given move id is
411
+ * reported at most once, so accepting the main session here cannot leak spurious events.
412
+ * @returns {void}
413
+ */
414
+ submitLLMBreakoutJoinResponseMetric() {
415
+ const eventInfo = this.llmBreakoutJoinResponseInfo;
416
+
417
+ // The breakout update and the LLM response arrive independently, so only emit once both the
418
+ // breakout move and its matching LLM latency are available for a session we have actually joined.
419
+ const hasMatchingMoveId =
420
+ !!this.breakoutMoveId && eventInfo?.breakoutMoveId === this.breakoutMoveId;
421
+ const hasSessionIdentifiers =
422
+ !!this.currentBreakoutSession?.sessionId && !!this.currentBreakoutSession?.groupId;
423
+ // isActiveBreakout already covers an open/closing breakout; isInMainSession covers return-to-main.
424
+ const isJoinedSession = this.isActiveBreakout || this.isInMainSession;
425
+
426
+ if (!eventInfo || !hasMatchingMoveId || !hasSessionIdentifiers || !isJoinedSession) {
427
+ return;
428
+ }
429
+
430
+ const {llmLatency, error} = eventInfo;
431
+ const meeting = eventInfo.meeting || this.webex.meetings.getMeetingByType(_ID_, this.meetingId);
432
+ // @ts-ignore
433
+ const llmWebsocketUrl = this.webex.internal.llm.getWebSocketUrl?.() || undefined;
434
+
435
+ breakoutEvent.onBreakoutJoinResponse(
436
+ {
437
+ currentSession: this.currentBreakoutSession,
438
+ meeting,
439
+ breakoutMoveId: this.breakoutMoveId,
440
+ llmLatency,
441
+ llmWebsocketUrl,
442
+ error,
443
+ },
444
+ // @ts-ignore
445
+ this.webex.internal.newMetrics.submitClientEvent.bind(this.webex.internal.newMetrics)
446
+ );
447
+
448
+ this.llmBreakoutJoinResponseInfo = undefined;
370
449
  },
371
450
 
372
451
  /**
@@ -985,6 +1064,36 @@ const Breakouts = WebexPlugin.extend({
985
1064
  body,
986
1065
  });
987
1066
  },
1067
+ /**
1068
+ * Remove participants from their current breakout session back to the main session
1069
+ * @param {string[]} participants - participant IDs to remove from breakout
1070
+ * @returns {Promise}
1071
+ */
1072
+ removeFromBreakout(participants: string[]) {
1073
+ if (!this.mainGroupId || !this.mainSessionId) {
1074
+ throw new Error(
1075
+ 'Main group ID and session ID must be available to remove participants from breakout'
1076
+ );
1077
+ }
1078
+
1079
+ return this.request({
1080
+ method: HTTP_VERBS.POST,
1081
+ uri: `${this.url}/move`,
1082
+ body: {
1083
+ groups: [
1084
+ {
1085
+ id: this.mainGroupId,
1086
+ sessions: [
1087
+ {
1088
+ id: this.mainSessionId,
1089
+ participants,
1090
+ },
1091
+ ],
1092
+ },
1093
+ ],
1094
+ },
1095
+ });
1096
+ },
988
1097
  /**
989
1098
  * trigger ASK_RETURN_TO_MAIN event when main session requested
990
1099
  * @param {Object} breakout
@@ -157,19 +157,66 @@ WebExMeetingsErrors[IceGatheringFailed.CODE] = IceGatheringFailed;
157
157
  class AddMediaFailed extends WebexMeetingsError {
158
158
  static CODE = 30203;
159
159
  cause?: Error;
160
+ connectionType?: string;
161
+ selectedCandidatePairChanges?: number;
162
+ numTransports?: number;
163
+ iceConnected?: boolean;
160
164
 
161
165
  /**
162
166
  * Creates a new AddMediaFailed error
163
- * @param {Error} [cause] - The underlying error that caused the media addition to fail
167
+ * @param {Object} options
168
+ * @param {Error} [options.cause] - The underlying error that caused the media addition to fail
169
+ * @param {string} [options.connectionType] - The ICE connection type at the time of failure (e.g. 'UDP', 'TURN-TLS')
170
+ * @param {number} [options.selectedCandidatePairChanges] - Number of times the selected candidate pair changed
171
+ * @param {number} [options.numTransports] - Number of ICE transports
172
+ * @param {boolean} [options.iceConnected] - Whether ICE connection was established before the failure
164
173
  */
165
- constructor(cause?: Error) {
174
+ constructor(
175
+ options: {
176
+ cause?: Error;
177
+ connectionType?: string;
178
+ selectedCandidatePairChanges?: number;
179
+ numTransports?: number;
180
+ iceConnected?: boolean;
181
+ } = {}
182
+ ) {
166
183
  super(AddMediaFailed.CODE, 'Failed to add media');
167
- this.cause = cause;
184
+ this.cause = options.cause;
185
+ this.connectionType = options.connectionType;
186
+ this.selectedCandidatePairChanges = options.selectedCandidatePairChanges;
187
+ this.numTransports = options.numTransports;
188
+ this.iceConnected = options.iceConnected;
189
+ }
190
+
191
+ /**
192
+ * Returns true if the failure was due to a DTLS handshake failure
193
+ * (ICE connected successfully but the overall media connection failed).
194
+ */
195
+ get isDtlsHandshakeFailure(): boolean {
196
+ return this.iceConnected === true;
168
197
  }
169
198
  }
170
199
  export {AddMediaFailed};
171
200
  WebExMeetingsErrors[AddMediaFailed.CODE] = AddMediaFailed;
172
201
 
202
+ /**
203
+ * @class MediaConnectionTimedOutError
204
+ * @classdesc Internal error thrown when the media connection times out waiting to connect.
205
+ */
206
+ class MediaConnectionTimedOutError extends Error {
207
+ iceConnected: boolean;
208
+
209
+ cause?: any;
210
+
211
+ constructor(message: string, iceConnected: boolean, cause?: any) {
212
+ super(message);
213
+ this.name = 'MediaConnectionTimedOutError';
214
+ this.iceConnected = iceConnected;
215
+ this.cause = cause;
216
+ }
217
+ }
218
+ export {MediaConnectionTimedOutError};
219
+
173
220
  /**
174
221
  * @class SdpResponseTimeoutError
175
222
  * @classdesc Raised whenever we timeout waiting for remote SDP answer
package/src/config.ts CHANGED
@@ -82,16 +82,17 @@ export default {
82
82
  enableExtmap: false,
83
83
  enableAutomaticLLM: false,
84
84
  installedOrgID: undefined,
85
+ multipartSitePrefixList: ['.my.', '.mydmz.', '.mybts.', '.mydev.', '.myats2.', '.myats.'],
85
86
  experimental: {
86
87
  enableMediaNegotiatedEvent: false,
87
88
  enableUnifiedMeetings: true,
88
89
  enableAdhocMeetings: true,
89
- enableTcpReachability: false,
90
- enableTlsReachability: false,
90
+ storeLocusHashTreeEventsForDebugging: false,
91
91
  },
92
92
  degradationPreferences: {
93
93
  maxMacroblocksLimit: 8192,
94
94
  },
95
+ enableAv1SlidesSupport: false,
95
96
  // This only applies to non-multistream meetings
96
97
  iceCandidatesGatheringTimeout: undefined,
97
98
  backendIpv6NativeSupport: false,
@@ -101,5 +102,8 @@ export default {
101
102
  stopIceGatheringAfterFirstRelayCandidate: false,
102
103
  enableAudioTwccForMultistream: false,
103
104
  enablePerUdpUrlReachability: false, // true: separate peer connection per each UDP URL; false: single peer connection for all URLs
105
+ locus: {
106
+ excludedDataSets: ['attendees'], // attendees data set only applies to webinar attendees and we never really need that
107
+ },
104
108
  },
105
109
  };
package/src/constants.ts CHANGED
@@ -1,6 +1,8 @@
1
1
  // @ts-ignore
2
2
  import {hydraTypes} from '@webex/common';
3
3
 
4
+ export {LLM_DEFAULT_SESSION, LLM_PRACTICE_SESSION} from '@webex/internal-plugin-llm';
5
+
4
6
  export type Enum<T extends Record<string, unknown>> = T[keyof T];
5
7
 
6
8
  // *********** LOWERCASE / CAMELCASE STRINGS ************
@@ -364,6 +366,8 @@ export const EVENT_TRIGGERS = {
364
366
  MEETING_CONTROLS_VIEW_THE_PARTICIPANTS_LIST_UPDATED:
365
367
  'meeting:controls:view-the-participants-list:updated',
366
368
  MEETING_CONTROLS_RAISE_HAND_UPDATED: 'meeting:controls:raise-hand:updated',
369
+ MEETING_CONTROLS_AI_SUMMARY_NOTIFICATION_UPDATED:
370
+ 'meeting:controls:ai-summary-notification:updated',
367
371
  MEETING_CONTROLS_VIDEO_UPDATED: 'meeting:controls:video:updated',
368
372
  MEETING_CONTROLS_STAGE_VIEW_UPDATED: 'meeting:controls:stage-view:updated',
369
373
  MEETING_CONTROLS_WEBCAST_UPDATED: 'meeting:controls:webcast:updated',
@@ -387,6 +391,8 @@ export const EVENT_TRIGGERS = {
387
391
  MEETING_MANUAL_CAPTION_UPDATED: 'meeting:manualCaptionControl:updated',
388
392
  MEETING_CAPTION_RECEIVED: 'meeting:caption-received',
389
393
  MEETING_PARTICIPANT_REASON_CHANGED: 'meeting:participant-reason-changed',
394
+ MEETING_AI_ENABLE_REQUEST: 'meeting:aiEnableRequest',
395
+ MEETING_SRTP_CIPHER_UPDATED: 'meeting:srtpCipher:updated',
390
396
  };
391
397
 
392
398
  export const EVENT_TYPES = {
@@ -413,8 +419,7 @@ export const HEADERS = {
413
419
  // Meeting actually ended
414
420
  export const MEETING_REMOVED_REASON = {
415
421
  SELF_REMOVED: 'SELF_REMOVED', // server or host removed you from the meeting
416
- FULLSTATE_REMOVED: 'FULLSTATE_REMOVED', // meeting got dropped ? not sure
417
- MEETING_INACTIVE_TERMINATING: 'MEETING_INACTIVE_TERMINATING', // Meeting got ended or everyone left the meeting
422
+ MEETING_INACTIVE_TERMINATING: 'MEETING_INACTIVE_TERMINATING', // Meeting got ended or everyone left the meeting (historically was sent on Locus TERMINATING or INACTIVE, but now only on INACTIVE as that's the final state)
418
423
  CLIENT_LEAVE_REQUEST: 'CLIENT_LEAVE_REQUEST', // You triggered leave meeting
419
424
  CLIENT_LEAVE_REQUEST_TAB_CLOSED: 'CLIENT_LEAVE_REQUEST_TAB_CLOSED', // You triggered leave meeting, such as closing the browser tab directly
420
425
  USER_ENDED_SHARE_STREAMS: 'USER_ENDED_SHARE_STREAMS', // user triggered stop share
@@ -655,6 +660,7 @@ export const BREAKOUTS = {
655
660
  LEAVE_BREAKOUT: 'LEAVE_BREAKOUT',
656
661
  ASK_FOR_HELP: 'ASK_FOR_HELP',
657
662
  PRE_ASSIGNMENTS_UPDATE: 'PRE_ASSIGNMENTS_UPDATE',
663
+ LLM_CONNECT_RESPONSE: 'LLM_CONNECT_RESPONSE',
658
664
  },
659
665
  SESSION_TYPES: {
660
666
  MAIN: 'MAIN',
@@ -697,6 +703,12 @@ export const INTERPRETATION = {
697
703
  DECLINED: 'DECLINED',
698
704
  },
699
705
  RESOURCE_TYPE: 'SiHandover',
706
+ CAPABILITIES: {
707
+ HOST_CONTROL_SI_SUPPORTED: 'HOST_CONTROL_SI_SUPPORTED',
708
+ INTERPRETER_CONTROL_SI_SUPPORTED: 'INTERPRETER_CONTROL_SI_SUPPORTED',
709
+ SI_HANDOVER_SUPPORTED: 'SI_HANDOVER_SUPPORTED',
710
+ SIGN_INTERPRETER_SUPPORTED: 'SIGN_INTERPRETER_SUPPORTED',
711
+ },
700
712
  };
701
713
 
702
714
  export const LOCUSINFO = {
@@ -704,6 +716,7 @@ export const LOCUSINFO = {
704
716
  CONTROLS_MEETING_LAYOUT_UPDATED: 'CONTROLS_MEETING_LAYOUT_UPDATED',
705
717
  CONTROLS_RECORDING_UPDATED: 'CONTROLS_RECORDING_UPDATED',
706
718
  CONTROLS_MEETING_TRANSCRIBE_UPDATED: 'CONTROLS_MEETING_TRANSCRIBE_UPDATED',
719
+ CONTROLS_AI_SUMMARY_NOTIFICATION_UPDATED: 'CONTROLS_AI_SUMMARY_NOTIFICATION_UPDATED',
707
720
  CONTROLS_MEETING_TRANSCRIPTION_SPOKEN_LANGUAGE_UPDATED:
708
721
  'CONTROLS_MEETING_TRANSCRIPTION_SPOKEN_LANGUAGE_UPDATED',
709
722
  CONTROLS_MEETING_MANUAL_CAPTION_UPDATED: 'CONTROLS_MEETING_MANUAL_CAPTION_UPDATED',
@@ -750,6 +763,7 @@ export const LOCUSINFO = {
750
763
  SELF_IS_SHARING_BLOCKED_CHANGE: 'SELF_IS_SHARING_BLOCKED_CHANGE',
751
764
  SELF_MEETING_BREAKOUTS_CHANGED: 'SELF_MEETING_BREAKOUTS_CHANGED',
752
765
  SELF_MEETING_INTERPRETATION_CHANGED: 'SELF_MEETING_INTERPRETATION_CHANGED',
766
+ SELF_ID_CHANGED: 'SELF_ID_CHANGED',
753
767
  SELF_MEETING_BRB_CHANGED: 'SELF_MEETING_BRB_CHANGED',
754
768
  MEDIA_INACTIVITY: 'MEDIA_INACTIVITY',
755
769
  LINKS_SERVICES: 'LINKS_SERVICES',
@@ -797,6 +811,8 @@ export const LOCUSEVENT = {
797
811
 
798
812
  HASH_TREE_DATA_UPDATED: 'locus.state_message',
799
813
 
814
+ APPROVAL_REQUEST: 'locus.approval_request',
815
+
800
816
  // events generated internally by SDK
801
817
  SDK_LOCUS_FROM_SYNC_MEETINGS: 'jsSdk.locus_from_sync_meetings', // generated for each meeting from response to GET /loci Locus API call
802
818
  SDK_NO_EVENT: 'jsSdk.no_event', // used in cases where eventType is irrelevant
@@ -977,6 +993,8 @@ export const DISPLAY_HINTS = {
977
993
  LOWER_SOMEONE_ELSES_HAND: 'LOWER_SOMEONE_ELSES_HAND',
978
994
  LEAVE_TRANSFER_HOST_END_MEETING: 'LEAVE_TRANSFER_HOST_END_MEETING',
979
995
  LEAVE_END_MEETING: 'LEAVE_END_MEETING',
996
+ END_MEETING: 'END_MEETING',
997
+ REQUIRE_HOST_END_MEETING_BEFORE_LEAVE: 'REQUIRE_HOST_END_MEETING_BEFORE_LEAVE',
980
998
  STREAMING_STATUS_STARTED: 'STREAMING_STATUS_STARTED',
981
999
  STREAMING_STATUS_STOPPED: 'STREAMING_STATUS_STOPPED',
982
1000
  CAPTION_START: 'CAPTION_START',
@@ -1022,6 +1040,8 @@ export const DISPLAY_HINTS = {
1022
1040
  // participants list
1023
1041
  DISABLE_VIEW_THE_PARTICIPANT_LIST: 'DISABLE_VIEW_THE_PARTICIPANT_LIST',
1024
1042
  ENABLE_VIEW_THE_PARTICIPANT_LIST: 'ENABLE_VIEW_THE_PARTICIPANT_LIST',
1043
+ VIEW_THE_PARTICIPANT_LIST: 'VIEW_THE_PARTICIPANT_LIST',
1044
+ CAN_VIEW_THE_PARTICIPANT_LIST: 'CAN_VIEW_THE_PARTICIPANT_LIST',
1025
1045
  // for webinar participants list
1026
1046
  DISABLE_VIEW_THE_PARTICIPANT_LIST_PANELIST: 'DISABLE_VIEW_THE_PARTICIPANT_LIST_PANELIST',
1027
1047
  ENABLE_VIEW_THE_PARTICIPANT_LIST_PANELIST: 'ENABLE_VIEW_THE_PARTICIPANT_LIST_PANELIST',
@@ -1080,15 +1100,26 @@ export const DISPLAY_HINTS = {
1080
1100
  // Polling QA
1081
1101
  ENABLE_ATTENDEE_START_POLLING_QA: 'ENABLE_ATTENDEE_START_POLLING_QA',
1082
1102
  DISABLE_ATTENDEE_START_POLLING_QA: 'DISABLE_ATTENDEE_START_POLLING_QA',
1103
+
1104
+ // AI
1105
+ ATTENDEE_REQUEST_AI_ASSISTANT_ENABLED: 'ATTENDEE_REQUEST_AI_ASSISTANT_ENABLED',
1106
+ ATTENDEE_REQUEST_AI_ASSISTANT_DECLINED_ALL: 'ATTENDEE_REQUEST_AI_ASSISTANT_DECLINED_ALL',
1107
+
1108
+ // Anonymous Display Names
1109
+ ANONYMOUS_DISPLAY_NAMES_ENABLED: 'ANONYMOUS_DISPLAY_NAMES_ENABLED',
1083
1110
  };
1084
1111
 
1085
- export const INTERSTITIAL_DISPLAY_HINTS = [DISPLAY_HINTS.VOIP_IS_ENABLED];
1112
+ export const INTERSTITIAL_DISPLAY_HINTS = [
1113
+ DISPLAY_HINTS.VOIP_IS_ENABLED,
1114
+ DISPLAY_HINTS.ANONYMOUS_DISPLAY_NAMES_ENABLED,
1115
+ ];
1086
1116
 
1087
1117
  export const SELF_ROLES = {
1088
1118
  COHOST: 'COHOST',
1089
1119
  MODERATOR: 'MODERATOR',
1090
1120
  ATTENDEE: 'ATTENDEE',
1091
1121
  PANELIST: 'PANELIST',
1122
+ PRESENTER: 'PRESENTER',
1092
1123
  };
1093
1124
 
1094
1125
  export const MEETING_STATE = {
@@ -1401,3 +1432,18 @@ export const STAGE_MANAGER_TYPE = {
1401
1432
  BACKGROUND: 0b010,
1402
1433
  NAME_LABEL: 0b100,
1403
1434
  };
1435
+
1436
+ export const DEFAULT_LARGE_SCALE_WEBINAR_ATTENDEE_SEARCH_LIMIT = 50;
1437
+
1438
+ export const AI_ENABLE_REQUEST = {
1439
+ EVENTS: {
1440
+ APPROVAL_REQUEST_ARRIVED: 'APPROVAL_REQUEST_ARRIVED',
1441
+ },
1442
+ ACTION_TYPE: {
1443
+ REQUESTED: 'REQUESTED',
1444
+ ACCEPTED: 'ACCEPTED',
1445
+ DECLINED: 'DECLINED',
1446
+ DECLINED_ALL: 'DECLINED_ALL',
1447
+ },
1448
+ RESOURCE_TYPE: 'AiAssistant',
1449
+ };
@@ -1,5 +1,18 @@
1
+ import {camelCase} from 'lodash';
2
+ import {Control, Setting} from './enums';
3
+
1
4
  const ENABLED = 'enabled';
2
5
  const CAN_SET = 'canSet';
3
6
  const CAN_UNSET = 'canUnset';
4
7
 
5
- export {ENABLED, CAN_SET, CAN_UNSET};
8
+ /**
9
+ * Body keys that represent audio controls. These do not support cross-locus
10
+ * authorization and must be sent directly to the current locus URL.
11
+ */
12
+ const AUDIO_CONTROL_BODY_KEYS: ReadonlySet<string> = new Set([
13
+ Control.audio,
14
+ camelCase(Setting.muteOnEntry),
15
+ camelCase(Setting.disallowUnmute),
16
+ ]);
17
+
18
+ export {ENABLED, CAN_SET, CAN_UNSET, AUDIO_CONTROL_BODY_KEYS};