@webex/plugin-meetings 3.8.1 → 3.9.0-multiple-llm.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 (319) hide show
  1. package/README.md +26 -13
  2. package/dist/breakouts/breakout.js +1 -1
  3. package/dist/breakouts/index.js +1 -1
  4. package/dist/constants.js +34 -3
  5. package/dist/constants.js.map +1 -1
  6. package/dist/controls-options-manager/enums.js +1 -0
  7. package/dist/controls-options-manager/enums.js.map +1 -1
  8. package/dist/controls-options-manager/types.js.map +1 -1
  9. package/dist/controls-options-manager/util.js +26 -0
  10. package/dist/controls-options-manager/util.js.map +1 -1
  11. package/dist/interpretation/index.js +1 -1
  12. package/dist/interpretation/siLanguage.js +1 -1
  13. package/dist/locus-info/controlsUtils.js +11 -3
  14. package/dist/locus-info/controlsUtils.js.map +1 -1
  15. package/dist/locus-info/index.js +107 -95
  16. package/dist/locus-info/index.js.map +1 -1
  17. package/dist/locus-info/parser.js +4 -1
  18. package/dist/locus-info/parser.js.map +1 -1
  19. package/dist/media/index.js +2 -2
  20. package/dist/media/index.js.map +1 -1
  21. package/dist/media/properties.js +53 -5
  22. package/dist/media/properties.js.map +1 -1
  23. package/dist/meeting/brbState.js +17 -14
  24. package/dist/meeting/brbState.js.map +1 -1
  25. package/dist/meeting/in-meeting-actions.js +13 -1
  26. package/dist/meeting/in-meeting-actions.js.map +1 -1
  27. package/dist/meeting/index.js +555 -296
  28. package/dist/meeting/index.js.map +1 -1
  29. package/dist/meeting/muteState.js +2 -5
  30. package/dist/meeting/muteState.js.map +1 -1
  31. package/dist/meeting/request.js +44 -0
  32. package/dist/meeting/request.js.map +1 -1
  33. package/dist/meeting/request.type.js.map +1 -1
  34. package/dist/{rtcMetrics/constants.js → meeting/type.js} +1 -5
  35. package/dist/meeting/type.js.map +1 -0
  36. package/dist/meeting/util.js +98 -13
  37. package/dist/meeting/util.js.map +1 -1
  38. package/dist/meeting-info/meeting-info-v2.js +29 -21
  39. package/dist/meeting-info/meeting-info-v2.js.map +1 -1
  40. package/dist/meetings/index.js +18 -10
  41. package/dist/meetings/index.js.map +1 -1
  42. package/dist/member/types.js.map +1 -1
  43. package/dist/members/collection.js +13 -0
  44. package/dist/members/collection.js.map +1 -1
  45. package/dist/members/index.js +53 -29
  46. package/dist/members/index.js.map +1 -1
  47. package/dist/members/request.js +3 -3
  48. package/dist/members/request.js.map +1 -1
  49. package/dist/members/util.js +25 -8
  50. package/dist/members/util.js.map +1 -1
  51. package/dist/metrics/constants.js +3 -1
  52. package/dist/metrics/constants.js.map +1 -1
  53. package/dist/multistream/mediaRequestManager.js +1 -1
  54. package/dist/multistream/mediaRequestManager.js.map +1 -1
  55. package/dist/multistream/remoteMedia.js +34 -5
  56. package/dist/multistream/remoteMedia.js.map +1 -1
  57. package/dist/multistream/remoteMediaGroup.js +42 -2
  58. package/dist/multistream/remoteMediaGroup.js.map +1 -1
  59. package/dist/multistream/sendSlotManager.js +32 -2
  60. package/dist/multistream/sendSlotManager.js.map +1 -1
  61. package/dist/reachability/index.js +8 -13
  62. package/dist/reachability/index.js.map +1 -1
  63. package/dist/types/constants.d.ts +30 -0
  64. package/dist/types/controls-options-manager/enums.d.ts +2 -1
  65. package/dist/types/controls-options-manager/types.d.ts +4 -1
  66. package/dist/types/locus-info/index.d.ts +54 -10
  67. package/dist/types/media/properties.d.ts +21 -0
  68. package/dist/types/meeting/brbState.d.ts +0 -1
  69. package/dist/types/meeting/in-meeting-actions.d.ts +12 -0
  70. package/dist/types/meeting/index.d.ts +58 -20
  71. package/dist/types/meeting/request.d.ts +18 -1
  72. package/dist/types/meeting/request.type.d.ts +74 -0
  73. package/dist/types/meeting/type.d.ts +9 -0
  74. package/dist/types/meeting/util.d.ts +13 -3
  75. package/dist/types/meeting-info/meeting-info-v2.d.ts +6 -3
  76. package/dist/types/meetings/index.d.ts +3 -1
  77. package/dist/types/member/types.d.ts +1 -0
  78. package/dist/types/members/collection.d.ts +6 -0
  79. package/dist/types/members/index.d.ts +22 -9
  80. package/dist/types/members/request.d.ts +1 -1
  81. package/dist/types/members/util.d.ts +13 -6
  82. package/dist/types/metrics/constants.d.ts +2 -0
  83. package/dist/types/multistream/remoteMedia.d.ts +20 -1
  84. package/dist/types/multistream/remoteMediaGroup.d.ts +11 -0
  85. package/dist/types/multistream/sendSlotManager.d.ts +16 -0
  86. package/dist/types/reachability/index.d.ts +2 -2
  87. package/dist/webinar/index.js +1 -1
  88. package/package.json +25 -26
  89. package/src/constants.ts +34 -2
  90. package/src/controls-options-manager/enums.ts +1 -0
  91. package/src/controls-options-manager/types.ts +6 -1
  92. package/src/controls-options-manager/util.ts +31 -0
  93. package/src/locus-info/controlsUtils.ts +15 -0
  94. package/src/locus-info/index.ts +174 -96
  95. package/src/locus-info/parser.ts +5 -1
  96. package/src/media/index.ts +2 -2
  97. package/src/media/properties.ts +43 -0
  98. package/src/meeting/brbState.ts +13 -9
  99. package/src/meeting/in-meeting-actions.ts +25 -0
  100. package/src/meeting/index.ts +362 -75
  101. package/src/meeting/muteState.ts +2 -6
  102. package/src/meeting/request.ts +39 -0
  103. package/src/meeting/request.type.ts +64 -0
  104. package/src/meeting/type.ts +9 -0
  105. package/src/meeting/util.ts +114 -22
  106. package/src/meeting-info/meeting-info-v2.ts +24 -5
  107. package/src/meetings/index.ts +12 -5
  108. package/src/member/types.ts +1 -0
  109. package/src/members/collection.ts +11 -0
  110. package/src/members/index.ts +51 -15
  111. package/src/members/request.ts +2 -2
  112. package/src/members/util.ts +34 -6
  113. package/src/metrics/constants.ts +2 -0
  114. package/src/multistream/mediaRequestManager.ts +7 -7
  115. package/src/multistream/remoteMedia.ts +34 -4
  116. package/src/multistream/remoteMediaGroup.ts +37 -2
  117. package/src/multistream/sendSlotManager.ts +34 -2
  118. package/src/reachability/index.ts +8 -16
  119. package/test/unit/spec/common/browser-detection.js +0 -24
  120. package/test/unit/spec/controls-options-manager/util.js +58 -0
  121. package/test/unit/spec/locus-info/controlsUtils.js +52 -0
  122. package/test/unit/spec/locus-info/index.js +270 -97
  123. package/test/unit/spec/locus-info/parser.js +3 -2
  124. package/test/unit/spec/media/index.ts +107 -0
  125. package/test/unit/spec/media/properties.ts +137 -0
  126. package/test/unit/spec/meeting/brbState.ts +23 -4
  127. package/test/unit/spec/meeting/in-meeting-actions.ts +12 -0
  128. package/test/unit/spec/meeting/index.js +1194 -97
  129. package/test/unit/spec/meeting/muteState.js +32 -6
  130. package/test/unit/spec/meeting/request.js +92 -0
  131. package/test/unit/spec/meeting/utils.js +167 -17
  132. package/test/unit/spec/meeting-info/meetinginfov2.js +8 -3
  133. package/test/unit/spec/meetings/index.js +12 -5
  134. package/test/unit/spec/members/collection.js +120 -0
  135. package/test/unit/spec/members/index.js +140 -12
  136. package/test/unit/spec/members/request.js +57 -2
  137. package/test/unit/spec/members/utils.js +139 -17
  138. package/test/unit/spec/multistream/mediaRequestManager.ts +19 -6
  139. package/test/unit/spec/multistream/remoteMedia.ts +66 -2
  140. package/test/unit/spec/multistream/sendSlotManager.ts +59 -0
  141. package/test/unit/spec/reachability/index.ts +160 -9
  142. package/test/unit/spec/roap/turnDiscovery.ts +3 -3
  143. package/dist/annotation/annotation.types.d.ts +0 -42
  144. package/dist/annotation/constants.d.ts +0 -31
  145. package/dist/annotation/index.d.ts +0 -117
  146. package/dist/breakouts/breakout.d.ts +0 -8
  147. package/dist/breakouts/collection.d.ts +0 -5
  148. package/dist/breakouts/edit-lock-error.d.ts +0 -15
  149. package/dist/breakouts/events.d.ts +0 -8
  150. package/dist/breakouts/index.d.ts +0 -5
  151. package/dist/breakouts/request.d.ts +0 -22
  152. package/dist/breakouts/utils.d.ts +0 -15
  153. package/dist/common/browser-detection.d.ts +0 -9
  154. package/dist/common/collection.d.ts +0 -48
  155. package/dist/common/config.d.ts +0 -2
  156. package/dist/common/errors/captcha-error.d.ts +0 -15
  157. package/dist/common/errors/intent-to-join.d.ts +0 -16
  158. package/dist/common/errors/join-meeting.d.ts +0 -17
  159. package/dist/common/errors/media.d.ts +0 -15
  160. package/dist/common/errors/no-meeting-info.d.ts +0 -14
  161. package/dist/common/errors/parameter.d.ts +0 -15
  162. package/dist/common/errors/password-error.d.ts +0 -15
  163. package/dist/common/errors/permission.d.ts +0 -14
  164. package/dist/common/errors/reclaim-host-role-error.d.ts +0 -60
  165. package/dist/common/errors/reclaim-host-role-error.js +0 -158
  166. package/dist/common/errors/reclaim-host-role-error.js.map +0 -1
  167. package/dist/common/errors/reclaim-host-role-errors.d.ts +0 -60
  168. package/dist/common/errors/reconnection-in-progress.d.ts +0 -9
  169. package/dist/common/errors/reconnection-in-progress.js +0 -35
  170. package/dist/common/errors/reconnection-in-progress.js.map +0 -1
  171. package/dist/common/errors/reconnection.d.ts +0 -15
  172. package/dist/common/errors/stats.d.ts +0 -15
  173. package/dist/common/errors/webex-errors.d.ts +0 -81
  174. package/dist/common/errors/webex-meetings-error.d.ts +0 -20
  175. package/dist/common/events/events-scope.d.ts +0 -17
  176. package/dist/common/events/events.d.ts +0 -12
  177. package/dist/common/events/trigger-proxy.d.ts +0 -2
  178. package/dist/common/events/util.d.ts +0 -2
  179. package/dist/common/logs/logger-config.d.ts +0 -2
  180. package/dist/common/logs/logger-proxy.d.ts +0 -2
  181. package/dist/common/logs/request.d.ts +0 -34
  182. package/dist/common/queue.d.ts +0 -32
  183. package/dist/config.d.ts +0 -73
  184. package/dist/constants.d.ts +0 -952
  185. package/dist/controls-options-manager/constants.d.ts +0 -4
  186. package/dist/controls-options-manager/enums.d.ts +0 -5
  187. package/dist/controls-options-manager/index.d.ts +0 -120
  188. package/dist/controls-options-manager/types.d.ts +0 -43
  189. package/dist/controls-options-manager/util.d.ts +0 -7
  190. package/dist/index.d.ts +0 -4
  191. package/dist/interceptors/index.d.ts +0 -2
  192. package/dist/interceptors/locusRetry.d.ts +0 -27
  193. package/dist/interpretation/collection.d.ts +0 -5
  194. package/dist/interpretation/index.d.ts +0 -5
  195. package/dist/interpretation/siLanguage.d.ts +0 -5
  196. package/dist/locus-info/controlsUtils.d.ts +0 -2
  197. package/dist/locus-info/embeddedAppsUtils.d.ts +0 -2
  198. package/dist/locus-info/fullState.d.ts +0 -2
  199. package/dist/locus-info/hostUtils.d.ts +0 -2
  200. package/dist/locus-info/index.d.ts +0 -269
  201. package/dist/locus-info/infoUtils.d.ts +0 -2
  202. package/dist/locus-info/mediaSharesUtils.d.ts +0 -2
  203. package/dist/locus-info/parser.d.ts +0 -212
  204. package/dist/locus-info/selfUtils.d.ts +0 -2
  205. package/dist/media/index.d.ts +0 -32
  206. package/dist/media/properties.d.ts +0 -108
  207. package/dist/media/util.d.ts +0 -2
  208. package/dist/mediaQualityMetrics/config.d.ts +0 -233
  209. package/dist/mediaQualityMetrics/config.js +0 -513
  210. package/dist/mediaQualityMetrics/config.js.map +0 -1
  211. package/dist/meeting/effectsState.d.ts +0 -42
  212. package/dist/meeting/effectsState.js +0 -260
  213. package/dist/meeting/effectsState.js.map +0 -1
  214. package/dist/meeting/in-meeting-actions.d.ts +0 -79
  215. package/dist/meeting/index.d.ts +0 -1622
  216. package/dist/meeting/locusMediaRequest.d.ts +0 -74
  217. package/dist/meeting/muteState.d.ts +0 -116
  218. package/dist/meeting/request.d.ts +0 -257
  219. package/dist/meeting/request.type.d.ts +0 -11
  220. package/dist/meeting/state.d.ts +0 -9
  221. package/dist/meeting/util.d.ts +0 -2
  222. package/dist/meeting/voicea-meeting.d.ts +0 -16
  223. package/dist/meeting-info/collection.d.ts +0 -20
  224. package/dist/meeting-info/index.d.ts +0 -57
  225. package/dist/meeting-info/meeting-info-v2.d.ts +0 -93
  226. package/dist/meeting-info/request.d.ts +0 -22
  227. package/dist/meeting-info/util.d.ts +0 -2
  228. package/dist/meeting-info/utilv2.d.ts +0 -2
  229. package/dist/meetings/collection.d.ts +0 -23
  230. package/dist/meetings/index.d.ts +0 -296
  231. package/dist/meetings/meetings.types.d.ts +0 -4
  232. package/dist/meetings/request.d.ts +0 -27
  233. package/dist/meetings/util.d.ts +0 -18
  234. package/dist/member/index.d.ts +0 -148
  235. package/dist/member/member.types.d.ts +0 -11
  236. package/dist/member/member.types.js +0 -18
  237. package/dist/member/member.types.js.map +0 -1
  238. package/dist/member/types.d.ts +0 -32
  239. package/dist/member/util.d.ts +0 -2
  240. package/dist/members/collection.d.ts +0 -24
  241. package/dist/members/index.d.ts +0 -308
  242. package/dist/members/request.d.ts +0 -58
  243. package/dist/members/types.d.ts +0 -25
  244. package/dist/members/util.d.ts +0 -2
  245. package/dist/metrics/config.d.ts +0 -169
  246. package/dist/metrics/config.js +0 -289
  247. package/dist/metrics/config.js.map +0 -1
  248. package/dist/metrics/constants.d.ts +0 -59
  249. package/dist/metrics/index.d.ts +0 -152
  250. package/dist/multistream/mediaRequestManager.d.ts +0 -119
  251. package/dist/multistream/receiveSlot.d.ts +0 -68
  252. package/dist/multistream/receiveSlotManager.d.ts +0 -56
  253. package/dist/multistream/remoteMedia.d.ts +0 -72
  254. package/dist/multistream/remoteMediaGroup.d.ts +0 -49
  255. package/dist/multistream/remoteMediaManager.d.ts +0 -300
  256. package/dist/multistream/sendSlotManager.d.ts +0 -69
  257. package/dist/networkQualityMonitor/index.d.ts +0 -70
  258. package/dist/networkQualityMonitor/index.js +0 -226
  259. package/dist/networkQualityMonitor/index.js.map +0 -1
  260. package/dist/peer-connection-manager/index.d.ts +0 -6
  261. package/dist/peer-connection-manager/index.js +0 -671
  262. package/dist/peer-connection-manager/index.js.map +0 -1
  263. package/dist/peer-connection-manager/util.d.ts +0 -6
  264. package/dist/peer-connection-manager/util.js +0 -110
  265. package/dist/peer-connection-manager/util.js.map +0 -1
  266. package/dist/personal-meeting-room/index.d.ts +0 -47
  267. package/dist/personal-meeting-room/request.d.ts +0 -14
  268. package/dist/personal-meeting-room/util.d.ts +0 -2
  269. package/dist/reachability/clusterReachability.d.ts +0 -109
  270. package/dist/reachability/index.d.ts +0 -139
  271. package/dist/reachability/request.d.ts +0 -35
  272. package/dist/reachability/util.d.ts +0 -8
  273. package/dist/reactions/constants.d.ts +0 -3
  274. package/dist/reactions/reactions.d.ts +0 -4
  275. package/dist/reactions/reactions.type.d.ts +0 -32
  276. package/dist/reconnection-manager/index.d.ts +0 -112
  277. package/dist/recording-controller/enums.d.ts +0 -7
  278. package/dist/recording-controller/index.d.ts +0 -193
  279. package/dist/recording-controller/util.d.ts +0 -13
  280. package/dist/roap/collection.d.ts +0 -10
  281. package/dist/roap/collection.js +0 -63
  282. package/dist/roap/collection.js.map +0 -1
  283. package/dist/roap/handler.d.ts +0 -47
  284. package/dist/roap/handler.js +0 -279
  285. package/dist/roap/handler.js.map +0 -1
  286. package/dist/roap/index.d.ts +0 -116
  287. package/dist/roap/request.d.ts +0 -35
  288. package/dist/roap/state.d.ts +0 -9
  289. package/dist/roap/state.js +0 -127
  290. package/dist/roap/state.js.map +0 -1
  291. package/dist/roap/turnDiscovery.d.ts +0 -81
  292. package/dist/roap/util.d.ts +0 -2
  293. package/dist/roap/util.js +0 -76
  294. package/dist/roap/util.js.map +0 -1
  295. package/dist/rtcMetrics/constants.d.ts +0 -4
  296. package/dist/rtcMetrics/constants.js.map +0 -1
  297. package/dist/rtcMetrics/index.d.ts +0 -61
  298. package/dist/rtcMetrics/index.js +0 -197
  299. package/dist/rtcMetrics/index.js.map +0 -1
  300. package/dist/statsAnalyzer/global.d.ts +0 -118
  301. package/dist/statsAnalyzer/global.js +0 -127
  302. package/dist/statsAnalyzer/global.js.map +0 -1
  303. package/dist/statsAnalyzer/index.d.ts +0 -193
  304. package/dist/statsAnalyzer/index.js +0 -1019
  305. package/dist/statsAnalyzer/index.js.map +0 -1
  306. package/dist/statsAnalyzer/mqaUtil.d.ts +0 -22
  307. package/dist/statsAnalyzer/mqaUtil.js +0 -181
  308. package/dist/statsAnalyzer/mqaUtil.js.map +0 -1
  309. package/dist/transcription/index.d.ts +0 -64
  310. package/dist/types/common/errors/reconnection-in-progress.d.ts +0 -9
  311. package/dist/types/mediaQualityMetrics/config.d.ts +0 -241
  312. package/dist/types/networkQualityMonitor/index.d.ts +0 -70
  313. package/dist/types/rtcMetrics/constants.d.ts +0 -4
  314. package/dist/types/rtcMetrics/index.d.ts +0 -71
  315. package/dist/types/statsAnalyzer/global.d.ts +0 -36
  316. package/dist/types/statsAnalyzer/index.d.ts +0 -217
  317. package/dist/types/statsAnalyzer/mqaUtil.d.ts +0 -48
  318. package/dist/webinar/collection.d.ts +0 -16
  319. package/dist/webinar/index.d.ts +0 -5
@@ -1,74 +0,0 @@
1
- import { WebexPlugin } from '@webex/webex-core';
2
- import { IP_VERSION } from '../constants';
3
- export type MediaRequestType = 'RoapMessage' | 'LocalMute';
4
- export type RequestResult = any;
5
- export type RoapRequest = {
6
- type: 'RoapMessage';
7
- selfUrl: string;
8
- mediaId: string;
9
- roapMessage: any;
10
- reachability: any;
11
- sequence?: any;
12
- joinCookie: any;
13
- ipVersion?: IP_VERSION;
14
- };
15
- export type LocalMuteRequest = {
16
- type: 'LocalMute';
17
- selfUrl: string;
18
- mediaId: string;
19
- sequence?: any;
20
- muteOptions: {
21
- audioMuted?: boolean;
22
- videoMuted?: boolean;
23
- };
24
- };
25
- export type Request = RoapRequest | LocalMuteRequest;
26
- export type Config = {
27
- device: {
28
- url: string;
29
- deviceType: string;
30
- countryCode?: string;
31
- regionCode?: string;
32
- };
33
- correlationId: string;
34
- preferTranscoding: boolean;
35
- };
36
- /**
37
- * This class manages all /media API requests to Locus. Every call to that
38
- * Locus API has to go through this class.
39
- */
40
- export declare class LocusMediaRequest extends WebexPlugin {
41
- private config;
42
- private latestAudioMuted?;
43
- private latestVideoMuted?;
44
- private isRequestInProgress;
45
- private queuedRequests;
46
- private confluenceState;
47
- /**
48
- * Constructor
49
- */
50
- constructor(config: Config, options: any);
51
- /**
52
- * Add a request to the internal queue.
53
- */
54
- private addToQueue;
55
- /**
56
- * Takes the next request from the queue and executes it. Once that
57
- * request is completed, the next one will be taken from the queue
58
- * and executed and this is repeated until the queue is empty.
59
- */
60
- private executeNextQueuedRequest;
61
- /**
62
- * Returns latest requested audio and video mute values. If they have never been
63
- * requested, we assume audio/video to be muted.
64
- */
65
- private getLatestMuteState;
66
- /**
67
- * Prepares the uri and body for the media request to be sent to Locus
68
- */
69
- private sendHttpRequest;
70
- /**
71
- * Sends a media request to Locus
72
- */
73
- send(request: Request): Promise<RequestResult>;
74
- }
@@ -1,116 +0,0 @@
1
- declare const createMuteState: (type: any, meeting: any, mediaDirection: any) => MuteState;
2
- /** The purpose of this class is to manage the local and remote mute state and make sure that the server state always matches
3
- the last requested state by the client.
4
-
5
- More info about Locus muting API: https://sqbu-github.cisco.com/pages/WebExSquared/locus/guides/mute.html#
6
- */
7
- declare class MuteState {
8
- pendingPromiseReject: any;
9
- pendingPromiseResolve: any;
10
- state: any;
11
- type: any;
12
- /**
13
- * Constructor
14
- *
15
- * @param {String} type - audio or video
16
- * @param {Object} meeting - the meeting object (used for reading current remote mute status)
17
- */
18
- constructor(type: string, meeting: any);
19
- /**
20
- * Handles mute/unmute request from the client/user. Returns a promise that's resolved once the server update is completed or
21
- * at the point that this request becomese superseded by another client request.
22
- *
23
- * The client doesn't have to wait for the returned promise to resolve before calling handleClientRequest() again. If
24
- * handleClientRequest() is called again before the previous one resolved, the MuteState class will make sure that eventually
25
- * the server state will match the last requested state from the client.
26
- *
27
- * @public
28
- * @memberof MuteState
29
- * @param {Object} [meeting] the meeting object
30
- * @param {Boolean} [mute] true for muting, false for unmuting request
31
- * @returns {Promise}
32
- */
33
- handleClientRequest(meeting?: object, mute?: boolean): Promise<unknown>;
34
- /**
35
- * Applies the current mute state to the local track (by enabling or disabling it accordingly)
36
- *
37
- * @public
38
- * @param {Object} [meeting] the meeting object
39
- * @memberof MuteState
40
- * @returns {void}
41
- */
42
- applyClientStateLocally(meeting?: any): void;
43
- /**
44
- * Updates the server local and remote mute values so that they match the current client desired state.
45
- *
46
- * @private
47
- * @param {Object} [meeting] the meeting object
48
- * @memberof MuteState
49
- * @returns {void}
50
- */
51
- private applyClientStateToServer;
52
- /**
53
- * Sets the local mute value in the server
54
- *
55
- * @private
56
- * @param {Object} [meeting] the meeting object
57
- * @memberof MuteState
58
- * @returns {Promise}
59
- */
60
- private sendLocalMuteRequestToServer;
61
- /**
62
- * Sets the remote mute value in the server
63
- *
64
- * @private
65
- * @param {Object} [meeting] the meeting object
66
- * @memberof MuteState
67
- * @returns {Promise}
68
- */
69
- private sendRemoteMuteRequestToServer;
70
- /**
71
- * This method should be called whenever the server remote mute state is changed
72
- *
73
- * @public
74
- * @memberof MuteState
75
- * @param {Boolean} [muted] true if user is remotely muted, false otherwise
76
- * @param {Boolean} [unmuteAllowed] indicates if user is allowed to unmute self (false when "hard mute" feature is used)
77
- * @returns {undefined}
78
- */
79
- handleServerRemoteMuteUpdate(muted?: boolean, unmuteAllowed?: boolean): void;
80
- /**
81
- * This method should be called whenever we receive from the server a requirement to locally unmute
82
- *
83
- * @public
84
- * @memberof MuteState
85
- * @param {Object} [meeting] the meeting object
86
- * @returns {undefined}
87
- */
88
- handleServerLocalUnmuteRequired(meeting?: object): void;
89
- /**
90
- * Returns true if the user is locally or remotely muted
91
- *
92
- * @public
93
- * @memberof MuteState
94
- * @returns {Boolean}
95
- */
96
- isMuted(): any;
97
- /**
98
- * Returns true if the user is locally muted
99
- *
100
- * @public
101
- * @memberof MuteState
102
- * @returns {Boolean}
103
- */
104
- isLocallyMuted(): any;
105
- /**
106
- * Returns true if the user is muted as a result of the client request (and not remotely muted)
107
- *
108
- * @public
109
- * @memberof MuteState
110
- * @returns {Boolean}
111
- */
112
- isSelf(): boolean;
113
- get muted(): any;
114
- get self(): boolean;
115
- }
116
- export default createMuteState;
@@ -1,257 +0,0 @@
1
- import { StatelessWebexPlugin } from '@webex/webex-core';
2
- import { Reaction } from '../reactions/reactions.type';
3
- /**
4
- * @class MeetingRequest
5
- */
6
- export default class MeetingRequest extends StatelessWebexPlugin {
7
- changeVideoLayoutDebounced: any;
8
- constructor(attrs: any, options: any);
9
- /**
10
- * Make a network request to join a meeting
11
- * @param {Object} options
12
- * @param {String} options.sipUri
13
- * @param {String} options.deviceUrl
14
- * @param {String} options.locusUrl
15
- * @param {String} options.resourceId,
16
- * @param {String} options.correlationId
17
- * @param {boolean} options.ensureConversation
18
- * @param {boolean} options.moderator
19
- * @param {boolean} options.pin
20
- * @param {boolean} options.moveToResource
21
- * @param {Object} options.roapMessage
22
- * @param {String} options.alias
23
- * @returns {Promise}
24
- */
25
- joinMeeting(options: {
26
- sipUri: string;
27
- deviceUrl: string;
28
- locusUrl: string;
29
- resourceId: string;
30
- correlationId: string;
31
- ensureConversation: boolean;
32
- moderator: boolean;
33
- pin: boolean;
34
- moveToResource: boolean;
35
- roapMessage: any;
36
- asResourceOccupant: any;
37
- inviteeAddress: any;
38
- meetingNumber: any;
39
- permissionToken: any;
40
- preferTranscoding: any;
41
- alias?: string;
42
- }): Promise<any>;
43
- /**
44
- * Send a request to refresh the captcha
45
- * @param {Object} options
46
- * @param {String} options.captchaRefreshUrl
47
- * @param {String} options.captchaId
48
- * @returns {Promise}
49
- * @private
50
- */
51
- private refreshCaptcha;
52
- /**
53
- * Make a network request to add a dial in device
54
- * @param {Object} options
55
- * @param {String} options.correlationId
56
- * @param {String} options.locusUrl url for the meeting
57
- * @param {String} options.dialInUrl identifier for the to-be provisioned device
58
- * @param {String} options.clientUrl identifier for the web device
59
- * @returns {Promise}
60
- * @private
61
- */
62
- private dialIn;
63
- /**
64
- * Make a network request to add a dial out device
65
- * @param {Object} options
66
- * @param {String} options.correlationId
67
- * @param {String} options.locusUrl url for the meeting
68
- * @param {String} options.dialOutUrl identifier for the to-be provisioned device
69
- * @param {String} options.phoneNumber phone number to dial out to
70
- * @param {String} options.clientUrl identifier for the web device
71
- * @returns {Promise}
72
- * @private
73
- */
74
- private dialOut;
75
- /**
76
- * Syns the missed delta event
77
- * @param {Object} options
78
- * @param {boolean} options.desync flag to get partial or whole locus object
79
- * @param {String} options.syncUrl sync url to get ht elatest locus delta
80
- * @returns {Promise}
81
- */
82
- syncMeeting(options: {
83
- desync: boolean;
84
- syncUrl: string;
85
- }): any;
86
- /**
87
- * Request to get the complete locus object
88
- * @param {Object} options
89
- * @param {boolean} options.desync flag to get partial or whole locus object
90
- * @param {String} options.locusUrl sync url to get ht elatest locus delta
91
- * @returns {Promise}
92
- */
93
- getFullLocus(options: {
94
- desync: boolean;
95
- locusUrl: string;
96
- }): any;
97
- /**
98
- * Make a network request to make a provisioned phone leave the meeting
99
- * @param {Object} options
100
- * @param {String} options.locusUrl
101
- * @param {String} options.phoneUrl
102
- * @param {String} options.correlationId
103
- * @param {String} options.selfId
104
- * @returns {Promise}
105
- * @private
106
- */
107
- private disconnectPhoneAudio;
108
- /**
109
- * Make a network request to leave a meeting
110
- * @param {Object} options
111
- * @param {Url} options.locusUrl
112
- * @param {String} options.selfId
113
- * @param {Url} options.deviceUrl
114
- * @param {String} options.resourceId,
115
- * @param {String} options.correlationId
116
- * @returns {Promise}
117
- */
118
- leaveMeeting({ locusUrl, selfId, deviceUrl: url, resourceId, correlationId, }: {
119
- locusUrl: string;
120
- selfId: string;
121
- deviceUrl: string;
122
- resourceId: string;
123
- correlationId: string;
124
- }): any;
125
- /**
126
- * Make a network request to acknowledge a meeting
127
- * @param {Object} options
128
- * @param {String} options.locusUrl
129
- * @param {String} options.deviceUrl
130
- * @param {String} options.correlationId
131
- * @returns {Promise}
132
- */
133
- acknowledgeMeeting(options: {
134
- locusUrl: string;
135
- deviceUrl: string;
136
- correlationId: string;
137
- }): any;
138
- lockMeeting(options: any): any;
139
- /**
140
- * Make a network request to decline a meeting
141
- * @param {Object} options
142
- * @param {String} options.locusUrl
143
- * @param {String} options.deviceUrl
144
- * @param {String} options.reason
145
- * @returns {Promise}
146
- */
147
- declineMeeting(options: {
148
- locusUrl: string;
149
- deviceUrl: string;
150
- reason: string;
151
- }): any;
152
- /**
153
- * Toggle remote audio and/or video
154
- * @param {Object} options options for toggling
155
- * @param {String} options.selfId Locus self id??
156
- * @param {String} options.locusUrl Locus url
157
- * @param {String} options.deviceUrl Url of a device
158
- * @param {String} options.resourceId Populated if you are paired to a device
159
- * @param {String} options.localMedias local sdps
160
- * @returns {Promise}
161
- */
162
- remoteAudioVideoToggle(options: {
163
- selfId: string;
164
- locusUrl: string;
165
- deviceUrl: string;
166
- resourceId: string;
167
- localMedias: string;
168
- } | any): any;
169
- /**
170
- * change the content floor grant
171
- * @param {Object} options options for floor grant
172
- * @param {String} options.disposition floor action (granted/released)
173
- * @param {String} options.personUrl personUrl who is requesting floor
174
- * @param {String} options.deviceUrl Url of a device
175
- * @param {String} options.resourceId Populated if you are paired to a device
176
- * @param {String} options.uri floor grant uri
177
- * @returns {Promise}
178
- */
179
- changeMeetingFloor(options: {
180
- disposition: string;
181
- personUrl: string;
182
- deviceUrl: string;
183
- resourceId: string;
184
- uri: string;
185
- } | any): any;
186
- /**
187
- * Sends a request to the DTMF endpoint to send tones
188
- * @param {Object} options
189
- * @param {String} options.locusUrl
190
- * @param {String} options.deviceUrl
191
- * @param {String} options.tones a string of one or more DTMF tones to send
192
- * @returns {Promise}
193
- */
194
- sendDTMF({ locusUrl, deviceUrl, tones }: {
195
- locusUrl: string;
196
- deviceUrl: string;
197
- tones: string;
198
- }): any;
199
- /**
200
- * Sends a request to the controls endpoint to set the video layout
201
- * @param {Object} options
202
- * @param {String} options.locusUrl
203
- * @param {String} options.deviceUrl
204
- * @param {String} options.layoutType a layout type that should be available in meeting constants {@link #layout_types}
205
- * @param {Object} options.main preferred dimensions for the remote main video stream
206
- * @param {Number} options.main.width preferred width of main video stream
207
- * @param {Number} options.main.height preferred height of main video stream
208
- * @param {Object} options.content preferred dimensions for the remote content share stream
209
- * @param {Number} options.content.width preferred width of content share stream
210
- * @param {Number} options.content.height preferred height of content share stream
211
- * @returns {Promise}
212
- */
213
- changeVideoLayout({ locusUrl, deviceUrl, layoutType, main, content, }: {
214
- locusUrl: string;
215
- deviceUrl: string;
216
- layoutType: string;
217
- main: {
218
- width: number;
219
- height: number;
220
- };
221
- content: {
222
- width: number;
223
- height: number;
224
- };
225
- }): any;
226
- /**
227
- * Make a network request to end meeting for all
228
- * @param {Object} options
229
- * @param {Url} options.locusUrl
230
- * @returns {Promise}
231
- */
232
- endMeetingForAll({ locusUrl }: {
233
- locusUrl: string;
234
- }): any;
235
- /**
236
- * Send a locus keepAlive (used in lobby)
237
- * @param {Object} options
238
- * @param {Url} options.keepAliveUrl
239
- * @returns {Promise}
240
- */
241
- keepAlive({ keepAliveUrl }: {
242
- keepAliveUrl: string;
243
- }): any;
244
- /**
245
- * Make a network request to send a reaction.
246
- * @param {Object} options
247
- * @param {Url} options.reactionChannelUrl
248
- * @param {Reaction} options.reaction
249
- * @param {string} options.senderID
250
- * @returns {Promise}
251
- */
252
- sendReaction({ reactionChannelUrl, reaction, participantId, }: {
253
- reactionChannelUrl: string;
254
- reaction: Reaction;
255
- participantId: string;
256
- }): any;
257
- }
@@ -1,11 +0,0 @@
1
- import { Reaction } from '../reactions/reactions.type';
2
- export type SendReactionOptions = {
3
- reactionChannelUrl: string;
4
- reaction: Reaction;
5
- participantId: string;
6
- };
7
- export type ToggleReactionsOptions = {
8
- enable: boolean;
9
- locusUrl: string;
10
- requestingParticipantId: string;
11
- };
@@ -1,9 +0,0 @@
1
- declare const MeetingStateMachine: {
2
- /**
3
- * Initializes the StateMachine for the meeting
4
- * @param {Meeting} meetingRef A reference to a meeting instance
5
- * @returns {StateMachine}
6
- */
7
- create(meetingRef: any): any;
8
- };
9
- export default MeetingStateMachine;
@@ -1,2 +0,0 @@
1
- declare const MeetingUtil: any;
2
- export default MeetingUtil;
@@ -1,16 +0,0 @@
1
- export declare const getSpeaker: (members: any, csis?: any[]) => unknown;
2
- export declare const getSpeakerFromProxyOrStore: ({ csisKey, meetingMembers, transcriptData }: {
3
- csisKey: any;
4
- meetingMembers: any;
5
- transcriptData: any;
6
- }) => {
7
- speaker: {
8
- speakerId: string;
9
- name: string;
10
- };
11
- needsCaching: boolean;
12
- };
13
- export declare const processNewCaptions: ({ data, meeting }: {
14
- data: any;
15
- meeting: any;
16
- }) => void;
@@ -1,20 +0,0 @@
1
- import Collection from '../common/collection';
2
- /**
3
- * @class MeetingInfoCollection
4
- */
5
- export default class MeetingInfoCollection extends Collection {
6
- namespace: string;
7
- /**
8
- * @memberof MeetingInfoCollection
9
- * @constructor
10
- * @public
11
- */
12
- constructor();
13
- /**
14
- * @param {String} id ID of the meeting info you wish to retreive
15
- * @returns {MeetingInfo} returns a meeting info instance
16
- * @public
17
- * @memberof MeetingInfoCollection
18
- */
19
- get(id: string): any;
20
- }
@@ -1,57 +0,0 @@
1
- /*!
2
- * Copyright (c) 2015-2020 Cisco Systems, Inc. See LICENSE file.
3
- */
4
- /**
5
- * @class MeetingInfo
6
- */
7
- export default class MeetingInfo {
8
- meetingInfoCollection: any;
9
- meetingInfoRequest: any;
10
- webex: any;
11
- /**
12
- *
13
- * @param {WebexSDK} webex
14
- */
15
- constructor(webex: any);
16
- /**
17
- * @param {string} id
18
- * @returns {object}
19
- * @public
20
- * @memberof MeetingInfo
21
- */
22
- getMeetingInfo(id: string): any;
23
- /**
24
- * @param {string} id
25
- * @param {object} info
26
- * @returns {null}
27
- * @public
28
- * @memberof MeetingInfo
29
- */
30
- setMeetingInfo(id: string, info: object): void;
31
- /**
32
- * Helper to make the actual MeetingInfo request and set the meetingInfo if successful, else reject
33
- * @param {Object} options
34
- * @returns {Promise}
35
- * @private
36
- * @memberof MeetingInfo
37
- */
38
- private requestFetchInfo;
39
- /**
40
- * Helper to generate the options for the MeetingInfo request
41
- * @param {String} destination
42
- * @param {String} type
43
- * @returns {Promise}
44
- * @private
45
- * @memberof MeetingInfo
46
- */
47
- private fetchInfoOptions;
48
- /**
49
- * Fetches meeting info from the server
50
- * @param {String} destination one of many different types of destinations to look up info for
51
- * @param {String} [type] to match up with the destination value
52
- * @returns {Promise} returns a meeting info object
53
- * @public
54
- * @memberof MeetingInfo
55
- */
56
- fetchMeetingInfo(destination: string, type?: string): any;
57
- }
@@ -1,93 +0,0 @@
1
- /**
2
- * Error to indicate that wbxappapi requires a password
3
- */
4
- export declare class MeetingInfoV2PasswordError extends Error {
5
- meetingInfo: any;
6
- sdkMessage: any;
7
- wbxAppApiCode: any;
8
- body: any;
9
- /**
10
- *
11
- * @constructor
12
- * @param {Number} [wbxAppApiErrorCode]
13
- * @param {Object} [meetingInfo]
14
- * @param {String} [message]
15
- */
16
- constructor(wbxAppApiErrorCode?: number, meetingInfo?: object, message?: string);
17
- }
18
- /**
19
- * Error generating a adhoc space meeting
20
- */
21
- export declare class MeetingInfoV2AdhocMeetingError extends Error {
22
- sdkMessage: any;
23
- wbxAppApiCode: any;
24
- /**
25
- *
26
- * @constructor
27
- * @param {Number} [wbxAppApiErrorCode]
28
- * @param {String} [message]
29
- */
30
- constructor(wbxAppApiErrorCode?: number, message?: string);
31
- }
32
- /**
33
- * Error to indicate that preferred webex site not present to start adhoc meeting
34
- */
35
- export declare class MeetingInfoV2CaptchaError extends Error {
36
- captchaInfo: any;
37
- isPasswordRequired: any;
38
- sdkMessage: any;
39
- wbxAppApiCode: any;
40
- body: any;
41
- /**
42
- *
43
- * @constructor
44
- * @param {Number} [wbxAppApiErrorCode]
45
- * @param {Object} [captchaInfo]
46
- * @param {String} [message]
47
- */
48
- constructor(wbxAppApiErrorCode?: number, captchaInfo?: object, message?: string);
49
- }
50
- /**
51
- * @class MeetingInfo
52
- */
53
- export default class MeetingInfoV2 {
54
- webex: any;
55
- /**
56
- *
57
- * @param {WebexSDK} webex
58
- */
59
- constructor(webex: any);
60
- /**
61
- * converts hydra id into conversation url and persons Id
62
- * @param {String} destination one of many different types of destinations to look up info for
63
- * @param {String} [type] to match up with the destination value
64
- * @returns {Promise} destination and type
65
- * @public
66
- * @memberof MeetingInfo
67
- */
68
- fetchInfoOptions(destination: string, type?: string): any;
69
- /**
70
- * Creates adhoc space meetings for a space by fetching the conversation infomation
71
- * @param {String} conversationUrl conversationUrl to start adhoc meeting on
72
- * @returns {Promise} returns a meeting info object
73
- * @public
74
- * @memberof MeetingInfo
75
- */
76
- createAdhocSpaceMeeting(conversationUrl: string): Promise<any>;
77
- /**
78
- * Fetches meeting info from the server
79
- * @param {String} destination one of many different types of destinations to look up info for
80
- * @param {String} [type] to match up with the destination value
81
- * @param {String} password
82
- * @param {Object} captchaInfo
83
- * @param {String} captchaInfo.code
84
- * @param {String} captchaInfo.id
85
- * @returns {Promise} returns a meeting info object
86
- * @public
87
- * @memberof MeetingInfo
88
- */
89
- fetchMeetingInfo(destination: string, type?: string, password?: string, captchaInfo?: {
90
- code: string;
91
- id: string;
92
- }): Promise<any>;
93
- }
@@ -1,22 +0,0 @@
1
- /**
2
- * @class MeetingInfoRequest
3
- */
4
- export default class MeetingInfoRequest {
5
- webex: any;
6
- /**
7
- * Meeting Info Request Constructor
8
- * @param {WebexSDK} webex
9
- */
10
- constructor(webex: any);
11
- /**
12
- *
13
- * @param {Object} options with format of {type: String, desintation: String}
14
- * where type is PERSONAL_ROOM, SIP_URI, CONVERSATION_URL, and destination is userId, sipUri, conversationUrl respectively
15
- * type can also be specified as an option and be of the list SIP_URI,MEETING_ID,LOCUS_ID,PERSONAL_ROOM,MEETING_LINK,ONE_ON_ONE,MEDIA_SIP_URI,CONVERSATION_URL,TEMP_SIP_URI
16
- * with the desination matching
17
- * @returns {Promise} returns a promise that resolves/rejects the result of the request
18
- * @throws {Error} if the options are not valid and complete
19
- * @memberof MeetingInfoRequest
20
- */
21
- fetchMeetingInfo(options: any): any;
22
- }
@@ -1,2 +0,0 @@
1
- declare const MeetingInfoUtil: any;
2
- export default MeetingInfoUtil;
@@ -1,2 +0,0 @@
1
- declare const MeetingInfoUtil: any;
2
- export default MeetingInfoUtil;