@webex/plugin-meetings 3.12.0-next.12 → 3.12.0-next.120
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/AGENTS.md +9 -0
- package/dist/aiEnableRequest/index.js +15 -2
- package/dist/aiEnableRequest/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 +90 -3
- 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 +1045 -393
- 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 +10 -1
- 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 +406 -121
- 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 +19 -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 +5 -1
- package/dist/meeting/in-meeting-actions.js.map +1 -1
- package/dist/meeting/index.js +1667 -834
- 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 +34 -2
- package/dist/meeting/util.js.map +1 -1
- package/dist/meeting-info/meeting-info-v2.js +2 -2
- package/dist/meeting-info/meeting-info-v2.js.map +1 -1
- package/dist/meetings/index.js +256 -118
- 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 +189 -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 +61 -7
- package/dist/types/locus-info/infoUtils.d.ts +8 -0
- package/dist/types/locus-info/types.d.ts +21 -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 +4 -0
- package/dist/types/meeting/index.d.ts +175 -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/meetings/index.d.ts +38 -18
- 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/index.ts +16 -0
- package/src/breakouts/breakout.ts +3 -1
- package/src/breakouts/events.ts +33 -11
- package/src/breakouts/index.ts +110 -1
- 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/index.ts +62 -10
- package/src/hashTree/constants.ts +7 -0
- package/src/hashTree/hashTreeParser.ts +796 -192
- package/src/hashTree/utils.ts +19 -0
- package/src/index.ts +6 -0
- package/src/interceptors/dataChannelAuthToken.ts +88 -12
- package/src/interceptors/locusRetry.ts +25 -4
- package/src/interpretation/index.ts +27 -9
- package/src/interpretation/interpretation.types.ts +11 -0
- package/src/locus-info/controlsUtils.ts +3 -1
- package/src/locus-info/index.ts +412 -130
- package/src/locus-info/infoUtils.ts +41 -6
- package/src/locus-info/types.ts +25 -1
- package/src/media/MediaConnectionAwaiter.ts +21 -4
- package/src/media/index.ts +10 -1
- package/src/media/properties.ts +8 -3
- package/src/meeting/in-meeting-actions.ts +8 -0
- package/src/meeting/index.ts +922 -116
- 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 +46 -5
- package/src/meeting-info/meeting-info-v2.ts +4 -2
- package/src/meetings/index.ts +168 -79
- 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/index.ts +10 -0
- package/src/member/types.ts +1 -0
- package/src/member/util.ts +29 -0
- package/src/members/index.ts +70 -7
- package/src/members/util.ts +12 -4
- package/src/metrics/constants.ts +6 -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/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/reactions.type.ts +3 -0
- package/src/recording-controller/index.ts +1 -2
- package/src/roap/turnDiscovery.ts +9 -1
- package/src/webinar/index.ts +216 -38
- package/test/unit/spec/aiEnableRequest/index.ts +86 -0
- 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 +191 -2
- 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 +2299 -243
- 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 +26 -4
- package/test/unit/spec/locus-info/controlsUtils.js +172 -57
- package/test/unit/spec/locus-info/index.js +643 -63
- 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 +4 -0
- package/test/unit/spec/meeting/index.js +2704 -135
- 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 +153 -1
- package/test/unit/spec/meeting-info/meetinginfov2.js +19 -10
- package/test/unit/spec/meetings/index.js +479 -48
- 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
|
@@ -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,35 @@ 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
|
+
/**
|
|
1612
|
+
* Determines if the next media attempt should use only TURN-TLS (iceTransportPolicy='relay').
|
|
1613
|
+
* We do this in the hope that it will minimize the chance of Homer sending DTLS packets on a wrong
|
|
1614
|
+
* transport (as there will be only 1 transport) and dealing with firewalls that let STUN packets through, but block
|
|
1615
|
+
* other UDP traffic.
|
|
1616
|
+
*
|
|
1617
|
+
* For clients landing on video mesh nodes (VMN), reachability might still have successful TLS (to public nodes)
|
|
1618
|
+
* but TURN discovery will result in empty TURN urls array and iceTransportPolicy='relay' will still be overriden to undefined,
|
|
1619
|
+
* see the code in establishMediaConnection()
|
|
1620
|
+
*
|
|
1621
|
+
* @param {Error} prevError - The error from the previous addMedia attempt
|
|
1622
|
+
* @returns {Promise<boolean>}
|
|
1623
|
+
*/
|
|
1624
|
+
private shouldRetryMediaWithOnlyTurnTLS;
|
|
1469
1625
|
/**
|
|
1470
1626
|
* Creates a webrtc media connection and publishes streams to it
|
|
1471
1627
|
*
|
|
1472
1628
|
* @param {Object} turnServerInfo TURN server information
|
|
1473
1629
|
* @param {BundlePolicy} [bundlePolicy] Bundle policy settings
|
|
1474
|
-
* @param {
|
|
1630
|
+
* @param {RTCIceTransportPolicy} [iceTransportPolicy] ICE transport policy override
|
|
1475
1631
|
* @returns {RoapMediaConnection | MultistreamRoapMediaConnection}
|
|
1476
1632
|
*/
|
|
1477
1633
|
private createMediaConnection;
|
|
@@ -1597,6 +1753,13 @@ export default class Meeting extends StatelessWebexPlugin {
|
|
|
1597
1753
|
* @returns {void}
|
|
1598
1754
|
*/
|
|
1599
1755
|
private setupLocusMediaRequest;
|
|
1756
|
+
/**
|
|
1757
|
+
* Waits for LocusInfo to update meeting.selfUrl, with a timeout fallback.
|
|
1758
|
+
* @returns {Promise<void>}
|
|
1759
|
+
* @private
|
|
1760
|
+
* @memberof Meeting
|
|
1761
|
+
*/
|
|
1762
|
+
private waitForSelfUrlChange;
|
|
1600
1763
|
/**
|
|
1601
1764
|
* Creates a media connection to the server. Media connection is required for sending or receiving any audio/video.
|
|
1602
1765
|
*
|
|
@@ -1610,14 +1773,15 @@ export default class Meeting extends StatelessWebexPlugin {
|
|
|
1610
1773
|
* Internal version of addMedia() with some more arguments for finer control of its behavior
|
|
1611
1774
|
*
|
|
1612
1775
|
* @param {Function} icePhaseCallback - callback to determine the icePhase for CA "client.ice.end" failure events
|
|
1613
|
-
* @param {TurnServerInfo} turnServerInfo - TURN server information
|
|
1614
1776
|
* @param {boolean} forceTurnDiscovery - if true, TURN discovery will be done
|
|
1777
|
+
* @param {TurnServerInfo} turnServerInfo - TURN server information
|
|
1778
|
+
* @param {RTCIceTransportPolicy} [iceTransportPolicy] - ICE transport policy override
|
|
1615
1779
|
* @param {AddMediaOptions} options - same as options of the public addMedia() method
|
|
1616
1780
|
* @returns {Promise<void>}
|
|
1617
1781
|
* @protected
|
|
1618
1782
|
* @memberof Meeting
|
|
1619
1783
|
*/
|
|
1620
|
-
protected addMediaInternal(icePhaseCallback: () => string,
|
|
1784
|
+
protected addMediaInternal(icePhaseCallback: () => string, forceTurnDiscovery: boolean, turnServerInfo?: TurnServerInfo, iceTransportPolicy?: RTCIceTransportPolicy, options?: AddMediaOptions): Promise<void>;
|
|
1621
1785
|
/**
|
|
1622
1786
|
* Informs if the peer connection is in a state that can be updated with updateMedia (audio/video/share)
|
|
1623
1787
|
* @returns {Boolean}
|
|
@@ -1980,7 +2144,7 @@ export default class Meeting extends StatelessWebexPlugin {
|
|
|
1980
2144
|
* @public
|
|
1981
2145
|
* @memberof Meeting
|
|
1982
2146
|
*/
|
|
1983
|
-
sendReaction(reactionType:
|
|
2147
|
+
sendReaction(reactionType: string, skinToneType?: SkinToneType): any;
|
|
1984
2148
|
/**
|
|
1985
2149
|
* Extend the current meeting duration.
|
|
1986
2150
|
*
|
|
@@ -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
|
/**
|
|
@@ -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
|
|
@@ -477,8 +496,9 @@ export default class Meetings extends WebexPlugin {
|
|
|
477
496
|
* @public
|
|
478
497
|
* @memberof Meetings
|
|
479
498
|
*/
|
|
480
|
-
syncMeetings({ keepOnlyLocusMeetings }?: {
|
|
499
|
+
syncMeetings({ keepOnlyLocusMeetings, skipHashTreeSync, }?: {
|
|
481
500
|
keepOnlyLocusMeetings?: boolean;
|
|
501
|
+
skipHashTreeSync?: boolean;
|
|
482
502
|
}): Promise<void>;
|
|
483
503
|
/**
|
|
484
504
|
* 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;
|
|
@@ -23,6 +23,14 @@ export default class Members extends StatelessWebexPlugin {
|
|
|
23
23
|
recordingId: any;
|
|
24
24
|
selfId: any;
|
|
25
25
|
type: any;
|
|
26
|
+
/**
|
|
27
|
+
* Map of CSI -> memberId that previously used the CSI in a Locus update.
|
|
28
|
+
* Keyed by CSI so findMemberByCsi can resolve it in O(1).
|
|
29
|
+
* Kept here (rather than on each Member) so it survives members being removed
|
|
30
|
+
* and re-added (e.g. when entering/leaving a breakout session).
|
|
31
|
+
* @private
|
|
32
|
+
*/
|
|
33
|
+
private memberIdByHistoryCsi;
|
|
26
34
|
namespace: string;
|
|
27
35
|
/**
|
|
28
36
|
*
|
|
@@ -313,11 +321,13 @@ export default class Members extends StatelessWebexPlugin {
|
|
|
313
321
|
* Transfers the host to another member
|
|
314
322
|
* @param {String} memberId
|
|
315
323
|
* @param {boolean} [moderator] default true
|
|
324
|
+
* @param {String} [breakoutLocusUrl] when provided, the request is sent against this locus url
|
|
325
|
+
* (i.e. the breakout session's locus) instead of the main session's locus url
|
|
316
326
|
* @returns {Promise}
|
|
317
327
|
* @public
|
|
318
328
|
* @memberof Members
|
|
319
329
|
*/
|
|
320
|
-
transferHostToMember(memberId: string, moderator?: boolean): any;
|
|
330
|
+
transferHostToMember(memberId: string, moderator?: boolean, breakoutLocusUrl?: string): any;
|
|
321
331
|
/**
|
|
322
332
|
* Sends DTMF tones for the PSTN member of a meeting
|
|
323
333
|
* @param {String} tones a string of one or more DTMF tones to send
|
|
@@ -327,7 +337,10 @@ export default class Members extends StatelessWebexPlugin {
|
|
|
327
337
|
* @memberof Members
|
|
328
338
|
*/
|
|
329
339
|
sendDialPadKey(tones?: string, memberId?: string): any;
|
|
330
|
-
/** Finds a member that has any device with a csi matching provided value
|
|
340
|
+
/** Finds a member that has any device with a csi matching provided value.
|
|
341
|
+
* Falls back to the `memberIdByHistoryCsi` map so that a CSI a member used in
|
|
342
|
+
* a previous Locus update can still be resolved even if it is no longer
|
|
343
|
+
* present in `participant.devices[].csis`.
|
|
331
344
|
*
|
|
332
345
|
* @param {number} csi
|
|
333
346
|
* @returns {Member}
|
|
@@ -188,11 +188,7 @@ declare const MembersUtil: {
|
|
|
188
188
|
getTransferHostToMemberRequestParams: (options: any) => {
|
|
189
189
|
method: string;
|
|
190
190
|
uri: string;
|
|
191
|
-
body:
|
|
192
|
-
role: {
|
|
193
|
-
moderator: any;
|
|
194
|
-
};
|
|
195
|
-
};
|
|
191
|
+
body: Record<string, any>;
|
|
196
192
|
};
|
|
197
193
|
genderateSendDTMFOptions: (url: any, tones: any, memberId: any, locusUrl: any) => {
|
|
198
194
|
url: any;
|
|
@@ -9,6 +9,7 @@ declare const BEHAVIORAL_METRICS: {
|
|
|
9
9
|
ADD_MEDIA_SUCCESS: string;
|
|
10
10
|
ADD_MEDIA_FAILURE: string;
|
|
11
11
|
ADD_MEDIA_RETRY: string;
|
|
12
|
+
LOCUS_MEDIA_REQUEST_RETRY: string;
|
|
12
13
|
ROAP_MERCURY_EVENT_RECEIVED: string;
|
|
13
14
|
CONNECTION_SUCCESS: string;
|
|
14
15
|
CONNECTION_FAILURE: string;
|
|
@@ -92,5 +93,10 @@ declare const BEHAVIORAL_METRICS: {
|
|
|
92
93
|
DEPRECATED_DELETE_CODEC_PARAMETERS_USED: string;
|
|
93
94
|
SET_CUSTOM_CODEC_PARAMETERS_USED: string;
|
|
94
95
|
MARK_CUSTOM_CODEC_PARAMETERS_FOR_DELETION_USED: string;
|
|
96
|
+
HASH_TREE_SYNC_FAILURE: string;
|
|
97
|
+
HASH_TREE_HEARTBEAT_WATCHDOG_EXPIRED: string;
|
|
98
|
+
HASH_TREE_EMPTY_LOCUS_STATE_ELEMENTS: string;
|
|
99
|
+
DESTROY_MEETING_WHILE_SUSPENDED: string;
|
|
100
|
+
WASM_RUNTIME_PERFORMANCE: string;
|
|
95
101
|
};
|
|
96
102
|
export { BEHAVIORAL_METRICS as default };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { AV1EncodingParams, SupportedResolution } from '@webex/internal-media-core';
|
|
2
|
+
export declare const AV1_CODEC_PARAMETERS: Record<SupportedResolution, AV1EncodingParams>;
|
|
3
|
+
export declare const H264_CODEC_PARAMETERS: {
|
|
4
|
+
maxFs: number;
|
|
5
|
+
maxFps: number;
|
|
6
|
+
maxMbps: number;
|
|
7
|
+
};
|