@webex/plugin-meetings 3.12.0-next.15 → 3.12.0-next.150
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.
- package/.sdd/manifest.json +1312 -0
- package/.sdd/templates/.source.json +30 -0
- package/.sdd/templates/component-repo/module-docs/module-spec-quality.md +111 -0
- package/.sdd/templates/component-repo/module-docs/module-spec.template.md +321 -0
- package/.sdd/templates/component-repo/reference-docs/adr/_adr-example.md +59 -0
- package/.sdd/templates/component-repo/reference-docs/patterns/_pattern-example.md +49 -0
- package/.sdd/templates/component-repo/reference-docs/rules/_rule-example.md +42 -0
- package/.sdd/templates/component-repo/standing-docs/AGENTS.template.md +120 -0
- package/.sdd/templates/component-repo/standing-docs/ARCHITECTURE.template.md +206 -0
- package/.sdd/templates/component-repo/standing-docs/CONTRACTS.template.md +90 -0
- package/.sdd/templates/component-repo/standing-docs/DATA_MODEL.template.md +68 -0
- package/.sdd/templates/component-repo/standing-docs/GETTING_STARTED.template.md +111 -0
- package/.sdd/templates/component-repo/standing-docs/GLOSSARY.template.md +57 -0
- package/.sdd/templates/component-repo/standing-docs/REVIEW_CHECKLIST.template.md +69 -0
- package/.sdd/templates/component-repo/standing-docs/RULES.template.md +96 -0
- package/.sdd/templates/component-repo/standing-docs/SECURITY.template.md +84 -0
- package/.sdd/templates/component-repo/standing-docs/SERVICE_STATE.template.md +82 -0
- package/.sdd/templates/component-repo/standing-docs/SPEC_INDEX.template.md +94 -0
- package/.sdd/templates/component-repo/standing-docs/TEST_INDEX.template.md +64 -0
- package/.sdd/templates/component-repo/template-map.json +112 -0
- package/AGENTS.md +135 -0
- package/ai-docs/ARCHITECTURE.md +207 -0
- package/ai-docs/CONTRACTS.md +267 -0
- package/ai-docs/DATA_MODEL.md +64 -0
- package/ai-docs/GETTING_STARTED.md +73 -0
- package/ai-docs/GLOSSARY.md +56 -0
- package/ai-docs/REVIEW_CHECKLIST.md +45 -0
- package/ai-docs/RULES.md +79 -0
- package/ai-docs/SECURITY.md +74 -0
- package/ai-docs/SERVICE_STATE.md +59 -0
- package/ai-docs/SPEC_INDEX.md +85 -0
- package/ai-docs/TEST_INDEX.md +45 -0
- package/ai-docs/adr/0001-migrate-existing-docs-into-sdd.md +61 -0
- package/ai-docs/patterns/defensive-error-propagation.md +55 -0
- package/ai-docs/patterns/event-scope-emission.md +46 -0
- package/ai-docs/patterns/source-to-test-path-mirroring.md +45 -0
- package/ai-docs/patterns/stateless-plugin-request-classes.md +53 -0
- package/ai-docs/patterns/typed-constants-and-enum-values.md +47 -0
- package/dist/aiEnableRequest/index.js +15 -2
- package/dist/aiEnableRequest/index.js.map +1 -1
- package/dist/annotation/index.js +2 -2
- package/dist/annotation/index.js.map +1 -1
- package/dist/breakouts/breakout.js +8 -3
- package/dist/breakouts/breakout.js.map +1 -1
- package/dist/breakouts/events.js +29 -14
- package/dist/breakouts/events.js.map +1 -1
- package/dist/breakouts/index.js +99 -4
- package/dist/breakouts/index.js.map +1 -1
- package/dist/common/errors/webex-errors.js +49 -5
- package/dist/common/errors/webex-errors.js.map +1 -1
- package/dist/config.js +2 -2
- package/dist/config.js.map +1 -1
- package/dist/constants.js +37 -10
- package/dist/constants.js.map +1 -1
- package/dist/controls-options-manager/index.js +46 -10
- package/dist/controls-options-manager/index.js.map +1 -1
- package/dist/hashTree/constants.js +4 -1
- package/dist/hashTree/constants.js.map +1 -1
- package/dist/hashTree/hashTreeParser.js +1096 -391
- package/dist/hashTree/hashTreeParser.js.map +1 -1
- package/dist/hashTree/utils.js +20 -0
- package/dist/hashTree/utils.js.map +1 -1
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -1
- package/dist/interceptors/dataChannelAuthToken.js +75 -15
- package/dist/interceptors/dataChannelAuthToken.js.map +1 -1
- package/dist/interceptors/locusRetry.js +23 -8
- package/dist/interceptors/locusRetry.js.map +1 -1
- package/dist/interpretation/index.js +55 -12
- package/dist/interpretation/index.js.map +1 -1
- package/dist/interpretation/interpretation.types.js +7 -0
- package/dist/interpretation/interpretation.types.js.map +1 -0
- package/dist/interpretation/siLanguage.js +1 -1
- package/dist/locus-info/controlsUtils.js +4 -1
- package/dist/locus-info/controlsUtils.js.map +1 -1
- package/dist/locus-info/index.js +615 -176
- package/dist/locus-info/index.js.map +1 -1
- package/dist/locus-info/infoUtils.js +36 -5
- package/dist/locus-info/infoUtils.js.map +1 -1
- package/dist/locus-info/types.js +20 -0
- package/dist/locus-info/types.js.map +1 -1
- package/dist/media/MediaConnectionAwaiter.js +15 -2
- package/dist/media/MediaConnectionAwaiter.js.map +1 -1
- package/dist/media/index.js +8 -2
- package/dist/media/index.js.map +1 -1
- package/dist/media/properties.js +4 -5
- package/dist/media/properties.js.map +1 -1
- package/dist/meeting/in-meeting-actions.js +7 -1
- package/dist/meeting/in-meeting-actions.js.map +1 -1
- package/dist/meeting/index.js +1684 -835
- package/dist/meeting/index.js.map +1 -1
- package/dist/meeting/locusMediaRequest.js +229 -82
- package/dist/meeting/locusMediaRequest.js.map +1 -1
- package/dist/meeting/muteState.js +10 -1
- package/dist/meeting/muteState.js.map +1 -1
- package/dist/meeting/request.js +5 -2
- package/dist/meeting/request.js.map +1 -1
- package/dist/meeting/util.js +37 -3
- package/dist/meeting/util.js.map +1 -1
- package/dist/meeting/voicea-meeting.js +2 -1
- package/dist/meeting/voicea-meeting.js.map +1 -1
- package/dist/meeting-info/meeting-info-v2.js +9 -3
- package/dist/meeting-info/meeting-info-v2.js.map +1 -1
- package/dist/meetings/index.js +300 -128
- package/dist/meetings/index.js.map +1 -1
- package/dist/meetings/meetings.types.js +6 -1
- package/dist/meetings/meetings.types.js.map +1 -1
- package/dist/meetings/request.js +39 -0
- package/dist/meetings/request.js.map +1 -1
- package/dist/meetings/util.js +116 -18
- package/dist/meetings/util.js.map +1 -1
- package/dist/member/index.js +10 -0
- package/dist/member/index.js.map +1 -1
- package/dist/member/types.js.map +1 -1
- package/dist/member/util.js +30 -0
- package/dist/member/util.js.map +1 -1
- package/dist/members/index.js +101 -43
- package/dist/members/index.js.map +1 -1
- package/dist/members/util.js +8 -1
- package/dist/members/util.js.map +1 -1
- package/dist/metrics/constants.js +7 -1
- package/dist/metrics/constants.js.map +1 -1
- package/dist/multistream/codec/constants.js +63 -0
- package/dist/multistream/codec/constants.js.map +1 -0
- package/dist/multistream/mediaRequestManager.js +62 -15
- package/dist/multistream/mediaRequestManager.js.map +1 -1
- package/dist/multistream/receiveSlot.js +9 -0
- package/dist/multistream/receiveSlot.js.map +1 -1
- package/dist/reachability/clusterReachability.js.map +1 -1
- package/dist/reachability/index.js +121 -83
- package/dist/reachability/index.js.map +1 -1
- package/dist/reachability/reachability.types.js +2 -0
- package/dist/reachability/reachability.types.js.map +1 -1
- package/dist/reachability/util.js +45 -0
- package/dist/reachability/util.js.map +1 -1
- package/dist/reactions/reactions.type.js.map +1 -1
- package/dist/recording-controller/index.js +1 -3
- package/dist/recording-controller/index.js.map +1 -1
- package/dist/roap/turnDiscovery.js +8 -1
- package/dist/roap/turnDiscovery.js.map +1 -1
- package/dist/types/common/errors/webex-errors.d.ts +32 -2
- package/dist/types/config.d.ts +2 -2
- package/dist/types/constants.d.ts +13 -1
- package/dist/types/controls-options-manager/index.d.ts +16 -0
- package/dist/types/hashTree/constants.d.ts +1 -0
- package/dist/types/hashTree/hashTreeParser.d.ts +201 -22
- package/dist/types/hashTree/utils.d.ts +7 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/types/interceptors/locusRetry.d.ts +4 -4
- package/dist/types/interpretation/interpretation.types.d.ts +10 -0
- package/dist/types/locus-info/index.d.ts +106 -8
- package/dist/types/locus-info/infoUtils.d.ts +8 -0
- package/dist/types/locus-info/types.d.ts +22 -1
- package/dist/types/media/MediaConnectionAwaiter.d.ts +10 -1
- package/dist/types/media/properties.d.ts +6 -2
- package/dist/types/meeting/in-meeting-actions.d.ts +6 -0
- package/dist/types/meeting/index.d.ts +176 -11
- package/dist/types/meeting/locusMediaRequest.d.ts +12 -0
- package/dist/types/meeting/request.d.ts +1 -0
- package/dist/types/meeting/util.d.ts +9 -0
- package/dist/types/meeting-info/meeting-info-v2.d.ts +1 -0
- package/dist/types/meetings/index.d.ts +40 -19
- package/dist/types/meetings/meetings.types.d.ts +15 -0
- package/dist/types/meetings/request.d.ts +14 -0
- package/dist/types/member/index.d.ts +1 -0
- package/dist/types/member/types.d.ts +1 -0
- package/dist/types/member/util.d.ts +9 -0
- package/dist/types/members/index.d.ts +15 -2
- package/dist/types/members/util.d.ts +1 -5
- package/dist/types/metrics/constants.d.ts +6 -0
- package/dist/types/multistream/codec/constants.d.ts +7 -0
- package/dist/types/multistream/mediaRequestManager.d.ts +22 -5
- package/dist/types/reachability/clusterReachability.d.ts +3 -3
- package/dist/types/reachability/index.d.ts +10 -3
- package/dist/types/reachability/reachability.types.d.ts +7 -0
- package/dist/types/reachability/util.d.ts +17 -0
- package/dist/types/reactions/reactions.type.d.ts +3 -0
- package/dist/webinar/index.js +307 -161
- package/dist/webinar/index.js.map +1 -1
- package/package.json +23 -23
- package/src/aiEnableRequest/ai-docs/ai-enable-request-spec.md +223 -0
- package/src/aiEnableRequest/index.ts +16 -0
- package/src/annotation/ai-docs/annotation-spec.md +236 -0
- package/src/annotation/index.ts +6 -4
- package/src/breakouts/ai-docs/breakouts-spec.md +324 -0
- package/src/breakouts/breakout.ts +3 -1
- package/src/breakouts/events.ts +33 -11
- package/src/breakouts/index.ts +122 -2
- package/src/common/errors/webex-errors.ts +50 -3
- package/src/config.ts +2 -2
- package/src/constants.ts +21 -3
- package/src/controls-options-manager/ai-docs/controls-options-manager-spec.md +243 -0
- package/src/controls-options-manager/index.ts +62 -10
- package/src/hashTree/ai-docs/hash-tree-spec.md +267 -0
- package/src/hashTree/constants.ts +7 -0
- package/src/hashTree/hashTreeParser.ts +861 -193
- package/src/hashTree/utils.ts +19 -0
- package/src/index.ts +6 -0
- package/src/interceptors/ai-docs/interceptors-spec.md +247 -0
- package/src/interceptors/dataChannelAuthToken.ts +88 -12
- package/src/interceptors/locusRetry.ts +25 -4
- package/src/interpretation/ai-docs/interpretation-spec.md +256 -0
- package/src/interpretation/index.ts +65 -10
- package/src/interpretation/interpretation.types.ts +11 -0
- package/src/locus-info/ai-docs/locus-info-spec.md +293 -0
- package/src/locus-info/controlsUtils.ts +3 -1
- package/src/locus-info/index.ts +566 -164
- package/src/locus-info/infoUtils.ts +41 -6
- package/src/locus-info/types.ts +26 -1
- package/src/media/MediaConnectionAwaiter.ts +21 -4
- package/src/media/ai-docs/media-spec.md +267 -0
- package/src/media/index.ts +10 -1
- package/src/media/properties.ts +8 -3
- package/src/meeting/ai-docs/meeting-spec.md +401 -0
- package/src/meeting/in-meeting-actions.ts +12 -0
- package/src/meeting/index.ts +937 -119
- package/src/meeting/locusMediaRequest.ts +106 -6
- package/src/meeting/muteState.ts +10 -1
- package/src/meeting/request.ts +11 -0
- package/src/meeting/util.ts +51 -7
- package/src/meeting/voicea-meeting.ts +1 -1
- package/src/meeting-info/ai-docs/meeting-info-spec.md +261 -0
- package/src/meeting-info/meeting-info-v2.ts +10 -4
- package/src/meetings/ai-docs/meetings-spec.md +296 -0
- package/src/meetings/index.ts +200 -80
- package/src/meetings/meetings.types.ts +19 -0
- package/src/meetings/request.ts +43 -0
- package/src/meetings/util.ts +117 -4
- package/src/member/ai-docs/member-spec.md +196 -0
- package/src/member/index.ts +10 -0
- package/src/member/types.ts +1 -0
- package/src/member/util.ts +29 -0
- package/src/members/ai-docs/members-spec.md +256 -0
- package/src/members/index.ts +70 -7
- package/src/members/util.ts +12 -4
- package/src/metrics/ai-docs/metrics-spec.md +185 -0
- package/src/metrics/constants.ts +6 -0
- package/src/multistream/ai-docs/multistream-spec.md +292 -0
- package/src/multistream/codec/constants.ts +58 -0
- package/src/multistream/mediaRequestManager.ts +119 -28
- package/src/multistream/receiveSlot.ts +18 -0
- package/src/personal-meeting-room/ai-docs/personal-meeting-room-spec.md +234 -0
- package/src/reachability/ai-docs/reachability-spec.md +261 -0
- package/src/reachability/clusterReachability.ts +3 -2
- package/src/reachability/index.ts +47 -16
- package/src/reachability/reachability.types.ts +11 -0
- package/src/reachability/util.ts +36 -0
- package/src/reactions/ai-docs/reactions-spec.md +198 -0
- package/src/reactions/reactions.type.ts +3 -0
- package/src/reconnection-manager/ai-docs/reconnection-manager-spec.md +272 -0
- package/src/recording-controller/ai-docs/recording-controller-spec.md +223 -0
- package/src/recording-controller/index.ts +1 -2
- package/src/roap/ai-docs/roap-spec.md +241 -0
- package/src/roap/turnDiscovery.ts +9 -1
- package/src/webinar/ai-docs/webinar-spec.md +243 -0
- package/src/webinar/index.ts +216 -38
- package/test/unit/spec/aiEnableRequest/index.ts +86 -0
- package/test/unit/spec/annotation/index.ts +3 -3
- package/test/unit/spec/breakouts/breakout.ts +9 -3
- package/test/unit/spec/breakouts/events.ts +120 -2
- package/test/unit/spec/breakouts/index.ts +223 -3
- package/test/unit/spec/common/errors/webex-errors.ts +78 -0
- package/test/unit/spec/controls-options-manager/index.js +139 -32
- package/test/unit/spec/hashTree/hashTreeParser.ts +2451 -184
- package/test/unit/spec/hashTree/utils.ts +37 -0
- package/test/unit/spec/interceptors/dataChannelAuthToken.ts +196 -0
- package/test/unit/spec/interceptors/locusRetry.ts +205 -4
- package/test/unit/spec/interpretation/index.ts +119 -4
- package/test/unit/spec/locus-info/controlsUtils.js +172 -57
- package/test/unit/spec/locus-info/index.js +1014 -58
- package/test/unit/spec/locus-info/infoUtils.js +184 -1
- package/test/unit/spec/media/MediaConnectionAwaiter.ts +55 -0
- package/test/unit/spec/media/index.ts +92 -0
- package/test/unit/spec/media/properties.ts +23 -23
- package/test/unit/spec/meeting/in-meeting-actions.ts +6 -0
- package/test/unit/spec/meeting/index.js +2811 -117
- package/test/unit/spec/meeting/locusMediaRequest.ts +406 -4
- package/test/unit/spec/meeting/muteState.js +81 -0
- package/test/unit/spec/meeting/request.js +12 -0
- package/test/unit/spec/meeting/utils.js +179 -16
- package/test/unit/spec/meeting/voicea-meeting.ts +85 -1
- package/test/unit/spec/meeting-info/meetinginfov2.js +76 -10
- package/test/unit/spec/meetings/index.js +544 -49
- package/test/unit/spec/meetings/request.js +141 -0
- package/test/unit/spec/meetings/utils.js +402 -51
- package/test/unit/spec/member/index.js +7 -0
- package/test/unit/spec/member/util.js +89 -0
- package/test/unit/spec/members/index.js +216 -0
- package/test/unit/spec/members/request.js +37 -1
- package/test/unit/spec/members/utils.js +63 -0
- package/test/unit/spec/multistream/mediaRequestManager.ts +501 -37
- package/test/unit/spec/reachability/index.ts +128 -46
- package/test/unit/spec/reachability/util.ts +31 -0
- package/test/unit/spec/recording-controller/index.js +9 -8
- package/test/unit/spec/roap/turnDiscovery.ts +20 -0
- package/test/unit/spec/webinar/index.ts +332 -31
|
@@ -2,6 +2,9 @@ export interface MediaConnectionAwaiterProps {
|
|
|
2
2
|
webrtcMediaConnection: any;
|
|
3
3
|
correlationId: string;
|
|
4
4
|
}
|
|
5
|
+
export interface FailureResult {
|
|
6
|
+
iceConnected: boolean;
|
|
7
|
+
}
|
|
5
8
|
/**
|
|
6
9
|
* @class MediaConnectionAwaiter
|
|
7
10
|
*/
|
|
@@ -32,6 +35,12 @@ export default class MediaConnectionAwaiter {
|
|
|
32
35
|
* @returns {boolean}
|
|
33
36
|
*/
|
|
34
37
|
private isFailed;
|
|
38
|
+
/**
|
|
39
|
+
* Returns true if ICE connection state indicates connectivity.
|
|
40
|
+
*
|
|
41
|
+
* @returns {boolean}
|
|
42
|
+
*/
|
|
43
|
+
private isIceConnected;
|
|
35
44
|
/**
|
|
36
45
|
* Returns true if the ICE Gathering is completed, false otherwise.
|
|
37
46
|
*
|
|
@@ -84,7 +93,7 @@ export default class MediaConnectionAwaiter {
|
|
|
84
93
|
/**
|
|
85
94
|
* Waits for the webrtc media connection to be connected.
|
|
86
95
|
*
|
|
87
|
-
* @returns {Promise}
|
|
96
|
+
* @returns {Promise<void>} In case of failure, the promise is rejected with FailureResult
|
|
88
97
|
*/
|
|
89
98
|
waitForMediaConnectionConnected(): Promise<void>;
|
|
90
99
|
}
|
|
@@ -26,6 +26,7 @@ export default class MediaProperties {
|
|
|
26
26
|
shareAudioStream?: LocalSystemAudioStream;
|
|
27
27
|
videoDeviceId: any;
|
|
28
28
|
videoStream?: LocalCameraStream;
|
|
29
|
+
srtpCipher: string | undefined;
|
|
29
30
|
namespace: string;
|
|
30
31
|
mediaIssueCounters: {
|
|
31
32
|
[key: string]: number;
|
|
@@ -147,8 +148,11 @@ export default class MediaProperties {
|
|
|
147
148
|
*
|
|
148
149
|
* @param {string} issueType
|
|
149
150
|
* @param {string} issueSubType
|
|
150
|
-
* @param {
|
|
151
|
+
* @param {Object} metadata
|
|
151
152
|
* @returns {void}
|
|
152
153
|
*/
|
|
153
|
-
sendMediaIssueMetric(issueType: string, issueSubType: string,
|
|
154
|
+
sendMediaIssueMetric(issueType: string, issueSubType: string, metadata: {
|
|
155
|
+
correlationId: string;
|
|
156
|
+
isMultistream: boolean;
|
|
157
|
+
}): void;
|
|
154
158
|
}
|
|
@@ -115,6 +115,9 @@ interface IInMeetingActions {
|
|
|
115
115
|
canDisablePollingQA?: boolean;
|
|
116
116
|
canAttendeeRequestAiAssistantEnabled?: boolean;
|
|
117
117
|
isAttendeeRequestAiAssistantDeclinedAll?: boolean;
|
|
118
|
+
isAnonymizeDisplayNamesEnabled?: boolean;
|
|
119
|
+
isSupportParticipantList?: boolean;
|
|
120
|
+
canViewTheParticipantList?: boolean;
|
|
118
121
|
}
|
|
119
122
|
/**
|
|
120
123
|
* @class InMeetingActions
|
|
@@ -204,6 +207,7 @@ export default class InMeetingActions implements IInMeetingActions {
|
|
|
204
207
|
canChat: any;
|
|
205
208
|
canDoVideo: any;
|
|
206
209
|
canAnnotate: any;
|
|
210
|
+
isSupportParticipantList: any;
|
|
207
211
|
canUseVoip: any;
|
|
208
212
|
showAutoEndMeetingWarning: any;
|
|
209
213
|
supportHQV: any;
|
|
@@ -230,6 +234,8 @@ export default class InMeetingActions implements IInMeetingActions {
|
|
|
230
234
|
canDisablePollingQA: any;
|
|
231
235
|
canAttendeeRequestAiAssistantEnabled: any;
|
|
232
236
|
isAttendeeRequestAiAssistantDeclinedAll: any;
|
|
237
|
+
isAnonymizeDisplayNamesEnabled: any;
|
|
238
|
+
canViewTheParticipantList: any;
|
|
233
239
|
/**
|
|
234
240
|
* Returns all meeting action options
|
|
235
241
|
* @returns {Object}
|
|
@@ -16,7 +16,7 @@ import { DESTINATION_TYPE, NETWORK_STATUS } from '../constants';
|
|
|
16
16
|
import { ReceiveSlotManager } from '../multistream/receiveSlotManager';
|
|
17
17
|
import { MediaRequestManager } from '../multistream/mediaRequestManager';
|
|
18
18
|
import { Configuration as RemoteMediaManagerConfiguration, RemoteMediaManager } from '../multistream/remoteMediaManager';
|
|
19
|
-
import {
|
|
19
|
+
import { SkinToneType } from '../reactions/reactions.type';
|
|
20
20
|
import InMeetingActions from './in-meeting-actions';
|
|
21
21
|
import RecordingController from '../recording-controller';
|
|
22
22
|
import ControlsOptionsManager from '../controls-options-manager';
|
|
@@ -374,7 +374,7 @@ export default class Meeting extends StatelessWebexPlugin {
|
|
|
374
374
|
webinar: any;
|
|
375
375
|
conversationUrl: string;
|
|
376
376
|
callStateForMetrics: CallStateForMetrics;
|
|
377
|
-
destination: string;
|
|
377
|
+
destination: string | LocusDTO;
|
|
378
378
|
destinationType: DESTINATION_TYPE;
|
|
379
379
|
deviceUrl: string;
|
|
380
380
|
hostId: string;
|
|
@@ -412,6 +412,8 @@ export default class Meeting extends StatelessWebexPlugin {
|
|
|
412
412
|
floorGrantPending: boolean;
|
|
413
413
|
hasJoinedOnce: boolean;
|
|
414
414
|
hasWebsocketConnected: boolean;
|
|
415
|
+
private mercuryOnlineHandler?;
|
|
416
|
+
private mercuryOfflineHandler?;
|
|
415
417
|
inMeetingActions: InMeetingActions;
|
|
416
418
|
isLocalShareLive: boolean;
|
|
417
419
|
isRoapInProgress: boolean;
|
|
@@ -422,6 +424,7 @@ export default class Meeting extends StatelessWebexPlugin {
|
|
|
422
424
|
joinedWith?: any;
|
|
423
425
|
selfId?: string;
|
|
424
426
|
roles: any[];
|
|
427
|
+
canNotViewTheParticipantList?: boolean;
|
|
425
428
|
locusMediaRequest?: LocusMediaRequest;
|
|
426
429
|
mediaProperties: MediaProperties;
|
|
427
430
|
mediaRequestManagers: {
|
|
@@ -491,13 +494,15 @@ export default class Meeting extends StatelessWebexPlugin {
|
|
|
491
494
|
isMoveToInProgress: boolean;
|
|
492
495
|
registrationIdStatus: string;
|
|
493
496
|
brbState: BrbState;
|
|
497
|
+
private emittedBreakoutJoinResponseMoveIds;
|
|
498
|
+
private promisesWaitingForPropUpdate;
|
|
494
499
|
voiceaListenerCallbacks: object;
|
|
495
500
|
private addMediaData;
|
|
496
501
|
private sendSlotManager;
|
|
497
502
|
private deferSDPAnswer?;
|
|
498
503
|
private sdpResponseTimer?;
|
|
499
504
|
private hasMediaConnectionConnectedAtLeastOnce;
|
|
500
|
-
private joinWithMediaRetryInfo
|
|
505
|
+
private joinWithMediaRetryInfo;
|
|
501
506
|
private connectionStateHandler?;
|
|
502
507
|
private iceCandidateErrors;
|
|
503
508
|
private iceCandidatesCount;
|
|
@@ -514,6 +519,15 @@ export default class Meeting extends StatelessWebexPlugin {
|
|
|
514
519
|
* @memberof Meeting
|
|
515
520
|
*/
|
|
516
521
|
constructor(attrs: any, options: object, callback: (meeting: Meeting) => void);
|
|
522
|
+
/**
|
|
523
|
+
* Get the ingress payload type for a given media type and codec mime type
|
|
524
|
+
* @param {MediaType} mediaType - The media type
|
|
525
|
+
* @param {MediaCodecMimeType} codecMimeType - The codec mime type
|
|
526
|
+
* @returns {number | undefined} - The ingress payload type
|
|
527
|
+
* @private
|
|
528
|
+
* @memberof Meeting
|
|
529
|
+
*/
|
|
530
|
+
private getIngressPayloadTypeCallback;
|
|
517
531
|
/**
|
|
518
532
|
* returns meeting is joined
|
|
519
533
|
* @private
|
|
@@ -696,6 +710,40 @@ export default class Meeting extends StatelessWebexPlugin {
|
|
|
696
710
|
* @returns {Promise}
|
|
697
711
|
*/
|
|
698
712
|
postMetrics(eventName: ClientEvent['name']): void;
|
|
713
|
+
/**
|
|
714
|
+
* Handles the LLM state-update message that resulted from a Locus /sync. Records the LLM arrival
|
|
715
|
+
* time (the milestone that gates client.locus.sync.complete - the metric is emitted only for LLM
|
|
716
|
+
* flows) and then tries to complete the metric.
|
|
717
|
+
* @param {string} meetingId meeting id
|
|
718
|
+
* @param {string} trackingId sync tracking id echoed back on the LLM message
|
|
719
|
+
* @returns {void}
|
|
720
|
+
* @private
|
|
721
|
+
* @memberof Meeting
|
|
722
|
+
*/
|
|
723
|
+
private onLocusSyncLlmMessage;
|
|
724
|
+
/**
|
|
725
|
+
* Attempts to complete the Locus sync latency metric and emit client.locus.sync.complete. The
|
|
726
|
+
* metric is emitted only once BOTH the /sync response and the resulting LLM message have arrived
|
|
727
|
+
* (in either order); until then the record is kept so the missing milestone can still land. Both
|
|
728
|
+
* trigger points (the LLM message handler and the /sync response timestamp) call this, so the
|
|
729
|
+
* metric fires as soon as the second milestone is in.
|
|
730
|
+
* @param {string} meetingId meeting id
|
|
731
|
+
* @param {string} trackingId sync tracking id used to match the pending record
|
|
732
|
+
* @returns {void}
|
|
733
|
+
* @private
|
|
734
|
+
* @memberof Meeting
|
|
735
|
+
*/
|
|
736
|
+
private tryCompleteLocusSyncLatency;
|
|
737
|
+
/**
|
|
738
|
+
* Submits the client.locus.sync.complete Call Analyzer event for a completed Locus sync latency
|
|
739
|
+
* measurement.
|
|
740
|
+
* @param {string} meetingId meeting id
|
|
741
|
+
* @param {object} completed completed sync latency payload from the metrics plugin
|
|
742
|
+
* @returns {void}
|
|
743
|
+
* @private
|
|
744
|
+
* @memberof Meeting
|
|
745
|
+
*/
|
|
746
|
+
private emitLocusSyncCompleteMetric;
|
|
699
747
|
/**
|
|
700
748
|
* Proxy function for all the listener set ups
|
|
701
749
|
* @returns {undefined}
|
|
@@ -970,7 +1018,12 @@ export default class Meeting extends StatelessWebexPlugin {
|
|
|
970
1018
|
*/
|
|
971
1019
|
mute(memberId: string, mute?: boolean): any;
|
|
972
1020
|
/**
|
|
973
|
-
* Transfer the moderator role to another eligible member
|
|
1021
|
+
* Transfer the moderator role to another eligible member.
|
|
1022
|
+
*
|
|
1023
|
+
* If the target member is currently joined in the current session, the request is
|
|
1024
|
+
* sent against the current locus. Otherwise, we search the breakout sessions and,
|
|
1025
|
+
* when the member is found in one, we send the request against that breakout
|
|
1026
|
+
* session's locus url instead.
|
|
974
1027
|
* @param {String} memberId
|
|
975
1028
|
* @param {Boolean} moderator
|
|
976
1029
|
* @returns {Promise} see #members.transferHostToMember
|
|
@@ -1051,6 +1104,13 @@ export default class Meeting extends StatelessWebexPlugin {
|
|
|
1051
1104
|
* @memberof Meeting
|
|
1052
1105
|
*/
|
|
1053
1106
|
setSipUri(sipUri: string): void;
|
|
1107
|
+
/**
|
|
1108
|
+
* After initial locus setup, refreshes destination with synced locus data and optionally
|
|
1109
|
+
* performs deferred meeting info fetch when initial locus was incomplete.
|
|
1110
|
+
* @param {LocusDTO} locus
|
|
1111
|
+
* @returns {void}
|
|
1112
|
+
*/
|
|
1113
|
+
finalizeMeetingAfterInitialLocusSetup(locus: LocusDTO): Promise<void>;
|
|
1054
1114
|
/**
|
|
1055
1115
|
* Set the locus info the class instance. Should be called with the parsed locus
|
|
1056
1116
|
* we got in the join response.
|
|
@@ -1163,6 +1223,22 @@ export default class Meeting extends StatelessWebexPlugin {
|
|
|
1163
1223
|
* @memberof Meeting
|
|
1164
1224
|
*/
|
|
1165
1225
|
setMercuryListener(): void;
|
|
1226
|
+
/**
|
|
1227
|
+
* Removes this meeting's Mercury ONLINE/OFFLINE event listeners registered
|
|
1228
|
+
* by setMercuryListener(). Must be called before Locus /leave to avoid
|
|
1229
|
+
* unnecessary syncs/metrics triggered by events received while leaving
|
|
1230
|
+
* (per Locus team recommendation).
|
|
1231
|
+
*
|
|
1232
|
+
* Mercury is a process-wide singleton shared with other plugins, so we
|
|
1233
|
+
* pass the bound handler refs to .off() to avoid clearing every listener
|
|
1234
|
+
* for ONLINE/OFFLINE on the shared emitter.
|
|
1235
|
+
*
|
|
1236
|
+
* Idempotent: subsequent calls are no-ops because the handler refs are
|
|
1237
|
+
* cleared after detaching.
|
|
1238
|
+
* @private
|
|
1239
|
+
* @returns {void}
|
|
1240
|
+
*/
|
|
1241
|
+
private stopListeningForMercuryEvents;
|
|
1166
1242
|
/**
|
|
1167
1243
|
* Close the peer connections and remove them from the class.
|
|
1168
1244
|
* Cleanup any media connection related things.
|
|
@@ -1299,6 +1375,12 @@ export default class Meeting extends StatelessWebexPlugin {
|
|
|
1299
1375
|
* @returns {void}
|
|
1300
1376
|
*/
|
|
1301
1377
|
private processLocusLLMEvent;
|
|
1378
|
+
/**
|
|
1379
|
+
* Verifies the relay event was delivered for the active LLM session binding.
|
|
1380
|
+
* @param {RelayEvent} event Event object coming from LLM Connection
|
|
1381
|
+
* @returns {boolean}
|
|
1382
|
+
*/
|
|
1383
|
+
private isRelayEventRouteValid;
|
|
1302
1384
|
/**
|
|
1303
1385
|
* Callback called when a relay event is received from meeting LLM Connection
|
|
1304
1386
|
* @param {RelayEvent} e Event object coming from LLM Connection
|
|
@@ -1356,8 +1438,41 @@ export default class Meeting extends StatelessWebexPlugin {
|
|
|
1356
1438
|
* @returns {void}
|
|
1357
1439
|
*/
|
|
1358
1440
|
private clearLLMHealthCheckTimer;
|
|
1441
|
+
/**
|
|
1442
|
+
* Removes LLM event listeners and clears the health check timer.
|
|
1443
|
+
* Must be called before Locus /leave to avoid unnecessary syncs triggered
|
|
1444
|
+
* by events received while leaving (per Locus team recommendation).
|
|
1445
|
+
* Idempotent: safe to call multiple times; .off() is a no-op when no
|
|
1446
|
+
* matching listener is registered.
|
|
1447
|
+
* @private
|
|
1448
|
+
* @returns {void}
|
|
1449
|
+
*/
|
|
1450
|
+
private stopListeningForLLMEvents;
|
|
1451
|
+
/**
|
|
1452
|
+
* Stops listening on every event bus (LLM, Mercury, voicea/transcription,
|
|
1453
|
+
* annotation) that could otherwise deliver events to this meeting while
|
|
1454
|
+
* Locus is processing /leave or /end. Per the Locus team recommendation,
|
|
1455
|
+
* this must run before the Locus request is dispatched to avoid
|
|
1456
|
+
* unnecessary syncs triggered by in-flight events.
|
|
1457
|
+
*
|
|
1458
|
+
* Voicea (transcription) subscribes to llm 'event:relay.event' internally,
|
|
1459
|
+
* and the annotation plugin subscribes to both mercury and llm, so both
|
|
1460
|
+
* must be torn down alongside the direct LLM/Mercury listeners.
|
|
1461
|
+
*
|
|
1462
|
+
* Idempotent: safe to call multiple times; .off() is a no-op when no
|
|
1463
|
+
* matching listener is registered, and stopTranscription is guarded.
|
|
1464
|
+
* @private
|
|
1465
|
+
* @returns {void}
|
|
1466
|
+
*/
|
|
1467
|
+
private stopListeningForMeetingEvents;
|
|
1359
1468
|
/**
|
|
1360
1469
|
* Disconnects and cleans up the default LLM session listeners/timers.
|
|
1470
|
+
*
|
|
1471
|
+
* Ownership-aware: only calls `disconnectLLM` when this meeting is the
|
|
1472
|
+
* current owner of the default LLM session (or when no owner is recorded).
|
|
1473
|
+
* Event listeners belonging to this meeting instance are always detached
|
|
1474
|
+
* so they do not receive another meeting's relay events.
|
|
1475
|
+
*
|
|
1361
1476
|
* @param {Object} options
|
|
1362
1477
|
* @param {boolean} [options.removeOnlineListener=true] removes the one-time online listener
|
|
1363
1478
|
* @param {boolean} [options.throwOnError=true] rethrows disconnect errors when true
|
|
@@ -1365,8 +1480,8 @@ export default class Meeting extends StatelessWebexPlugin {
|
|
|
1365
1480
|
*/
|
|
1366
1481
|
private cleanupLLMConneciton;
|
|
1367
1482
|
/**
|
|
1368
|
-
* Clears
|
|
1369
|
-
*
|
|
1483
|
+
* Clears data channel tokens associated with this meeting ownership.
|
|
1484
|
+
* Ownership checks are enforced in internal-plugin-llm.
|
|
1370
1485
|
* @returns {void}
|
|
1371
1486
|
*/
|
|
1372
1487
|
clearDataChannelToken(): void;
|
|
@@ -1386,9 +1501,27 @@ export default class Meeting extends StatelessWebexPlugin {
|
|
|
1386
1501
|
/**
|
|
1387
1502
|
* Connects to low latency mercury and reconnects if the address has changed
|
|
1388
1503
|
* It will also disconnect if called when the meeting has ended
|
|
1504
|
+
* @param {Object} [options]
|
|
1505
|
+
* @param {boolean} [options.isInitialJoinPhase] true when called from initial join flow
|
|
1389
1506
|
* @returns {Promise}
|
|
1390
1507
|
*/
|
|
1391
|
-
updateLLMConnection(
|
|
1508
|
+
updateLLMConnection({ isInitialJoinPhase }?: {
|
|
1509
|
+
isInitialJoinPhase?: boolean;
|
|
1510
|
+
}): Promise<any>;
|
|
1511
|
+
/**
|
|
1512
|
+
* Ensures breakout join response metric with LLM latency is emitted only once per breakout move id.
|
|
1513
|
+
* @param {string | undefined} breakoutMoveId
|
|
1514
|
+
* @param {boolean} [hasLLMLatency=false]
|
|
1515
|
+
* @returns {boolean}
|
|
1516
|
+
*/
|
|
1517
|
+
private shouldEmitBreakoutJoinResponseMetric;
|
|
1518
|
+
/**
|
|
1519
|
+
* Sends LLM connect latencies for initial join flow.
|
|
1520
|
+
* @param {RegisterAndConnectTiming} timings
|
|
1521
|
+
* @param {any} [error]
|
|
1522
|
+
* @returns {void}
|
|
1523
|
+
*/
|
|
1524
|
+
private sendLLMConnectMetric;
|
|
1392
1525
|
/**
|
|
1393
1526
|
* Use phone for meeting audio
|
|
1394
1527
|
* @param {String} phoneNumber If provided, it will dial-out using this number. If not provided, dial-in will be used
|
|
@@ -1466,12 +1599,36 @@ export default class Meeting extends StatelessWebexPlugin {
|
|
|
1466
1599
|
*/
|
|
1467
1600
|
setupStatsAnalyzerEventHandlers: () => void;
|
|
1468
1601
|
getMediaConnectionDebugId(): string;
|
|
1602
|
+
/**
|
|
1603
|
+
* Checks if the error indicates that Locus dropped us from the meeting,
|
|
1604
|
+
* either directly on the error or wrapped inside an AddMediaFailed cause.
|
|
1605
|
+
* This method is meant to be called only with errors thrown by Meeting.addMediaInternal()
|
|
1606
|
+
*
|
|
1607
|
+
* @param {Error} error
|
|
1608
|
+
* @returns {boolean}
|
|
1609
|
+
*/
|
|
1610
|
+
private isErrorMeaningLocusDroppedUs;
|
|
1611
|
+
private isLocusUserFullError;
|
|
1612
|
+
/**
|
|
1613
|
+
* Determines if the next media attempt should use only TURN-TLS (iceTransportPolicy='relay').
|
|
1614
|
+
* We do this in the hope that it will minimize the chance of Homer sending DTLS packets on a wrong
|
|
1615
|
+
* transport (as there will be only 1 transport) and dealing with firewalls that let STUN packets through, but block
|
|
1616
|
+
* other UDP traffic.
|
|
1617
|
+
*
|
|
1618
|
+
* For clients landing on video mesh nodes (VMN), reachability might still have successful TLS (to public nodes)
|
|
1619
|
+
* but TURN discovery will result in empty TURN urls array and iceTransportPolicy='relay' will still be overriden to undefined,
|
|
1620
|
+
* see the code in establishMediaConnection()
|
|
1621
|
+
*
|
|
1622
|
+
* @param {Error} prevError - The error from the previous addMedia attempt
|
|
1623
|
+
* @returns {Promise<boolean>}
|
|
1624
|
+
*/
|
|
1625
|
+
private shouldRetryMediaWithOnlyTurnTLS;
|
|
1469
1626
|
/**
|
|
1470
1627
|
* Creates a webrtc media connection and publishes streams to it
|
|
1471
1628
|
*
|
|
1472
1629
|
* @param {Object} turnServerInfo TURN server information
|
|
1473
1630
|
* @param {BundlePolicy} [bundlePolicy] Bundle policy settings
|
|
1474
|
-
* @param {
|
|
1631
|
+
* @param {RTCIceTransportPolicy} [iceTransportPolicy] ICE transport policy override
|
|
1475
1632
|
* @returns {RoapMediaConnection | MultistreamRoapMediaConnection}
|
|
1476
1633
|
*/
|
|
1477
1634
|
private createMediaConnection;
|
|
@@ -1597,6 +1754,13 @@ export default class Meeting extends StatelessWebexPlugin {
|
|
|
1597
1754
|
* @returns {void}
|
|
1598
1755
|
*/
|
|
1599
1756
|
private setupLocusMediaRequest;
|
|
1757
|
+
/**
|
|
1758
|
+
* Waits for LocusInfo to update meeting.selfUrl, with a timeout fallback.
|
|
1759
|
+
* @returns {Promise<void>}
|
|
1760
|
+
* @private
|
|
1761
|
+
* @memberof Meeting
|
|
1762
|
+
*/
|
|
1763
|
+
private waitForSelfUrlChange;
|
|
1600
1764
|
/**
|
|
1601
1765
|
* Creates a media connection to the server. Media connection is required for sending or receiving any audio/video.
|
|
1602
1766
|
*
|
|
@@ -1610,14 +1774,15 @@ export default class Meeting extends StatelessWebexPlugin {
|
|
|
1610
1774
|
* Internal version of addMedia() with some more arguments for finer control of its behavior
|
|
1611
1775
|
*
|
|
1612
1776
|
* @param {Function} icePhaseCallback - callback to determine the icePhase for CA "client.ice.end" failure events
|
|
1613
|
-
* @param {TurnServerInfo} turnServerInfo - TURN server information
|
|
1614
1777
|
* @param {boolean} forceTurnDiscovery - if true, TURN discovery will be done
|
|
1778
|
+
* @param {TurnServerInfo} turnServerInfo - TURN server information
|
|
1779
|
+
* @param {RTCIceTransportPolicy} [iceTransportPolicy] - ICE transport policy override
|
|
1615
1780
|
* @param {AddMediaOptions} options - same as options of the public addMedia() method
|
|
1616
1781
|
* @returns {Promise<void>}
|
|
1617
1782
|
* @protected
|
|
1618
1783
|
* @memberof Meeting
|
|
1619
1784
|
*/
|
|
1620
|
-
protected addMediaInternal(icePhaseCallback: () => string,
|
|
1785
|
+
protected addMediaInternal(icePhaseCallback: () => string, forceTurnDiscovery: boolean, turnServerInfo?: TurnServerInfo, iceTransportPolicy?: RTCIceTransportPolicy, options?: AddMediaOptions): Promise<void>;
|
|
1621
1786
|
/**
|
|
1622
1787
|
* Informs if the peer connection is in a state that can be updated with updateMedia (audio/video/share)
|
|
1623
1788
|
* @returns {Boolean}
|
|
@@ -1980,7 +2145,7 @@ export default class Meeting extends StatelessWebexPlugin {
|
|
|
1980
2145
|
* @public
|
|
1981
2146
|
* @memberof Meeting
|
|
1982
2147
|
*/
|
|
1983
|
-
sendReaction(reactionType:
|
|
2148
|
+
sendReaction(reactionType: string, skinToneType?: SkinToneType): any;
|
|
1984
2149
|
/**
|
|
1985
2150
|
* Extend the current meeting duration.
|
|
1986
2151
|
*
|
|
@@ -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
|
*/
|
|
@@ -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>;
|
|
@@ -133,6 +133,13 @@ declare const MeetingUtil: {
|
|
|
133
133
|
* @returns {void}
|
|
134
134
|
*/
|
|
135
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;
|
|
136
143
|
/**
|
|
137
144
|
* Updates the locus info for the meeting with the locus
|
|
138
145
|
* information returned from API requests made to Locus
|
|
@@ -146,6 +153,8 @@ declare const MeetingUtil: {
|
|
|
146
153
|
generateLocusDeltaRequest: (originalMeeting: any) => (originalOptions: any) => any;
|
|
147
154
|
canAttendeeRequestAiAssistantEnabled: (displayHints?: any[], roles?: any[]) => boolean;
|
|
148
155
|
attendeeRequestAiAssistantDeclinedAll: (displayHints?: any[]) => boolean;
|
|
156
|
+
isAnonymizeDisplayNamesEnabled: (displayHints: any) => any;
|
|
157
|
+
canViewTheParticipantList: (displayHints: any, canNotViewTheParticipantList: boolean) => any;
|
|
149
158
|
selfSupportsFeature: (feature: SELF_POLICY, userPolicies: Record<SELF_POLICY, boolean>) => boolean;
|
|
150
159
|
parseInterpretationInfo: (meeting: any, meetingInfo: any) => void;
|
|
151
160
|
/**
|
|
@@ -252,5 +252,6 @@ export default class MeetingInfoV2 {
|
|
|
252
252
|
}, installedOrgID?: any, locusId?: any, extraParams?: object, options?: {
|
|
253
253
|
meetingId?: string;
|
|
254
254
|
sendCAevents?: boolean;
|
|
255
|
+
correlationId?: string;
|
|
255
256
|
}, registrationId?: string, fullSiteUrl?: string, classificationId?: string): Promise<any>;
|
|
256
257
|
}
|
|
@@ -8,7 +8,7 @@ import 'webrtc-adapter';
|
|
|
8
8
|
import { LOCUSEVENT, DESTINATION_TYPE } from '../constants';
|
|
9
9
|
import { CallStateForMetrics } from '../meeting';
|
|
10
10
|
import Reachability from '../reachability';
|
|
11
|
-
import { INoiseReductionEffect, IVirtualBackgroundEffect, MeetingRegistrationStatus } from './meetings.types';
|
|
11
|
+
import { FetchSitePreferencesMeViaSiteOptions, INoiseReductionEffect, IVirtualBackgroundEffect, MeetingRegistrationStatus, SitePreferencesResponse } from './meetings.types';
|
|
12
12
|
import { HashTreeMessage } from '../hashTree/hashTreeParser';
|
|
13
13
|
export type LocusEvent = {
|
|
14
14
|
eventType: LOCUSEVENT;
|
|
@@ -104,6 +104,14 @@ export default class Meetings extends WebexPlugin {
|
|
|
104
104
|
breakoutLocusForHandleLater: any;
|
|
105
105
|
namespace: string;
|
|
106
106
|
registrationStatus: MeetingRegistrationStatus;
|
|
107
|
+
/**
|
|
108
|
+
* Emits a metric describing how well this browser runs WebAssembly, used to spot browsers
|
|
109
|
+
* where real-time WASM effects (e.g. background noise removal) run poorly.
|
|
110
|
+
*
|
|
111
|
+
* @param {string} correlationId - correlation id to report the result against
|
|
112
|
+
* @returns {void}
|
|
113
|
+
*/
|
|
114
|
+
private emitWasmRuntimePerformance;
|
|
107
115
|
/**
|
|
108
116
|
* Initializes the Meetings Plugin
|
|
109
117
|
* @constructor
|
|
@@ -211,22 +219,6 @@ export default class Meetings extends WebexPlugin {
|
|
|
211
219
|
* @returns {undefined}
|
|
212
220
|
*/
|
|
213
221
|
private _toggleAdhocMeetings;
|
|
214
|
-
/**
|
|
215
|
-
* API to toggle TCP reachability, needs to be called before webex.meetings.register()
|
|
216
|
-
* @param {Boolean} newValue
|
|
217
|
-
* @private
|
|
218
|
-
* @memberof Meetings
|
|
219
|
-
* @returns {undefined}
|
|
220
|
-
*/
|
|
221
|
-
private _toggleTcpReachability;
|
|
222
|
-
/**
|
|
223
|
-
* API to toggle TLS reachability, needs to be called before webex.meetings.register()
|
|
224
|
-
* @param {Boolean} newValue
|
|
225
|
-
* @private
|
|
226
|
-
* @memberof Meetings
|
|
227
|
-
* @returns {undefined}
|
|
228
|
-
*/
|
|
229
|
-
private _toggleTlsReachability;
|
|
230
222
|
/**
|
|
231
223
|
* API to toggle backend ipv6 native support config, needs to be called before webex.meetings.register()
|
|
232
224
|
*
|
|
@@ -254,6 +246,16 @@ export default class Meetings extends WebexPlugin {
|
|
|
254
246
|
* @returns {undefined}
|
|
255
247
|
*/
|
|
256
248
|
private _toggleEnableAudioTwccForMultistream;
|
|
249
|
+
/**
|
|
250
|
+
* API to toggle AV1 codec support for video slides in multistream,
|
|
251
|
+
* needs to be called before webex.meetings.joinWithMedia()
|
|
252
|
+
*
|
|
253
|
+
* @param {Boolean} newValue
|
|
254
|
+
* @private
|
|
255
|
+
* @memberof Meetings
|
|
256
|
+
* @returns {undefined}
|
|
257
|
+
*/
|
|
258
|
+
private _toggleEnableAv1SlidesSupport;
|
|
257
259
|
/**
|
|
258
260
|
* API to toggle stopping ICE Candidates Gathering after first relay candidate,
|
|
259
261
|
* needs to be called before webex.meetings.joinWithMedia()
|
|
@@ -368,6 +370,23 @@ export default class Meetings extends WebexPlugin {
|
|
|
368
370
|
* @memberof Meetings
|
|
369
371
|
*/
|
|
370
372
|
getPersonalMeetingRoom(): any;
|
|
373
|
+
/**
|
|
374
|
+
* Fetches site preferences for the provided Webex site, or the preferred Webex site.
|
|
375
|
+
* This is used to determine capabilities of the site, such as whether scheduling a webinar is supported.
|
|
376
|
+
*
|
|
377
|
+
* @param {object} [options]
|
|
378
|
+
* @param {string} [options.siteUrl] - Webex site URL. Defaults to preferredWebexSite, for example "cisco.webex.com".
|
|
379
|
+
* @param {string} [options.siteName] - Site name query override. Defaults to the site name derived from siteUrl, for example "cisco" for "cisco.webex.com".
|
|
380
|
+
* @param {SitePreferenceSelectOption[]} [options.selectOptions] - Preference sections to fetch. Defaults to 'scheduling'.
|
|
381
|
+
* @returns {Promise<SitePreferencesResponse>} site preferences response body
|
|
382
|
+
* @throws {ParameterError}
|
|
383
|
+
* @public
|
|
384
|
+
* @memberof Meetings
|
|
385
|
+
* @example
|
|
386
|
+
* const preferences = await webex.meetings.fetchSitePreferencesMeViaSite();
|
|
387
|
+
* const supportScheduleWebinar = preferences?.scheduling?.supportScheduleWebinar;
|
|
388
|
+
*/
|
|
389
|
+
fetchSitePreferencesMeViaSite(options?: FetchSitePreferencesMeViaSiteOptions): Promise<SitePreferencesResponse>;
|
|
371
390
|
/**
|
|
372
391
|
* Returns basic information about a meeting that exists or
|
|
373
392
|
* used to exist in the MeetingCollection
|
|
@@ -471,14 +490,16 @@ export default class Meetings extends WebexPlugin {
|
|
|
471
490
|
*/
|
|
472
491
|
getAllMeetings(): any;
|
|
473
492
|
/**
|
|
474
|
-
* Syncs all the meetings from server.
|
|
493
|
+
* Syncs all the meetings from server. For unverified guests it skips the getActiveMeetings() call
|
|
494
|
+
* (which Locus rejects for them) and instead resyncs each meeting individually via LocusInfo#sync.
|
|
475
495
|
* @param {boolean} keepOnlyLocusMeetings - whether the sync should keep only locus meetings or any other meeting in meetingCollection
|
|
476
496
|
* @returns {Promise<void>}
|
|
477
497
|
* @public
|
|
478
498
|
* @memberof Meetings
|
|
479
499
|
*/
|
|
480
|
-
syncMeetings({ keepOnlyLocusMeetings }?: {
|
|
500
|
+
syncMeetings({ keepOnlyLocusMeetings, skipHashTreeSync, }?: {
|
|
481
501
|
keepOnlyLocusMeetings?: boolean;
|
|
502
|
+
skipHashTreeSync?: boolean;
|
|
482
503
|
}): Promise<void>;
|
|
483
504
|
/**
|
|
484
505
|
* sort out locus array for initial creating
|
|
@@ -19,3 +19,18 @@ export type MeetingRegistrationStatus = {
|
|
|
19
19
|
mercuryConnect: boolean;
|
|
20
20
|
checkH264Support: boolean;
|
|
21
21
|
};
|
|
22
|
+
export declare enum SitePreferenceSelectOption {
|
|
23
|
+
SCHEDULING = "scheduling"
|
|
24
|
+
}
|
|
25
|
+
export type FetchSitePreferencesMeViaSiteOptions = {
|
|
26
|
+
siteUrl?: string;
|
|
27
|
+
siteName?: string;
|
|
28
|
+
selectOptions?: SitePreferenceSelectOption[];
|
|
29
|
+
};
|
|
30
|
+
export declare const DEFAULT_SITE_PREFERENCE_SELECT_OPTIONS: SitePreferenceSelectOption[];
|
|
31
|
+
export type SitePreferencesResponse = {
|
|
32
|
+
scheduling?: {
|
|
33
|
+
supportScheduleWebinar?: boolean;
|
|
34
|
+
webinarWebLink?: string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { StatelessWebexPlugin } from '@webex/webex-core';
|
|
2
|
+
import { type FetchSitePreferencesMeViaSiteOptions, type SitePreferencesResponse } from './meetings.types';
|
|
2
3
|
/**
|
|
3
4
|
* @class MeetingRequest
|
|
4
5
|
*/
|
|
@@ -18,6 +19,19 @@ export default class MeetingRequest extends StatelessWebexPlugin {
|
|
|
18
19
|
* @returns {Promise<object>} getMeetingPreferences
|
|
19
20
|
*/
|
|
20
21
|
getMeetingPreferences(): any;
|
|
22
|
+
/**
|
|
23
|
+
* Fetches site preferences from a given site given a select option and a siteUrl with an optional siteName. If siteName is not provided, it will be derived from the siteUrl. If siteUrl is not provided, it will throw an error. If selectOptions is not provided, it will default to scheduling.
|
|
24
|
+
*
|
|
25
|
+
* @param {object} [options]
|
|
26
|
+
* @param {string} [options.siteUrl] - Webex site URL, for example "cisco.webex.com".
|
|
27
|
+
* @param {string} [options.siteName] - Site name query override. Defaults to the site name derived from options.siteUrl, e.g., "cisco".
|
|
28
|
+
* @param {SitePreferenceSelectOption[]} [options.selectOptions] - Preference sections to fetch. Defaults to 'scheduling'.
|
|
29
|
+
* @returns {Promise<SitePreferencesResponse>} site preferences response body
|
|
30
|
+
* @throws {ParameterError}
|
|
31
|
+
* @public
|
|
32
|
+
* @memberof MeetingRequest
|
|
33
|
+
*/
|
|
34
|
+
fetchSitePreferencesMeViaSite(options?: FetchSitePreferencesMeViaSiteOptions): Promise<SitePreferencesResponse>;
|
|
21
35
|
/**
|
|
22
36
|
* Fetches indivdual locus rather then getting all at once
|
|
23
37
|
* @param {object} responseBody determine the locus and fetch them if a remoteUrl is given
|
|
@@ -66,6 +66,7 @@ declare const MemberUtil: {
|
|
|
66
66
|
isDevice: (participant: Participant) => boolean;
|
|
67
67
|
isModeratorAssignmentProhibited: (participant: Participant) => boolean;
|
|
68
68
|
isPresenterAssignmentProhibited: (participant: Participant) => boolean;
|
|
69
|
+
isAttendeeAssignmentProhibited: (participant: Participant) => boolean;
|
|
69
70
|
/**
|
|
70
71
|
* checks to see if the participant id is the same as the passed id
|
|
71
72
|
* there are multiple ids that can be used
|
|
@@ -163,5 +164,13 @@ declare const MemberUtil: {
|
|
|
163
164
|
* @returns {String}
|
|
164
165
|
*/
|
|
165
166
|
extractPairedWithParticipantUrl: (participant: Participant) => ParticipantUrl | undefined;
|
|
167
|
+
/**
|
|
168
|
+
* Collects all CSIs reported for a participant across all their devices,
|
|
169
|
+
* looking at both the top-level `csis` array and any `mediaSessions[].csi` values.
|
|
170
|
+
*
|
|
171
|
+
* @param {Object} participant - The locus participant object.
|
|
172
|
+
* @returns {Array<number>} unique CSIs for this participant
|
|
173
|
+
*/
|
|
174
|
+
extractCsis: (participant: Participant) => number[];
|
|
166
175
|
};
|
|
167
176
|
export default MemberUtil;
|