@webex/plugin-meetings 3.11.0-webex-services-ready.1 → 3.12.0-auth-prejoin-fetch.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 (294) 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 +16 -7
  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 +99 -4
  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 +914 -212
  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 +2347 -1096
  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 +100 -38
  83. package/dist/meeting-info/meeting-info-v2.js.map +1 -1
  84. package/dist/meetings/index.js +466 -174
  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 +253 -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/meeting-info/meeting-info-v2.d.ts +25 -1
  158. package/dist/types/meetings/index.d.ts +54 -21
  159. package/dist/types/meetings/meetings.types.d.ts +30 -1
  160. package/dist/types/meetings/request.d.ts +14 -0
  161. package/dist/types/member/index.d.ts +2 -0
  162. package/dist/types/member/types.d.ts +1 -0
  163. package/dist/types/member/util.d.ts +14 -0
  164. package/dist/types/members/index.d.ts +15 -2
  165. package/dist/types/members/util.d.ts +1 -5
  166. package/dist/types/metrics/constants.d.ts +11 -0
  167. package/dist/types/multistream/codec/constants.d.ts +7 -0
  168. package/dist/types/multistream/mediaRequestManager.d.ts +20 -26
  169. package/dist/types/multistream/sendSlotManager.d.ts +23 -1
  170. package/dist/types/reachability/clusterReachability.d.ts +3 -3
  171. package/dist/types/reachability/index.d.ts +10 -3
  172. package/dist/types/reachability/reachability.types.d.ts +7 -0
  173. package/dist/types/reachability/util.d.ts +17 -0
  174. package/dist/types/reactions/reactions.type.d.ts +4 -0
  175. package/dist/types/webinar/utils.d.ts +6 -0
  176. package/dist/webinar/index.js +585 -164
  177. package/dist/webinar/index.js.map +1 -1
  178. package/dist/webinar/utils.js +25 -0
  179. package/dist/webinar/utils.js.map +1 -0
  180. package/package.json +24 -23
  181. package/src/aiEnableRequest/README.md +84 -0
  182. package/src/aiEnableRequest/index.ts +186 -0
  183. package/src/aiEnableRequest/utils.ts +25 -0
  184. package/src/annotation/index.ts +32 -10
  185. package/src/breakouts/breakout.ts +3 -1
  186. package/src/breakouts/events.ts +33 -11
  187. package/src/breakouts/index.ts +122 -2
  188. package/src/common/errors/webex-errors.ts +50 -3
  189. package/src/config.ts +6 -2
  190. package/src/constants.ts +49 -3
  191. package/src/controls-options-manager/constants.ts +14 -1
  192. package/src/controls-options-manager/index.ts +87 -28
  193. package/src/controls-options-manager/util.ts +81 -1
  194. package/src/hashTree/constants.ts +17 -0
  195. package/src/hashTree/hashTree.ts +17 -0
  196. package/src/hashTree/hashTreeParser.ts +1482 -361
  197. package/src/hashTree/types.ts +4 -0
  198. package/src/hashTree/utils.ts +45 -0
  199. package/src/index.ts +14 -1
  200. package/src/interceptors/constant.ts +6 -0
  201. package/src/interceptors/dataChannelAuthToken.ts +246 -0
  202. package/src/interceptors/index.ts +2 -1
  203. package/src/interceptors/locusRetry.ts +25 -4
  204. package/src/interceptors/utils.ts +16 -0
  205. package/src/interpretation/index.ts +29 -11
  206. package/src/interpretation/interpretation.types.ts +11 -0
  207. package/src/locus-info/controlsUtils.ts +14 -1
  208. package/src/locus-info/index.ts +976 -203
  209. package/src/locus-info/infoUtils.ts +41 -6
  210. package/src/locus-info/selfUtils.ts +1 -0
  211. package/src/locus-info/types.ts +33 -1
  212. package/src/media/MediaConnectionAwaiter.ts +62 -5
  213. package/src/media/index.ts +10 -1
  214. package/src/media/properties.ts +11 -4
  215. package/src/meeting/in-meeting-actions.ts +20 -0
  216. package/src/meeting/index.ts +1300 -180
  217. package/src/meeting/locusMediaRequest.ts +106 -6
  218. package/src/meeting/muteState.ts +10 -1
  219. package/src/meeting/request.ts +53 -0
  220. package/src/meeting/request.type.ts +6 -0
  221. package/src/meeting/util.ts +207 -7
  222. package/src/meeting-info/meeting-info-v2.ts +83 -21
  223. package/src/meetings/index.ts +402 -121
  224. package/src/meetings/meetings.types.ts +36 -1
  225. package/src/meetings/request.ts +43 -0
  226. package/src/meetings/util.ts +117 -4
  227. package/src/member/index.ts +20 -0
  228. package/src/member/types.ts +1 -0
  229. package/src/member/util.ts +41 -0
  230. package/src/members/index.ts +70 -7
  231. package/src/members/util.ts +12 -4
  232. package/src/metrics/constants.ts +12 -0
  233. package/src/multistream/codec/constants.ts +58 -0
  234. package/src/multistream/mediaRequestManager.ts +117 -76
  235. package/src/multistream/receiveSlot.ts +18 -0
  236. package/src/multistream/remoteMediaManager.ts +13 -0
  237. package/src/multistream/sendSlotManager.ts +97 -3
  238. package/src/reachability/clusterReachability.ts +3 -2
  239. package/src/reachability/index.ts +47 -16
  240. package/src/reachability/reachability.types.ts +11 -0
  241. package/src/reachability/util.ts +36 -0
  242. package/src/reactions/reactions.type.ts +4 -0
  243. package/src/reconnection-manager/index.ts +0 -1
  244. package/src/recording-controller/index.ts +1 -2
  245. package/src/roap/turnDiscovery.ts +9 -1
  246. package/src/webinar/index.ts +448 -11
  247. package/src/webinar/utils.ts +16 -0
  248. package/test/unit/spec/aiEnableRequest/index.ts +1067 -0
  249. package/test/unit/spec/aiEnableRequest/utils.ts +130 -0
  250. package/test/unit/spec/annotation/index.ts +70 -8
  251. package/test/unit/spec/breakouts/breakout.ts +9 -3
  252. package/test/unit/spec/breakouts/events.ts +120 -2
  253. package/test/unit/spec/breakouts/index.ts +223 -3
  254. package/test/unit/spec/common/errors/webex-errors.ts +78 -0
  255. package/test/unit/spec/controls-options-manager/index.js +244 -29
  256. package/test/unit/spec/controls-options-manager/util.js +165 -0
  257. package/test/unit/spec/hashTree/hashTree.ts +66 -0
  258. package/test/unit/spec/hashTree/hashTreeParser.ts +4528 -171
  259. package/test/unit/spec/hashTree/utils.ts +125 -1
  260. package/test/unit/spec/interceptors/dataChannelAuthToken.ts +406 -0
  261. package/test/unit/spec/interceptors/locusRetry.ts +205 -4
  262. package/test/unit/spec/interceptors/utils.ts +75 -0
  263. package/test/unit/spec/interpretation/index.ts +26 -4
  264. package/test/unit/spec/locus-info/controlsUtils.js +200 -56
  265. package/test/unit/spec/locus-info/index.js +1861 -149
  266. package/test/unit/spec/locus-info/infoUtils.js +184 -1
  267. package/test/unit/spec/media/MediaConnectionAwaiter.ts +96 -1
  268. package/test/unit/spec/media/index.ts +92 -0
  269. package/test/unit/spec/media/properties.ts +35 -26
  270. package/test/unit/spec/meeting/in-meeting-actions.ts +12 -2
  271. package/test/unit/spec/meeting/index.js +3691 -366
  272. package/test/unit/spec/meeting/locusMediaRequest.ts +406 -4
  273. package/test/unit/spec/meeting/muteState.js +81 -0
  274. package/test/unit/spec/meeting/request.js +82 -0
  275. package/test/unit/spec/meeting/utils.js +595 -27
  276. package/test/unit/spec/meeting-info/meetinginfov2.js +286 -10
  277. package/test/unit/spec/meetings/index.js +1400 -78
  278. package/test/unit/spec/meetings/request.js +141 -0
  279. package/test/unit/spec/meetings/utils.js +402 -51
  280. package/test/unit/spec/member/index.js +35 -4
  281. package/test/unit/spec/member/util.js +154 -27
  282. package/test/unit/spec/members/index.js +216 -0
  283. package/test/unit/spec/members/request.js +37 -1
  284. package/test/unit/spec/members/utils.js +63 -0
  285. package/test/unit/spec/multistream/mediaRequestManager.ts +503 -122
  286. package/test/unit/spec/multistream/remoteMediaManager.ts +30 -0
  287. package/test/unit/spec/multistream/sendSlotManager.ts +135 -36
  288. package/test/unit/spec/reachability/index.ts +128 -46
  289. package/test/unit/spec/reachability/util.ts +31 -0
  290. package/test/unit/spec/reconnection-manager/index.js +4 -8
  291. package/test/unit/spec/recording-controller/index.js +9 -8
  292. package/test/unit/spec/roap/turnDiscovery.ts +20 -0
  293. package/test/unit/spec/webinar/index.ts +837 -39
  294. package/test/unit/spec/webinar/utils.ts +39 -0
@@ -1,8 +1,9 @@
1
1
  /// <reference types="node" />
2
2
  import { StatelessWebexPlugin } from '@webex/webex-core';
3
3
  import { ClientEvent, ClientEventLeaveReason } from '@webex/internal-plugin-metrics';
4
- import { ClientEvent as RawClientEvent } from '@webex/event-dictionary-ts';
4
+ import type { ClientEvent as RawClientEvent } from '@webex/event-dictionary-ts';
5
5
  import { MediaType, StatsAnalyzer, NetworkQualityMonitor, StatsMonitor } from '@webex/internal-media-core';
6
+ import { DataChannelTokenType } from '@webex/internal-plugin-llm';
6
7
  import { LocalStream, LocalCameraStream, LocalDisplayStream, LocalSystemAudioStream, LocalMicrophoneStream } from '@webex/media-helpers';
7
8
  import Roap, { type TurnDiscoverySkipReason } from '../roap/index';
8
9
  import { type TurnServerInfo } from '../roap/types';
@@ -12,10 +13,11 @@ import ReconnectionManager from '../reconnection-manager';
12
13
  import MeetingRequest from './request';
13
14
  import Members from '../members/index';
14
15
  import { DESTINATION_TYPE, NETWORK_STATUS } from '../constants';
16
+ import type { PrefetchedMeetingInfo } from '../meetings/meetings.types';
15
17
  import { ReceiveSlotManager } from '../multistream/receiveSlotManager';
16
18
  import { MediaRequestManager } from '../multistream/mediaRequestManager';
17
19
  import { Configuration as RemoteMediaManagerConfiguration, RemoteMediaManager } from '../multistream/remoteMediaManager';
18
- import { ReactionServerType, SkinToneType } from '../reactions/reactions.type';
20
+ import { SkinToneType } from '../reactions/reactions.type';
19
21
  import InMeetingActions from './in-meeting-actions';
20
22
  import RecordingController from '../recording-controller';
21
23
  import ControlsOptionsManager from '../controls-options-manager';
@@ -23,7 +25,7 @@ import { LocusMediaRequest } from './locusMediaRequest';
23
25
  import { BrbState } from './brbState';
24
26
  import { SetStageOptions } from './request.type';
25
27
  import { Invitee } from './type';
26
- import { DataSet } from '../hashTree/hashTreeParser';
28
+ import { DataSet, HashTreeMessage, Metadata } from '../hashTree/hashTreeParser';
27
29
  import { LocusDTO } from '../locus-info/types';
28
30
  export type CaptionData = {
29
31
  id: string;
@@ -70,6 +72,7 @@ export type AddMediaOptions = {
70
72
  remoteMediaManagerConfig?: RemoteMediaManagerConfiguration;
71
73
  bundlePolicy?: BundlePolicy;
72
74
  allowMediaInLobby?: boolean;
75
+ allowPublishMediaInLobby?: boolean;
73
76
  additionalMediaOptions?: AdditionalMediaOptions;
74
77
  };
75
78
  export type AdditionalMediaOptions = {
@@ -346,6 +349,16 @@ type FetchMeetingInfoParams = {
346
349
  * @property {number} networkQualityScore - {1|0} 1 indicates acceptable uplink 0 indicates unacceptable uplink based on threshold
347
350
  * @memberof Meeting
348
351
  */
352
+ /**
353
+ * Stores an event so all events can be later retrieved via a console command for debugging.
354
+ * @param {string} type
355
+ * @param {Object} data
356
+ * @returns {void}
357
+ */
358
+ export declare function storeEventForDebugging(type: string, data: {
359
+ eventType: any;
360
+ stateElementsMessage?: HashTreeMessage;
361
+ }): void;
349
362
  /**
350
363
  * @description Meeting is the crux of the plugin
351
364
  * @export
@@ -358,10 +371,11 @@ export default class Meeting extends StatelessWebexPlugin {
358
371
  breakouts: any;
359
372
  simultaneousInterpretation: any;
360
373
  annotation: any;
374
+ aiEnableRequest: any;
361
375
  webinar: any;
362
376
  conversationUrl: string;
363
377
  callStateForMetrics: CallStateForMetrics;
364
- destination: string;
378
+ destination: string | LocusDTO;
365
379
  destinationType: DESTINATION_TYPE;
366
380
  deviceUrl: string;
367
381
  hostId: string;
@@ -399,12 +413,19 @@ export default class Meeting extends StatelessWebexPlugin {
399
413
  floorGrantPending: boolean;
400
414
  hasJoinedOnce: boolean;
401
415
  hasWebsocketConnected: boolean;
416
+ private mercuryOnlineHandler?;
417
+ private mercuryOfflineHandler?;
402
418
  inMeetingActions: InMeetingActions;
403
419
  isLocalShareLive: boolean;
404
420
  isRoapInProgress: boolean;
405
421
  keepAliveTimerId: NodeJS.Timeout;
406
422
  lastVideoLayoutInfo: any;
407
423
  locusInfo: any;
424
+ isUserUnadmitted?: boolean;
425
+ joinedWith?: any;
426
+ selfId?: string;
427
+ roles: any[];
428
+ canNotViewTheParticipantList?: boolean;
408
429
  locusMediaRequest?: LocusMediaRequest;
409
430
  mediaProperties: MediaProperties;
410
431
  mediaRequestManagers: {
@@ -438,7 +459,6 @@ export default class Meeting extends StatelessWebexPlugin {
438
459
  endCallInitJoinReq: any;
439
460
  endJoinReqResp: any;
440
461
  endLocalSDPGenRemoteSDPRecvDelay: any;
441
- joinedWith: any;
442
462
  locusId: any;
443
463
  startCallInitJoinReq: any;
444
464
  startJoinReqResp: any;
@@ -453,12 +473,11 @@ export default class Meeting extends StatelessWebexPlugin {
453
473
  permissionTokenReceivedLocalTime: number;
454
474
  resourceId: any;
455
475
  resourceUrl: string;
456
- selfId: string;
457
476
  state: any;
458
477
  localAudioStreamMuteStateHandler: () => void;
459
478
  localVideoStreamMuteStateHandler: () => void;
460
479
  localOutputTrackChangeHandler: () => void;
461
- roles: any[];
480
+ localConstraintsChangeHandler: () => void;
462
481
  environment: string;
463
482
  namespace: string;
464
483
  allowMediaInLobby: boolean;
@@ -476,13 +495,15 @@ export default class Meeting extends StatelessWebexPlugin {
476
495
  isMoveToInProgress: boolean;
477
496
  registrationIdStatus: string;
478
497
  brbState: BrbState;
498
+ private emittedBreakoutJoinResponseMoveIds;
499
+ private promisesWaitingForPropUpdate;
479
500
  voiceaListenerCallbacks: object;
480
501
  private addMediaData;
481
502
  private sendSlotManager;
482
503
  private deferSDPAnswer?;
483
504
  private sdpResponseTimer?;
484
505
  private hasMediaConnectionConnectedAtLeastOnce;
485
- private joinWithMediaRetryInfo?;
506
+ private joinWithMediaRetryInfo;
486
507
  private connectionStateHandler?;
487
508
  private iceCandidateErrors;
488
509
  private iceCandidatesCount;
@@ -499,6 +520,15 @@ export default class Meeting extends StatelessWebexPlugin {
499
520
  * @memberof Meeting
500
521
  */
501
522
  constructor(attrs: any, options: object, callback: (meeting: Meeting) => void);
523
+ /**
524
+ * Get the ingress payload type for a given media type and codec mime type
525
+ * @param {MediaType} mediaType - The media type
526
+ * @param {MediaCodecMimeType} codecMimeType - The codec mime type
527
+ * @returns {number | undefined} - The ingress payload type
528
+ * @private
529
+ * @memberof Meeting
530
+ */
531
+ private getIngressPayloadTypeCallback;
502
532
  /**
503
533
  * returns meeting is joined
504
534
  * @private
@@ -627,6 +657,13 @@ export default class Meeting extends StatelessWebexPlugin {
627
657
  * @returns {Promise}
628
658
  */
629
659
  fetchMeetingInfo(options: FetchMeetingInfoParams): Promise<void>;
660
+ /**
661
+ * Consumes meeting information requested before this Meeting was created.
662
+ *
663
+ * @param {PrefetchedMeetingInfo} prefetchedMeetingInfo opaque early request handle
664
+ * @returns {Promise<void>} resolves after the response is applied to this Meeting
665
+ */
666
+ consumePrefetchedMeetingInfo(prefetchedMeetingInfo: PrefetchedMeetingInfo): Promise<void>;
630
667
  /**
631
668
  * Checks if the supplied password/host key is correct. It returns a promise with information whether the
632
669
  * password and captcha code were correct or not.
@@ -681,6 +718,40 @@ export default class Meeting extends StatelessWebexPlugin {
681
718
  * @returns {Promise}
682
719
  */
683
720
  postMetrics(eventName: ClientEvent['name']): void;
721
+ /**
722
+ * Handles the LLM state-update message that resulted from a Locus /sync. Records the LLM arrival
723
+ * time (the milestone that gates client.locus.sync.complete - the metric is emitted only for LLM
724
+ * flows) and then tries to complete the metric.
725
+ * @param {string} meetingId meeting id
726
+ * @param {string} trackingId sync tracking id echoed back on the LLM message
727
+ * @returns {void}
728
+ * @private
729
+ * @memberof Meeting
730
+ */
731
+ private onLocusSyncLlmMessage;
732
+ /**
733
+ * Attempts to complete the Locus sync latency metric and emit client.locus.sync.complete. The
734
+ * metric is emitted only once BOTH the /sync response and the resulting LLM message have arrived
735
+ * (in either order); until then the record is kept so the missing milestone can still land. Both
736
+ * trigger points (the LLM message handler and the /sync response timestamp) call this, so the
737
+ * metric fires as soon as the second milestone is in.
738
+ * @param {string} meetingId meeting id
739
+ * @param {string} trackingId sync tracking id used to match the pending record
740
+ * @returns {void}
741
+ * @private
742
+ * @memberof Meeting
743
+ */
744
+ private tryCompleteLocusSyncLatency;
745
+ /**
746
+ * Submits the client.locus.sync.complete Call Analyzer event for a completed Locus sync latency
747
+ * measurement.
748
+ * @param {string} meetingId meeting id
749
+ * @param {object} completed completed sync latency payload from the metrics plugin
750
+ * @returns {void}
751
+ * @private
752
+ * @memberof Meeting
753
+ */
754
+ private emitLocusSyncCompleteMetric;
684
755
  /**
685
756
  * Proxy function for all the listener set ups
686
757
  * @returns {undefined}
@@ -955,7 +1026,12 @@ export default class Meeting extends StatelessWebexPlugin {
955
1026
  */
956
1027
  mute(memberId: string, mute?: boolean): any;
957
1028
  /**
958
- * Transfer the moderator role to another eligible member
1029
+ * Transfer the moderator role to another eligible member.
1030
+ *
1031
+ * If the target member is currently joined in the current session, the request is
1032
+ * sent against the current locus. Otherwise, we search the breakout sessions and,
1033
+ * when the member is found in one, we send the request against that breakout
1034
+ * session's locus url instead.
959
1035
  * @param {String} memberId
960
1036
  * @param {Boolean} moderator
961
1037
  * @returns {Promise} see #members.transferHostToMember
@@ -1036,6 +1112,13 @@ export default class Meeting extends StatelessWebexPlugin {
1036
1112
  * @memberof Meeting
1037
1113
  */
1038
1114
  setSipUri(sipUri: string): void;
1115
+ /**
1116
+ * After initial locus setup, refreshes destination with synced locus data and optionally
1117
+ * performs deferred meeting info fetch when initial locus was incomplete.
1118
+ * @param {LocusDTO} locus
1119
+ * @returns {void}
1120
+ */
1121
+ finalizeMeetingAfterInitialLocusSetup(locus: LocusDTO): Promise<void>;
1039
1122
  /**
1040
1123
  * Set the locus info the class instance. Should be called with the parsed locus
1041
1124
  * we got in the join response.
@@ -1060,6 +1143,7 @@ export default class Meeting extends StatelessWebexPlugin {
1060
1143
  host: object;
1061
1144
  selfId: string;
1062
1145
  dataSets: DataSet[];
1146
+ metadata: Metadata;
1063
1147
  }): void;
1064
1148
  /**
1065
1149
  * Upload logs for the current meeting
@@ -1147,6 +1231,22 @@ export default class Meeting extends StatelessWebexPlugin {
1147
1231
  * @memberof Meeting
1148
1232
  */
1149
1233
  setMercuryListener(): void;
1234
+ /**
1235
+ * Removes this meeting's Mercury ONLINE/OFFLINE event listeners registered
1236
+ * by setMercuryListener(). Must be called before Locus /leave to avoid
1237
+ * unnecessary syncs/metrics triggered by events received while leaving
1238
+ * (per Locus team recommendation).
1239
+ *
1240
+ * Mercury is a process-wide singleton shared with other plugins, so we
1241
+ * pass the bound handler refs to .off() to avoid clearing every listener
1242
+ * for ONLINE/OFFLINE on the shared emitter.
1243
+ *
1244
+ * Idempotent: subsequent calls are no-ops because the handler refs are
1245
+ * cleared after detaching.
1246
+ * @private
1247
+ * @returns {void}
1248
+ */
1249
+ private stopListeningForMercuryEvents;
1150
1250
  /**
1151
1251
  * Close the peer connections and remove them from the class.
1152
1252
  * Cleanup any media connection related things.
@@ -1283,6 +1383,12 @@ export default class Meeting extends StatelessWebexPlugin {
1283
1383
  * @returns {void}
1284
1384
  */
1285
1385
  private processLocusLLMEvent;
1386
+ /**
1387
+ * Verifies the relay event was delivered for the active LLM session binding.
1388
+ * @param {RelayEvent} event Event object coming from LLM Connection
1389
+ * @returns {boolean}
1390
+ */
1391
+ private isRelayEventRouteValid;
1286
1392
  /**
1287
1393
  * Callback called when a relay event is received from meeting LLM Connection
1288
1394
  * @param {RelayEvent} e Event object coming from LLM Connection
@@ -1302,6 +1408,11 @@ export default class Meeting extends StatelessWebexPlugin {
1302
1408
  * @returns{void}
1303
1409
  */
1304
1410
  private triggerStopReceivingTranscriptionEvent;
1411
+ /**
1412
+ * Restores LLM subchannel subscriptions after reconnect when captions are active.
1413
+ * @returns {void}
1414
+ */
1415
+ private restoreLLMSubscriptionsIfNeeded;
1305
1416
  /**
1306
1417
  * This is a callback for the LLM event that is triggered when it comes online
1307
1418
  * This method in turn will trigger an event to the developers that the LLM is connected
@@ -1335,13 +1446,90 @@ export default class Meeting extends StatelessWebexPlugin {
1335
1446
  * @returns {void}
1336
1447
  */
1337
1448
  private clearLLMHealthCheckTimer;
1449
+ /**
1450
+ * Removes LLM event listeners and clears the health check timer.
1451
+ * Must be called before Locus /leave to avoid unnecessary syncs triggered
1452
+ * by events received while leaving (per Locus team recommendation).
1453
+ * Idempotent: safe to call multiple times; .off() is a no-op when no
1454
+ * matching listener is registered.
1455
+ * @private
1456
+ * @returns {void}
1457
+ */
1458
+ private stopListeningForLLMEvents;
1459
+ /**
1460
+ * Stops listening on every event bus (LLM, Mercury, voicea/transcription,
1461
+ * annotation) that could otherwise deliver events to this meeting while
1462
+ * Locus is processing /leave or /end. Per the Locus team recommendation,
1463
+ * this must run before the Locus request is dispatched to avoid
1464
+ * unnecessary syncs triggered by in-flight events.
1465
+ *
1466
+ * Voicea (transcription) subscribes to llm 'event:relay.event' internally,
1467
+ * and the annotation plugin subscribes to both mercury and llm, so both
1468
+ * must be torn down alongside the direct LLM/Mercury listeners.
1469
+ *
1470
+ * Idempotent: safe to call multiple times; .off() is a no-op when no
1471
+ * matching listener is registered, and stopTranscription is guarded.
1472
+ * @private
1473
+ * @returns {void}
1474
+ */
1475
+ private stopListeningForMeetingEvents;
1476
+ /**
1477
+ * Disconnects and cleans up the default LLM session listeners/timers.
1478
+ *
1479
+ * Ownership-aware: only calls `disconnectLLM` when this meeting is the
1480
+ * current owner of the default LLM session (or when no owner is recorded).
1481
+ * Event listeners belonging to this meeting instance are always detached
1482
+ * so they do not receive another meeting's relay events.
1483
+ *
1484
+ * @param {Object} options
1485
+ * @param {boolean} [options.removeOnlineListener=true] removes the one-time online listener
1486
+ * @param {boolean} [options.throwOnError=true] rethrows disconnect errors when true
1487
+ * @returns {Promise<void>}
1488
+ */
1489
+ private cleanupLLMConneciton;
1490
+ /**
1491
+ * Clears data channel tokens associated with this meeting ownership.
1492
+ * Ownership checks are enforced in internal-plugin-llm.
1493
+ * @returns {void}
1494
+ */
1495
+ clearDataChannelToken(): void;
1496
+ /**
1497
+ * Saves the data channel tokens from the join response into LLM so that
1498
+ * updateLLMConnection / updatePSDataChannel don't need to fetch them from locusInfo.
1499
+ * @param {Object} join - The parsed join response (from MeetingUtil.parseLocusJoin)
1500
+ * @returns {void}
1501
+ */
1502
+ saveDataChannelToken(join: any): void;
1503
+ /**
1504
+ * Ensures default-session data channel token exists after lobby admission.
1505
+ * Some lobby users do not receive a token until they are admitted.
1506
+ * @returns {Promise<boolean>} true when a new token is fetched and cached
1507
+ */
1508
+ private ensureDefaultDatachannelTokenAfterAdmit;
1338
1509
  /**
1339
1510
  * Connects to low latency mercury and reconnects if the address has changed
1340
1511
  * It will also disconnect if called when the meeting has ended
1341
- * @param {String} datachannelUrl
1512
+ * @param {Object} [options]
1513
+ * @param {boolean} [options.isInitialJoinPhase] true when called from initial join flow
1342
1514
  * @returns {Promise}
1343
1515
  */
1344
- updateLLMConnection(): Promise<any>;
1516
+ updateLLMConnection({ isInitialJoinPhase }?: {
1517
+ isInitialJoinPhase?: boolean;
1518
+ }): Promise<any>;
1519
+ /**
1520
+ * Ensures breakout join response metric with LLM latency is emitted only once per breakout move id.
1521
+ * @param {string | undefined} breakoutMoveId
1522
+ * @param {boolean} [hasLLMLatency=false]
1523
+ * @returns {boolean}
1524
+ */
1525
+ private shouldEmitBreakoutJoinResponseMetric;
1526
+ /**
1527
+ * Sends LLM connect latencies for initial join flow.
1528
+ * @param {RegisterAndConnectTiming} timings
1529
+ * @param {any} [error]
1530
+ * @returns {void}
1531
+ */
1532
+ private sendLLMConnectMetric;
1345
1533
  /**
1346
1534
  * Use phone for meeting audio
1347
1535
  * @param {String} phoneNumber If provided, it will dial-out using this number. If not provided, dial-in will be used
@@ -1419,12 +1607,35 @@ export default class Meeting extends StatelessWebexPlugin {
1419
1607
  */
1420
1608
  setupStatsAnalyzerEventHandlers: () => void;
1421
1609
  getMediaConnectionDebugId(): string;
1610
+ /**
1611
+ * Checks if the error indicates that Locus dropped us from the meeting,
1612
+ * either directly on the error or wrapped inside an AddMediaFailed cause.
1613
+ * This method is meant to be called only with errors thrown by Meeting.addMediaInternal()
1614
+ *
1615
+ * @param {Error} error
1616
+ * @returns {boolean}
1617
+ */
1618
+ private isErrorMeaningLocusDroppedUs;
1619
+ /**
1620
+ * Determines if the next media attempt should use only TURN-TLS (iceTransportPolicy='relay').
1621
+ * We do this in the hope that it will minimize the chance of Homer sending DTLS packets on a wrong
1622
+ * transport (as there will be only 1 transport) and dealing with firewalls that let STUN packets through, but block
1623
+ * other UDP traffic.
1624
+ *
1625
+ * For clients landing on video mesh nodes (VMN), reachability might still have successful TLS (to public nodes)
1626
+ * but TURN discovery will result in empty TURN urls array and iceTransportPolicy='relay' will still be overriden to undefined,
1627
+ * see the code in establishMediaConnection()
1628
+ *
1629
+ * @param {Error} prevError - The error from the previous addMedia attempt
1630
+ * @returns {Promise<boolean>}
1631
+ */
1632
+ private shouldRetryMediaWithOnlyTurnTLS;
1422
1633
  /**
1423
1634
  * Creates a webrtc media connection and publishes streams to it
1424
1635
  *
1425
1636
  * @param {Object} turnServerInfo TURN server information
1426
1637
  * @param {BundlePolicy} [bundlePolicy] Bundle policy settings
1427
- * @param {AddMediaOptions} [options] Options for enabling/disabling audio/video
1638
+ * @param {RTCIceTransportPolicy} [iceTransportPolicy] ICE transport policy override
1428
1639
  * @returns {RoapMediaConnection | MultistreamRoapMediaConnection}
1429
1640
  */
1430
1641
  private createMediaConnection;
@@ -1550,6 +1761,13 @@ export default class Meeting extends StatelessWebexPlugin {
1550
1761
  * @returns {void}
1551
1762
  */
1552
1763
  private setupLocusMediaRequest;
1764
+ /**
1765
+ * Waits for LocusInfo to update meeting.selfUrl, with a timeout fallback.
1766
+ * @returns {Promise<void>}
1767
+ * @private
1768
+ * @memberof Meeting
1769
+ */
1770
+ private waitForSelfUrlChange;
1553
1771
  /**
1554
1772
  * Creates a media connection to the server. Media connection is required for sending or receiving any audio/video.
1555
1773
  *
@@ -1563,14 +1781,15 @@ export default class Meeting extends StatelessWebexPlugin {
1563
1781
  * Internal version of addMedia() with some more arguments for finer control of its behavior
1564
1782
  *
1565
1783
  * @param {Function} icePhaseCallback - callback to determine the icePhase for CA "client.ice.end" failure events
1566
- * @param {TurnServerInfo} turnServerInfo - TURN server information
1567
1784
  * @param {boolean} forceTurnDiscovery - if true, TURN discovery will be done
1785
+ * @param {TurnServerInfo} turnServerInfo - TURN server information
1786
+ * @param {RTCIceTransportPolicy} [iceTransportPolicy] - ICE transport policy override
1568
1787
  * @param {AddMediaOptions} options - same as options of the public addMedia() method
1569
1788
  * @returns {Promise<void>}
1570
1789
  * @protected
1571
1790
  * @memberof Meeting
1572
1791
  */
1573
- protected addMediaInternal(icePhaseCallback: () => string, turnServerInfo: TurnServerInfo, forceTurnDiscovery: any, options?: AddMediaOptions): Promise<void>;
1792
+ protected addMediaInternal(icePhaseCallback: () => string, forceTurnDiscovery: boolean, turnServerInfo?: TurnServerInfo, iceTransportPolicy?: RTCIceTransportPolicy, options?: AddMediaOptions): Promise<void>;
1574
1793
  /**
1575
1794
  * Informs if the peer connection is in a state that can be updated with updateMedia (audio/video/share)
1576
1795
  * @returns {Boolean}
@@ -1909,7 +2128,7 @@ export default class Meeting extends StatelessWebexPlugin {
1909
2128
  * @public
1910
2129
  * @memberof Meeting
1911
2130
  */
1912
- clearMeetingData: () => void;
2131
+ clearMeetingData: () => Promise<void>;
1913
2132
  /**
1914
2133
  * starts keepAlives being sent
1915
2134
  * @returns {void}
@@ -1933,7 +2152,7 @@ export default class Meeting extends StatelessWebexPlugin {
1933
2152
  * @public
1934
2153
  * @memberof Meeting
1935
2154
  */
1936
- sendReaction(reactionType: ReactionServerType, skinToneType?: SkinToneType): any;
2155
+ sendReaction(reactionType: string, skinToneType?: SkinToneType): any;
1937
2156
  /**
1938
2157
  * Extend the current meeting duration.
1939
2158
  *
@@ -2087,5 +2306,23 @@ export default class Meeting extends StatelessWebexPlugin {
2087
2306
  * @memberof Meetings
2088
2307
  */
2089
2308
  cancelSipCallOut(participantId: string): Promise<any>;
2309
+ /**
2310
+ * Method to get new data
2311
+ * @returns {Promise}
2312
+ */
2313
+ refreshDataChannelToken(): Promise<{
2314
+ body: {
2315
+ datachannelToken: any;
2316
+ dataChannelTokenType: DataChannelTokenType;
2317
+ };
2318
+ }>;
2319
+ /**
2320
+ * Determines the current data channel token type based on the meeting state.
2321
+ *
2322
+ * variant should be used when connecting to the LLM data channel.
2323
+ *
2324
+ * @returns {DataChannelTokenType} The token type representing the current session mode.
2325
+ */
2326
+ getDataChannelTokenType(): DataChannelTokenType;
2090
2327
  }
2091
2328
  export {};
@@ -32,6 +32,8 @@ export type Config = {
32
32
  correlationId: string;
33
33
  meetingId: string;
34
34
  preferTranscoding: boolean;
35
+ getCurrentSelfUrl: () => string | undefined;
36
+ waitForSelfUrlChange: () => Promise<void>;
35
37
  };
36
38
  /**
37
39
  * This class manages all /media API requests to Locus. Every call to that
@@ -67,6 +69,16 @@ export declare class LocusMediaRequest extends WebexPlugin {
67
69
  * Prepares the uri and body for the media request to be sent to Locus
68
70
  */
69
71
  private sendHttpRequest;
72
+ /**
73
+ * Returns the latest selfUrl for this meeting, falling back to the value
74
+ * captured when the request was enqueued.
75
+ */
76
+ private getCurrentSelfUrl;
77
+ /**
78
+ * Decides whether a 409 warrants a retry against the meeting's latest
79
+ * selfUrl.
80
+ */
81
+ private shouldRetryOnSelfUrlChange;
70
82
  /**
71
83
  * Sends a media request to Locus
72
84
  */
@@ -1,5 +1,5 @@
1
1
  import { StatelessWebexPlugin } from '@webex/webex-core';
2
- import { SendReactionOptions, BrbOptions, ToggleReactionsOptions, PostMeetingDataConsentOptions, SynchronizeVideoLayout } from './request.type';
2
+ import { SendReactionOptions, BrbOptions, ToggleReactionsOptions, PostMeetingDataConsentOptions, SynchronizeVideoLayout, fetchDataChannelTokenOptions } from './request.type';
3
3
  import { AnnotationInfo } from '../annotation/annotation.types';
4
4
  import { ClientMediaPreferences } from '../reachability/reachability.types';
5
5
  /**
@@ -63,6 +63,7 @@ export default class MeetingRequest extends StatelessWebexPlugin {
63
63
  locale?: string;
64
64
  deviceCapabilities?: Array<string>;
65
65
  liveAnnotationSupported: boolean;
66
+ enableSimultaneousInterpretation: boolean;
66
67
  alias?: string;
67
68
  clientMediaPreferences: ClientMediaPreferences;
68
69
  }): Promise<any>;
@@ -364,4 +365,19 @@ export default class MeetingRequest extends StatelessWebexPlugin {
364
365
  * @returns {Promise} The API response
365
366
  */
366
367
  cancelSipCallOut(participantId: any): Promise<any>;
368
+ /**
369
+ * Sends a request to retrieve the datachannel authorization token for a participant.
370
+ *
371
+ * For regular meeting data channel:
372
+ * GET /locus/api/v1/loci/{uuid:lid}/participant/{uuid:pid}/datachannel/token
373
+ *
374
+ * For practice session data channel:
375
+ * GET /locus/api/v1/loci/{uuid:lid}/participant/{uuid:pid}/practiceSession/datachannel/token
376
+ *
377
+ * @param {string} locusUrl - The locus url.
378
+ * @param {string} requestingParticipantId - The participant UUID.
379
+ * @param {boolean} [isPracticeSession=false] - Whether to get the practice session token.
380
+ * @returns {Promise<{datachannelToken: string}>}
381
+ */
382
+ fetchDatachannelToken({ locusUrl, requestingParticipantId, isPracticeSession, }: fetchDataChannelTokenOptions): Promise<any>;
367
383
  }
@@ -94,4 +94,9 @@ export type SetStageVideoLayout = {
94
94
  export type UnsetStageVideoLayout = {
95
95
  overrideDefault: false;
96
96
  };
97
+ export type fetchDataChannelTokenOptions = {
98
+ locusUrl: string;
99
+ requestingParticipantId: string;
100
+ isPracticeSession: boolean;
101
+ };
97
102
  export type SynchronizeVideoLayout = SetStageVideoLayout | UnsetStageVideoLayout;
@@ -2,6 +2,34 @@ import { LocalCameraStream, LocalMicrophoneStream } from '@webex/media-helpers';
2
2
  import { SELF_POLICY, IP_VERSION } from '../constants';
3
3
  declare const MeetingUtil: {
4
4
  parseLocusJoin: (response: any) => any;
5
+ /**
6
+ * Sanitizes a WebSocket URL by extracting only protocol, host, and pathname
7
+ * Returns concatenated protocol + host + pathname for safe logging
8
+ * Note: This is used for logging only; URL matching uses partial matching via _urlsPartiallyMatch
9
+ * @param {string} urlString - The URL to sanitize
10
+ * @returns {string} Sanitized URL or empty string if parsing fails
11
+ */
12
+ sanitizeWebSocketUrl: (urlString: string) => string;
13
+ /**
14
+ * Checks if two URLs partially match using an endsWith approach
15
+ * Combines host and pathname, then checks if one ends with the other
16
+ * This handles cases where one URL goes through a proxy (e.g., /webproxy/) while the other is direct
17
+ * @param {string} url1 - First URL to compare
18
+ * @param {string} url2 - Second URL to compare
19
+ * @returns {boolean} True if one URL path ends with the other (partial match), false otherwise
20
+ */
21
+ _urlsPartiallyMatch: (url1: string, url2: string) => boolean;
22
+ /**
23
+ * Gets socket URL information for metrics, including whether the socket URLs match
24
+ * Uses partial matching to handle proxy URLs (e.g., URLs with /webproxy/ prefix)
25
+ * @param {Object} webex - The webex instance
26
+ * @returns {Object} Object with hasMismatchedSocket, mercurySocketUrl, and deviceSocketUrl properties
27
+ */
28
+ getSocketUrlInfo: (webex: any) => {
29
+ hasMismatchedSocket: boolean;
30
+ mercurySocketUrl: string;
31
+ deviceSocketUrl: string;
32
+ };
5
33
  remoteUpdateAudioVideo: (meeting: any, audioMuted?: boolean, videoMuted?: boolean) => any;
6
34
  hasOwner: (info: any) => any;
7
35
  isOwnerSelf: (owner: any, selfId: any) => boolean;
@@ -59,6 +87,7 @@ declare const MeetingUtil: {
59
87
  canUserLowerAllHands: (displayHints: any) => any;
60
88
  canUserLowerSomeoneElsesHand: (displayHints: any) => any;
61
89
  bothLeaveAndEndMeetingAvailable: (displayHints: any) => any;
90
+ requireHostEndMeetingBeforeLeave: (displayHints: any) => any;
62
91
  canManageBreakout: (displayHints: any) => any;
63
92
  canStartBreakout: (displayHints: any) => boolean;
64
93
  canBroadcastMessageToBreakout: (displayHints: any, policies?: {}) => boolean;
@@ -104,6 +133,13 @@ declare const MeetingUtil: {
104
133
  * @returns {void}
105
134
  */
106
135
  addSequence: (meeting: any, requestBody: any) => void;
136
+ /**
137
+ * Checks if Locus API response contains a Locus DTO
138
+ *
139
+ * @param {any} response http response from Locus API call
140
+ * @returns {boolean} true if response contains a Locus DTO
141
+ */
142
+ isLocusDtoInAPIResponse(response: any): any;
107
143
  /**
108
144
  * Updates the locus info for the meeting with the locus
109
145
  * information returned from API requests made to Locus
@@ -115,6 +151,10 @@ declare const MeetingUtil: {
115
151
  updateLocusFromApiResponse: (meeting: any, response: any) => any;
116
152
  generateBuildLocusDeltaRequestOptions: (originalMeeting: any) => (originalOptions: any) => any;
117
153
  generateLocusDeltaRequest: (originalMeeting: any) => (originalOptions: any) => any;
154
+ canAttendeeRequestAiAssistantEnabled: (displayHints?: any[], roles?: any[]) => boolean;
155
+ attendeeRequestAiAssistantDeclinedAll: (displayHints?: any[]) => boolean;
156
+ isAnonymizeDisplayNamesEnabled: (displayHints: any) => any;
157
+ canViewTheParticipantList: (displayHints: any, canNotViewTheParticipantList: boolean) => any;
118
158
  selfSupportsFeature: (feature: SELF_POLICY, userPolicies: Record<SELF_POLICY, boolean>) => boolean;
119
159
  parseInterpretationInfo: (meeting: any, meetingInfo: any) => void;
120
160
  /**
@@ -1,4 +1,15 @@
1
1
  import { DESTINATION_TYPE } from '../constants';
2
+ export type PreJoinContext = {
3
+ correlationId: string;
4
+ sessionCorrelationId?: string;
5
+ };
6
+ type MeetingInfoV2Config = {
7
+ api?: 'meetingInfo';
8
+ preJoinContext?: never;
9
+ } | {
10
+ api: 'preJoin';
11
+ preJoinContext: PreJoinContext;
12
+ };
2
13
  /**
3
14
  * Error to indicate that wbxappapi requires a password
4
15
  */
@@ -150,11 +161,22 @@ export declare class MeetingInfoV2StaticMeetingLinkAlreadyExists extends Error {
150
161
  */
151
162
  export default class MeetingInfoV2 {
152
163
  webex: any;
164
+ private readonly api;
165
+ private readonly preJoinContext?;
153
166
  /**
154
167
  *
155
168
  * @param {WebexSDK} webex
169
+ * @param {MeetingInfoV2Config} config
156
170
  */
157
- constructor(webex: any);
171
+ constructor(webex: any, config?: MeetingInfoV2Config);
172
+ /**
173
+ * Creates a meeting-info provider whose requests consistently use preJoin.
174
+ *
175
+ * @param {WebexSDK} webex
176
+ * @param {PreJoinContext} preJoinContext identifiers retained for later requests
177
+ * @returns {MeetingInfoV2}
178
+ */
179
+ static createPreJoinProvider(webex: any, preJoinContext: PreJoinContext): MeetingInfoV2;
158
180
  /**
159
181
  * converts hydra id into conversation url and persons Id
160
182
  * @param {String} destination one of many different types of destinations to look up info for
@@ -252,5 +274,7 @@ export default class MeetingInfoV2 {
252
274
  }, installedOrgID?: any, locusId?: any, extraParams?: object, options?: {
253
275
  meetingId?: string;
254
276
  sendCAevents?: boolean;
277
+ correlationId?: string;
255
278
  }, registrationId?: string, fullSiteUrl?: string, classificationId?: string): Promise<any>;
256
279
  }
280
+ export {};