@webex/plugin-meetings 3.8.0 → 3.8.1-next.10
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/README.md +26 -13
- package/dist/breakouts/breakout.js +1 -1
- package/dist/breakouts/index.js +70 -6
- package/dist/breakouts/index.js.map +1 -1
- package/dist/common/errors/webex-errors.js +12 -2
- package/dist/common/errors/webex-errors.js.map +1 -1
- package/dist/config.js +5 -1
- package/dist/config.js.map +1 -1
- package/dist/constants.js +28 -123
- package/dist/constants.js.map +1 -1
- package/dist/controls-options-manager/enums.js +3 -0
- package/dist/controls-options-manager/enums.js.map +1 -1
- package/dist/controls-options-manager/types.js.map +1 -1
- package/dist/controls-options-manager/util.js +78 -0
- package/dist/controls-options-manager/util.js.map +1 -1
- package/dist/interpretation/index.js +4 -4
- package/dist/interpretation/index.js.map +1 -1
- package/dist/interpretation/siLanguage.js +1 -1
- package/dist/locus-info/controlsUtils.js +37 -11
- package/dist/locus-info/controlsUtils.js.map +1 -1
- package/dist/locus-info/index.js +92 -12
- package/dist/locus-info/index.js.map +1 -1
- package/dist/locus-info/selfUtils.js +432 -418
- package/dist/locus-info/selfUtils.js.map +1 -1
- package/dist/media/index.js +17 -17
- package/dist/media/index.js.map +1 -1
- package/dist/media/properties.js +94 -6
- package/dist/media/properties.js.map +1 -1
- package/dist/meeting/brbState.js +9 -2
- package/dist/meeting/brbState.js.map +1 -1
- package/dist/meeting/in-meeting-actions.js +21 -1
- package/dist/meeting/in-meeting-actions.js.map +1 -1
- package/dist/meeting/index.js +678 -344
- package/dist/meeting/index.js.map +1 -1
- package/dist/meeting/locusMediaRequest.js +21 -22
- package/dist/meeting/locusMediaRequest.js.map +1 -1
- package/dist/meeting/muteState.js +4 -4
- package/dist/meeting/muteState.js.map +1 -1
- package/dist/meeting/request.js +30 -0
- package/dist/meeting/request.js.map +1 -1
- package/dist/meeting/request.type.js.map +1 -1
- package/dist/meeting/util.js +13 -2
- package/dist/meeting/util.js.map +1 -1
- package/dist/meeting-info/meeting-info-v2.js +373 -68
- package/dist/meeting-info/meeting-info-v2.js.map +1 -1
- package/dist/meeting-info/utilv2.js +5 -1
- package/dist/meeting-info/utilv2.js.map +1 -1
- package/dist/meetings/index.js +136 -1
- package/dist/meetings/index.js.map +1 -1
- package/dist/meetings/util.js +14 -0
- package/dist/meetings/util.js.map +1 -1
- package/dist/member/index.js +55 -9
- package/dist/member/index.js.map +1 -1
- package/dist/member/types.js +3 -0
- package/dist/member/types.js.map +1 -1
- package/dist/member/util.js +335 -353
- package/dist/member/util.js.map +1 -1
- package/dist/members/collection.js.map +1 -1
- package/dist/members/index.js +137 -29
- package/dist/members/index.js.map +1 -1
- package/dist/members/request.js +38 -0
- package/dist/members/request.js.map +1 -1
- package/dist/members/util.js +36 -1
- package/dist/members/util.js.map +1 -1
- package/dist/metrics/constants.js +10 -0
- package/dist/metrics/constants.js.map +1 -1
- package/dist/multistream/remoteMediaManager.js +40 -8
- package/dist/multistream/remoteMediaManager.js.map +1 -1
- package/dist/reachability/clusterReachability.js +63 -27
- package/dist/reachability/clusterReachability.js.map +1 -1
- package/dist/reachability/index.js +107 -47
- package/dist/reachability/index.js.map +1 -1
- package/dist/reachability/reachability.types.js +14 -0
- package/dist/reachability/reachability.types.js.map +1 -1
- package/dist/reachability/request.js +19 -3
- package/dist/reachability/request.js.map +1 -1
- package/dist/reconnection-manager/index.js +2 -2
- package/dist/reconnection-manager/index.js.map +1 -1
- package/dist/recording-controller/util.js +5 -5
- package/dist/recording-controller/util.js.map +1 -1
- package/dist/roap/index.js.map +1 -1
- package/dist/roap/turnDiscovery.js +45 -27
- package/dist/roap/turnDiscovery.js.map +1 -1
- package/dist/roap/types.js +17 -0
- package/dist/roap/types.js.map +1 -0
- package/dist/types/common/errors/webex-errors.d.ts +7 -1
- package/dist/types/config.d.ts +3 -0
- package/dist/types/constants.d.ts +20 -85
- package/dist/types/controls-options-manager/enums.d.ts +4 -1
- package/dist/types/controls-options-manager/types.d.ts +10 -1
- package/dist/types/locus-info/index.d.ts +3 -3
- package/dist/types/locus-info/selfUtils.d.ts +216 -1
- package/dist/types/media/properties.d.ts +15 -0
- package/dist/types/meeting/in-meeting-actions.d.ts +20 -0
- package/dist/types/meeting/index.d.ts +65 -1
- package/dist/types/meeting/muteState.d.ts +0 -1
- package/dist/types/meeting/request.d.ts +12 -1
- package/dist/types/meeting/request.type.d.ts +6 -0
- package/dist/types/meeting/util.d.ts +3 -1
- package/dist/types/meeting-info/meeting-info-v2.d.ts +82 -1
- package/dist/types/meetings/index.d.ts +57 -0
- package/dist/types/member/index.d.ts +21 -6
- package/dist/types/member/types.d.ts +73 -14
- package/dist/types/member/util.d.ts +156 -1
- package/dist/types/members/collection.d.ts +6 -5
- package/dist/types/members/index.d.ts +32 -43
- package/dist/types/members/request.d.ts +26 -0
- package/dist/types/members/util.d.ts +27 -0
- package/dist/types/metrics/constants.d.ts +10 -0
- package/dist/types/multistream/remoteMediaManager.d.ts +10 -1
- package/dist/types/reachability/clusterReachability.d.ts +15 -7
- package/dist/types/reachability/index.d.ts +10 -1
- package/dist/types/reachability/reachability.types.d.ts +5 -0
- package/dist/types/roap/index.d.ts +3 -2
- package/dist/types/roap/turnDiscovery.d.ts +5 -17
- package/dist/types/roap/types.d.ts +16 -0
- package/dist/webinar/index.js +2 -2
- package/dist/webinar/index.js.map +1 -1
- package/package.json +24 -23
- package/src/breakouts/index.ts +69 -0
- package/src/common/errors/webex-errors.ts +8 -1
- package/src/config.ts +3 -0
- package/src/constants.ts +30 -90
- package/src/controls-options-manager/enums.ts +3 -0
- package/src/controls-options-manager/types.ts +16 -1
- package/src/controls-options-manager/util.ts +93 -0
- package/src/interpretation/index.ts +3 -3
- package/src/locus-info/controlsUtils.ts +59 -14
- package/src/locus-info/index.ts +97 -13
- package/src/locus-info/selfUtils.ts +496 -442
- package/src/media/index.ts +23 -21
- package/src/media/properties.ts +96 -0
- package/src/meeting/brbState.ts +11 -2
- package/src/meeting/in-meeting-actions.ts +40 -0
- package/src/meeting/index.ts +470 -105
- package/src/meeting/locusMediaRequest.ts +27 -22
- package/src/meeting/muteState.ts +4 -4
- package/src/meeting/request.ts +36 -1
- package/src/meeting/request.type.ts +7 -0
- package/src/meeting/util.ts +11 -2
- package/src/meeting-info/meeting-info-v2.ts +254 -8
- package/src/meeting-info/utilv2.ts +5 -0
- package/src/meetings/index.ts +148 -1
- package/src/meetings/util.ts +18 -0
- package/src/member/index.ts +68 -22
- package/src/member/types.ts +82 -16
- package/src/member/util.ts +357 -350
- package/src/members/collection.ts +4 -3
- package/src/members/index.ts +137 -18
- package/src/members/request.ts +44 -0
- package/src/members/util.ts +43 -1
- package/src/metrics/constants.ts +10 -0
- package/src/multistream/remoteMediaManager.ts +32 -10
- package/src/reachability/clusterReachability.ts +73 -26
- package/src/reachability/index.ts +62 -1
- package/src/reachability/reachability.types.ts +6 -0
- package/src/reachability/request.ts +7 -0
- package/src/reconnection-manager/index.ts +2 -2
- package/src/recording-controller/util.ts +17 -13
- package/src/roap/index.ts +3 -7
- package/src/roap/turnDiscovery.ts +34 -39
- package/src/roap/types.ts +23 -0
- package/src/webinar/index.ts +1 -1
- package/test/unit/spec/breakouts/index.ts +167 -95
- package/test/unit/spec/controls-options-manager/util.js +178 -0
- package/test/unit/spec/interpretation/index.ts +39 -1
- package/test/unit/spec/locus-info/controlsUtils.js +155 -9
- package/test/unit/spec/locus-info/index.js +209 -73
- package/test/unit/spec/locus-info/selfUtils.js +98 -24
- package/test/unit/spec/media/index.ts +150 -18
- package/test/unit/spec/media/properties.ts +130 -0
- package/test/unit/spec/meeting/brbState.ts +40 -2
- package/test/unit/spec/meeting/in-meeting-actions.ts +23 -4
- package/test/unit/spec/meeting/index.js +804 -139
- package/test/unit/spec/meeting/locusMediaRequest.ts +95 -87
- package/test/unit/spec/meeting/muteState.js +73 -2
- package/test/unit/spec/meeting/request.js +32 -1
- package/test/unit/spec/meeting/utils.js +119 -18
- package/test/unit/spec/meeting-info/meetinginfov2.js +484 -114
- package/test/unit/spec/meeting-info/utilv2.js +19 -0
- package/test/unit/spec/meetings/index.js +146 -2
- package/test/unit/spec/member/index.js +7 -0
- package/test/unit/spec/member/util.js +24 -0
- package/test/unit/spec/members/index.js +304 -78
- package/test/unit/spec/members/request.js +68 -22
- package/test/unit/spec/members/utils.js +75 -0
- package/test/unit/spec/multistream/remoteMediaManager.ts +397 -118
- package/test/unit/spec/reachability/clusterReachability.ts +88 -56
- package/test/unit/spec/reachability/index.ts +97 -0
- package/test/unit/spec/reachability/request.js +47 -2
- package/test/unit/spec/reconnection-manager/index.js +4 -4
- package/test/unit/spec/roap/turnDiscovery.ts +110 -28
- package/test/unit/spec/webinar/index.ts +5 -0
- package/dist/annotation/annotation.types.d.ts +0 -42
- package/dist/annotation/constants.d.ts +0 -31
- package/dist/annotation/index.d.ts +0 -117
- package/dist/breakouts/breakout.d.ts +0 -8
- package/dist/breakouts/collection.d.ts +0 -5
- package/dist/breakouts/edit-lock-error.d.ts +0 -15
- package/dist/breakouts/events.d.ts +0 -8
- package/dist/breakouts/index.d.ts +0 -5
- package/dist/breakouts/request.d.ts +0 -22
- package/dist/breakouts/utils.d.ts +0 -15
- package/dist/common/browser-detection.d.ts +0 -9
- package/dist/common/collection.d.ts +0 -48
- package/dist/common/config.d.ts +0 -2
- package/dist/common/errors/captcha-error.d.ts +0 -15
- package/dist/common/errors/intent-to-join.d.ts +0 -16
- package/dist/common/errors/join-meeting.d.ts +0 -17
- package/dist/common/errors/media.d.ts +0 -15
- package/dist/common/errors/no-meeting-info.d.ts +0 -14
- package/dist/common/errors/parameter.d.ts +0 -15
- package/dist/common/errors/password-error.d.ts +0 -15
- package/dist/common/errors/permission.d.ts +0 -14
- package/dist/common/errors/reclaim-host-role-error.js +0 -149
- package/dist/common/errors/reclaim-host-role-error.js.map +0 -1
- package/dist/common/errors/reclaim-host-role-errors.d.ts +0 -60
- package/dist/common/errors/reconnection-in-progress.d.ts +0 -9
- package/dist/common/errors/reconnection-in-progress.js +0 -33
- package/dist/common/errors/reconnection-in-progress.js.map +0 -1
- package/dist/common/errors/reconnection.d.ts +0 -15
- package/dist/common/errors/stats.d.ts +0 -15
- package/dist/common/errors/webex-errors.d.ts +0 -93
- package/dist/common/errors/webex-meetings-error.d.ts +0 -20
- package/dist/common/events/events-scope.d.ts +0 -17
- package/dist/common/events/events.d.ts +0 -12
- package/dist/common/events/trigger-proxy.d.ts +0 -2
- package/dist/common/events/util.d.ts +0 -2
- package/dist/common/logs/logger-config.d.ts +0 -2
- package/dist/common/logs/logger-proxy.d.ts +0 -2
- package/dist/common/logs/request.d.ts +0 -36
- package/dist/common/queue.d.ts +0 -34
- package/dist/config.d.ts +0 -72
- package/dist/constants.d.ts +0 -1088
- package/dist/controls-options-manager/constants.d.ts +0 -4
- package/dist/controls-options-manager/enums.d.ts +0 -15
- package/dist/controls-options-manager/index.d.ts +0 -136
- package/dist/controls-options-manager/types.d.ts +0 -43
- package/dist/controls-options-manager/util.d.ts +0 -1
- package/dist/index.d.ts +0 -7
- package/dist/interceptors/index.d.ts +0 -2
- package/dist/interceptors/locusRetry.d.ts +0 -27
- package/dist/interpretation/collection.d.ts +0 -5
- package/dist/interpretation/index.d.ts +0 -5
- package/dist/interpretation/siLanguage.d.ts +0 -5
- package/dist/locus-info/controlsUtils.d.ts +0 -2
- package/dist/locus-info/embeddedAppsUtils.d.ts +0 -2
- package/dist/locus-info/fullState.d.ts +0 -2
- package/dist/locus-info/hostUtils.d.ts +0 -2
- package/dist/locus-info/index.d.ts +0 -322
- package/dist/locus-info/infoUtils.d.ts +0 -2
- package/dist/locus-info/mediaSharesUtils.d.ts +0 -2
- package/dist/locus-info/parser.d.ts +0 -272
- package/dist/locus-info/selfUtils.d.ts +0 -2
- package/dist/media/index.d.ts +0 -34
- package/dist/media/properties.d.ts +0 -93
- package/dist/media/util.d.ts +0 -2
- package/dist/mediaQualityMetrics/config.d.ts +0 -241
- package/dist/mediaQualityMetrics/config.js +0 -502
- package/dist/mediaQualityMetrics/config.js.map +0 -1
- package/dist/meeting/effectsState.js +0 -260
- package/dist/meeting/effectsState.js.map +0 -1
- package/dist/meeting/in-meeting-actions.d.ts +0 -167
- package/dist/meeting/index.d.ts +0 -1825
- package/dist/meeting/locusMediaRequest.d.ts +0 -74
- package/dist/meeting/muteState.d.ts +0 -178
- package/dist/meeting/request.d.ts +0 -295
- package/dist/meeting/request.type.d.ts +0 -11
- package/dist/meeting/state.d.ts +0 -9
- package/dist/meeting/util.d.ts +0 -119
- package/dist/meeting/voicea-meeting.d.ts +0 -16
- package/dist/meeting-info/collection.d.ts +0 -20
- package/dist/meeting-info/index.d.ts +0 -69
- package/dist/meeting-info/meeting-info-v2.d.ts +0 -123
- package/dist/meeting-info/request.d.ts +0 -22
- package/dist/meeting-info/util.d.ts +0 -2
- package/dist/meeting-info/utilv2.d.ts +0 -2
- package/dist/meetings/collection.d.ts +0 -40
- package/dist/meetings/index.d.ts +0 -390
- package/dist/meetings/meetings.types.d.ts +0 -4
- package/dist/meetings/request.d.ts +0 -27
- package/dist/meetings/util.d.ts +0 -18
- package/dist/member/index.d.ts +0 -160
- package/dist/member/member.types.js +0 -17
- package/dist/member/member.types.js.map +0 -1
- package/dist/member/types.d.ts +0 -32
- package/dist/member/util.d.ts +0 -2
- package/dist/members/collection.d.ts +0 -29
- package/dist/members/index.d.ts +0 -353
- package/dist/members/request.d.ts +0 -114
- package/dist/members/types.d.ts +0 -25
- package/dist/members/util.d.ts +0 -215
- package/dist/metrics/config.js +0 -276
- package/dist/metrics/config.js.map +0 -1
- package/dist/metrics/constants.d.ts +0 -70
- package/dist/metrics/index.d.ts +0 -45
- package/dist/multistream/mediaRequestManager.d.ts +0 -119
- package/dist/multistream/receiveSlot.d.ts +0 -68
- package/dist/multistream/receiveSlotManager.d.ts +0 -56
- package/dist/multistream/remoteMedia.d.ts +0 -72
- package/dist/multistream/remoteMediaGroup.d.ts +0 -49
- package/dist/multistream/remoteMediaManager.d.ts +0 -300
- package/dist/multistream/sendSlotManager.d.ts +0 -69
- package/dist/networkQualityMonitor/index.d.ts +0 -70
- package/dist/networkQualityMonitor/index.js +0 -221
- package/dist/networkQualityMonitor/index.js.map +0 -1
- package/dist/peer-connection-manager/index.js +0 -671
- package/dist/peer-connection-manager/index.js.map +0 -1
- package/dist/peer-connection-manager/util.js +0 -109
- package/dist/peer-connection-manager/util.js.map +0 -1
- package/dist/personal-meeting-room/index.d.ts +0 -47
- package/dist/personal-meeting-room/request.d.ts +0 -14
- package/dist/personal-meeting-room/util.d.ts +0 -2
- package/dist/reachability/clusterReachability.d.ts +0 -109
- package/dist/reachability/index.d.ts +0 -105
- package/dist/reachability/request.d.ts +0 -39
- package/dist/reachability/util.d.ts +0 -8
- package/dist/reactions/constants.d.ts +0 -3
- package/dist/reactions/reactions.d.ts +0 -4
- package/dist/reactions/reactions.type.d.ts +0 -52
- package/dist/reconnection-manager/index.d.ts +0 -136
- package/dist/recording-controller/enums.d.ts +0 -7
- package/dist/recording-controller/index.d.ts +0 -207
- package/dist/recording-controller/util.d.ts +0 -14
- package/dist/roap/collection.js +0 -62
- package/dist/roap/collection.js.map +0 -1
- package/dist/roap/handler.js +0 -275
- package/dist/roap/handler.js.map +0 -1
- package/dist/roap/index.d.ts +0 -86
- package/dist/roap/request.d.ts +0 -39
- package/dist/roap/state.js +0 -126
- package/dist/roap/state.js.map +0 -1
- package/dist/roap/turnDiscovery.d.ts +0 -155
- package/dist/roap/util.js +0 -75
- package/dist/roap/util.js.map +0 -1
- package/dist/rtcMetrics/constants.d.ts +0 -4
- package/dist/rtcMetrics/constants.js +0 -11
- package/dist/rtcMetrics/constants.js.map +0 -1
- package/dist/rtcMetrics/index.d.ts +0 -61
- package/dist/rtcMetrics/index.js +0 -197
- package/dist/rtcMetrics/index.js.map +0 -1
- package/dist/statsAnalyzer/global.d.ts +0 -36
- package/dist/statsAnalyzer/global.js +0 -126
- package/dist/statsAnalyzer/global.js.map +0 -1
- package/dist/statsAnalyzer/index.d.ts +0 -217
- package/dist/statsAnalyzer/index.js +0 -1013
- package/dist/statsAnalyzer/index.js.map +0 -1
- package/dist/statsAnalyzer/mqaUtil.d.ts +0 -48
- package/dist/statsAnalyzer/mqaUtil.js +0 -179
- package/dist/statsAnalyzer/mqaUtil.js.map +0 -1
- package/dist/transcription/index.d.ts +0 -64
- package/dist/types/common/errors/reconnection-in-progress.d.ts +0 -9
- package/dist/types/mediaQualityMetrics/config.d.ts +0 -241
- package/dist/types/networkQualityMonitor/index.d.ts +0 -70
- package/dist/types/rtcMetrics/constants.d.ts +0 -4
- package/dist/types/rtcMetrics/index.d.ts +0 -71
- package/dist/types/statsAnalyzer/global.d.ts +0 -36
- package/dist/types/statsAnalyzer/index.d.ts +0 -217
- package/dist/types/statsAnalyzer/mqaUtil.d.ts +0 -48
- package/dist/webinar/collection.d.ts +0 -16
- package/dist/webinar/index.d.ts +0 -5
@@ -1,16 +0,0 @@
|
|
1
|
-
export declare const getSpeaker: (members: any, csis?: any[]) => unknown;
|
2
|
-
export declare const getSpeakerFromProxyOrStore: ({ csisKey, meetingMembers, transcriptData }: {
|
3
|
-
csisKey: any;
|
4
|
-
meetingMembers: any;
|
5
|
-
transcriptData: any;
|
6
|
-
}) => {
|
7
|
-
speaker: {
|
8
|
-
speakerId: string;
|
9
|
-
name: string;
|
10
|
-
};
|
11
|
-
needsCaching: boolean;
|
12
|
-
};
|
13
|
-
export declare const processNewCaptions: ({ data, meeting }: {
|
14
|
-
data: any;
|
15
|
-
meeting: any;
|
16
|
-
}) => void;
|
@@ -1,20 +0,0 @@
|
|
1
|
-
import Collection from '../common/collection';
|
2
|
-
/**
|
3
|
-
* @class MeetingInfoCollection
|
4
|
-
*/
|
5
|
-
export default class MeetingInfoCollection extends Collection {
|
6
|
-
namespace: string;
|
7
|
-
/**
|
8
|
-
* @memberof MeetingInfoCollection
|
9
|
-
* @constructor
|
10
|
-
* @public
|
11
|
-
*/
|
12
|
-
constructor();
|
13
|
-
/**
|
14
|
-
* @param {String} id ID of the meeting info you wish to retreive
|
15
|
-
* @returns {MeetingInfo} returns a meeting info instance
|
16
|
-
* @public
|
17
|
-
* @memberof MeetingInfoCollection
|
18
|
-
*/
|
19
|
-
get(id: string): any;
|
20
|
-
}
|
@@ -1,69 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright (c) 2015-2020 Cisco Systems, Inc. See LICENSE file.
|
3
|
-
*/
|
4
|
-
/**
|
5
|
-
* @class MeetingInfo
|
6
|
-
*/
|
7
|
-
export default class MeetingInfo {
|
8
|
-
meetingInfoCollection: any;
|
9
|
-
meetingInfoRequest: any;
|
10
|
-
webex: any;
|
11
|
-
/**
|
12
|
-
*
|
13
|
-
* @param {WebexSDK} webex
|
14
|
-
*/
|
15
|
-
constructor(webex: any);
|
16
|
-
/**
|
17
|
-
* @param {string} id
|
18
|
-
* @returns {object}
|
19
|
-
* @public
|
20
|
-
* @memberof MeetingInfo
|
21
|
-
*/
|
22
|
-
getMeetingInfo(id: string): any;
|
23
|
-
/**
|
24
|
-
* @param {string} id
|
25
|
-
* @param {object} info
|
26
|
-
* @returns {null}
|
27
|
-
* @public
|
28
|
-
* @memberof MeetingInfo
|
29
|
-
*/
|
30
|
-
setMeetingInfo(id: string, info: object): void;
|
31
|
-
/**
|
32
|
-
* Helper to make the actual MeetingInfo request and set the meetingInfo if successful, else reject
|
33
|
-
* @param {Object} options
|
34
|
-
* @returns {Promise}
|
35
|
-
* @private
|
36
|
-
* @memberof MeetingInfo
|
37
|
-
*/
|
38
|
-
private requestFetchInfo;
|
39
|
-
/**
|
40
|
-
* Helper to generate the options for the MeetingInfo request
|
41
|
-
* @param {String} destination
|
42
|
-
* @param {String} type
|
43
|
-
* @returns {Promise}
|
44
|
-
* @private
|
45
|
-
* @memberof MeetingInfo
|
46
|
-
*/
|
47
|
-
private fetchInfoOptions;
|
48
|
-
/**
|
49
|
-
* Fetches meeting info from the server
|
50
|
-
* @param {String} destination one of many different types of destinations to look up info for
|
51
|
-
* @param {String} [type] to match up with the destination value
|
52
|
-
* @param {String} [password] meeting password
|
53
|
-
* @param {Object} [captchaInfo] captcha code and id
|
54
|
-
* @param {String} [installedOrgID]
|
55
|
-
* @param {String} [locusId]
|
56
|
-
* @param {Object} [extraParams]
|
57
|
-
* @param {Boolean} [options] meeting Id and whether Call Analyzer events should be sent
|
58
|
-
* @returns {Promise} returns a meeting info object
|
59
|
-
* @public
|
60
|
-
* @memberof MeetingInfo
|
61
|
-
*/
|
62
|
-
fetchMeetingInfo(destination: string, type?: string, password?: string, captchaInfo?: {
|
63
|
-
code: string;
|
64
|
-
id: string;
|
65
|
-
}, installedOrgID?: any, locusId?: any, extraParams?: object, options?: {
|
66
|
-
meetingId?: string;
|
67
|
-
sendCAevents?: boolean;
|
68
|
-
}): any;
|
69
|
-
}
|
@@ -1,123 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Error to indicate that wbxappapi requires a password
|
3
|
-
*/
|
4
|
-
export declare class MeetingInfoV2PasswordError extends Error {
|
5
|
-
meetingInfo: any;
|
6
|
-
sdkMessage: any;
|
7
|
-
wbxAppApiCode: any;
|
8
|
-
body: any;
|
9
|
-
/**
|
10
|
-
*
|
11
|
-
* @constructor
|
12
|
-
* @param {Number} [wbxAppApiErrorCode]
|
13
|
-
* @param {Object} [meetingInfo]
|
14
|
-
* @param {String} [message]
|
15
|
-
*/
|
16
|
-
constructor(wbxAppApiErrorCode?: number, meetingInfo?: object, message?: string);
|
17
|
-
}
|
18
|
-
/**
|
19
|
-
* Error generating a adhoc space meeting
|
20
|
-
*/
|
21
|
-
export declare class MeetingInfoV2AdhocMeetingError extends Error {
|
22
|
-
sdkMessage: any;
|
23
|
-
wbxAppApiCode: any;
|
24
|
-
/**
|
25
|
-
*
|
26
|
-
* @constructor
|
27
|
-
* @param {Number} [wbxAppApiErrorCode]
|
28
|
-
* @param {String} [message]
|
29
|
-
*/
|
30
|
-
constructor(wbxAppApiErrorCode?: number, message?: string);
|
31
|
-
}
|
32
|
-
/**
|
33
|
-
* Error preventing join because of a meeting policy
|
34
|
-
*/
|
35
|
-
export declare class MeetingInfoV2PolicyError extends Error {
|
36
|
-
meetingInfo: object;
|
37
|
-
sdkMessage: string;
|
38
|
-
wbxAppApiCode: number;
|
39
|
-
/**
|
40
|
-
*
|
41
|
-
* @constructor
|
42
|
-
* @param {Number} [wbxAppApiErrorCode]
|
43
|
-
* @param {Object} [meetingInfo]
|
44
|
-
* @param {String} [message]
|
45
|
-
*/
|
46
|
-
constructor(wbxAppApiErrorCode?: number, meetingInfo?: object, message?: string);
|
47
|
-
}
|
48
|
-
/**
|
49
|
-
* Error to indicate that preferred webex site not present to start adhoc meeting
|
50
|
-
*/
|
51
|
-
export declare class MeetingInfoV2CaptchaError extends Error {
|
52
|
-
captchaInfo: any;
|
53
|
-
isPasswordRequired: any;
|
54
|
-
sdkMessage: any;
|
55
|
-
wbxAppApiCode: any;
|
56
|
-
body: any;
|
57
|
-
/**
|
58
|
-
*
|
59
|
-
* @constructor
|
60
|
-
* @param {Number} [wbxAppApiErrorCode]
|
61
|
-
* @param {Object} [captchaInfo]
|
62
|
-
* @param {String} [message]
|
63
|
-
*/
|
64
|
-
constructor(wbxAppApiErrorCode?: number, captchaInfo?: object, message?: string);
|
65
|
-
}
|
66
|
-
/**
|
67
|
-
* @class MeetingInfo
|
68
|
-
*/
|
69
|
-
export default class MeetingInfoV2 {
|
70
|
-
webex: any;
|
71
|
-
/**
|
72
|
-
*
|
73
|
-
* @param {WebexSDK} webex
|
74
|
-
*/
|
75
|
-
constructor(webex: any);
|
76
|
-
/**
|
77
|
-
* converts hydra id into conversation url and persons Id
|
78
|
-
* @param {String} destination one of many different types of destinations to look up info for
|
79
|
-
* @param {String} [type] to match up with the destination value
|
80
|
-
* @returns {Promise} destination and type
|
81
|
-
* @public
|
82
|
-
* @memberof MeetingInfo
|
83
|
-
*/
|
84
|
-
fetchInfoOptions(destination: string, type?: string): any;
|
85
|
-
/**
|
86
|
-
* Raises a MeetingInfoV2PolicyError for policy error codes
|
87
|
-
* @param {any} err the error from the request
|
88
|
-
* @returns {void}
|
89
|
-
*/
|
90
|
-
handlePolicyError: (err: any) => void;
|
91
|
-
/**
|
92
|
-
* Creates adhoc space meetings for a space by fetching the conversation infomation
|
93
|
-
* @param {String} conversationUrl conversationUrl to start adhoc meeting on
|
94
|
-
* @param {String} installedOrgID org ID of user's machine
|
95
|
-
* @returns {Promise} returns a meeting info object
|
96
|
-
* @public
|
97
|
-
* @memberof MeetingInfo
|
98
|
-
*/
|
99
|
-
createAdhocSpaceMeeting(conversationUrl: string, installedOrgID?: string): Promise<any>;
|
100
|
-
/**
|
101
|
-
* Fetches meeting info from the server
|
102
|
-
* @param {String} destination one of many different types of destinations to look up info for
|
103
|
-
* @param {String} [type] to match up with the destination value
|
104
|
-
* @param {String} password
|
105
|
-
* @param {Object} captchaInfo
|
106
|
-
* @param {String} captchaInfo.code
|
107
|
-
* @param {String} captchaInfo.id
|
108
|
-
* @param {String} installedOrgID org ID of user's machine
|
109
|
-
* @param {String} locusId
|
110
|
-
* @param {Object} extraParams
|
111
|
-
* @param {Object} options
|
112
|
-
* @returns {Promise} returns a meeting info object
|
113
|
-
* @public
|
114
|
-
* @memberof MeetingInfo
|
115
|
-
*/
|
116
|
-
fetchMeetingInfo(destination: string, type?: string, password?: string, captchaInfo?: {
|
117
|
-
code: string;
|
118
|
-
id: string;
|
119
|
-
}, installedOrgID?: any, locusId?: any, extraParams?: object, options?: {
|
120
|
-
meetingId?: string;
|
121
|
-
sendCAevents?: boolean;
|
122
|
-
}): Promise<any>;
|
123
|
-
}
|
@@ -1,22 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @class MeetingInfoRequest
|
3
|
-
*/
|
4
|
-
export default class MeetingInfoRequest {
|
5
|
-
webex: any;
|
6
|
-
/**
|
7
|
-
* Meeting Info Request Constructor
|
8
|
-
* @param {WebexSDK} webex
|
9
|
-
*/
|
10
|
-
constructor(webex: any);
|
11
|
-
/**
|
12
|
-
*
|
13
|
-
* @param {Object} options with format of {type: String, desintation: String}
|
14
|
-
* where type is PERSONAL_ROOM, SIP_URI, CONVERSATION_URL, and destination is userId, sipUri, conversationUrl respectively
|
15
|
-
* type can also be specified as an option and be of the list SIP_URI,MEETING_ID,LOCUS_ID,PERSONAL_ROOM,MEETING_LINK,ONE_ON_ONE,MEDIA_SIP_URI,CONVERSATION_URL,TEMP_SIP_URI
|
16
|
-
* with the desination matching
|
17
|
-
* @returns {Promise} returns a promise that resolves/rejects the result of the request
|
18
|
-
* @throws {Error} if the options are not valid and complete
|
19
|
-
* @memberof MeetingInfoRequest
|
20
|
-
*/
|
21
|
-
fetchMeetingInfo(options: any): any;
|
22
|
-
}
|
@@ -1,40 +0,0 @@
|
|
1
|
-
import Collection from '../common/collection';
|
2
|
-
/**
|
3
|
-
* @export
|
4
|
-
* @class MeetingCollection
|
5
|
-
*/
|
6
|
-
export default class MeetingCollection extends Collection {
|
7
|
-
/**
|
8
|
-
* @constructor
|
9
|
-
* @public
|
10
|
-
* @memberof MeetingCollection
|
11
|
-
*/
|
12
|
-
constructor();
|
13
|
-
set(meeting: any): any;
|
14
|
-
/**
|
15
|
-
* get a specific meeting searching for key
|
16
|
-
* @param {String} key
|
17
|
-
* @param {Any} value
|
18
|
-
* @returns {Meeting} if found, else returns null
|
19
|
-
* @public
|
20
|
-
* @memberof MeetingCollection
|
21
|
-
*/
|
22
|
-
getByKey(key: string, value: any): any;
|
23
|
-
/**
|
24
|
-
* get a specific meeting searching for key
|
25
|
-
* @param {String} breakoutUrl
|
26
|
-
* @returns {Meeting} if found, else returns null
|
27
|
-
* @public
|
28
|
-
* @memberof MeetingCollection
|
29
|
-
*/
|
30
|
-
getActiveBreakoutLocus(breakoutUrl: string): any;
|
31
|
-
/**
|
32
|
-
* Gets the meeting that has a webrtc media connection
|
33
|
-
* NOTE: this function assumes there is no more than 1 such meeting
|
34
|
-
*
|
35
|
-
* @returns {Meeting} first meeting found, else undefined
|
36
|
-
* @public
|
37
|
-
* @memberof MeetingCollection
|
38
|
-
*/
|
39
|
-
getActiveWebrtcMeeting(): any;
|
40
|
-
}
|
package/dist/meetings/index.d.ts
DELETED
@@ -1,390 +0,0 @@
|
|
1
|
-
import '@webex/internal-plugin-mercury';
|
2
|
-
import '@webex/internal-plugin-conversation';
|
3
|
-
import '@webex/internal-plugin-metrics';
|
4
|
-
import { WebexPlugin } from '@webex/webex-core';
|
5
|
-
import * as mediaHelpersModule from '@webex/media-helpers';
|
6
|
-
import 'webrtc-adapter';
|
7
|
-
import { CallStateForMetrics } from '../meeting';
|
8
|
-
import Reachability from '../reachability';
|
9
|
-
import { INoiseReductionEffect, IVirtualBackgroundEffect } from './meetings.types';
|
10
|
-
/**
|
11
|
-
* Meetings Ready Event
|
12
|
-
* Emitted when the meetings instance on webex is ready
|
13
|
-
* @event meetings:ready
|
14
|
-
* @instance
|
15
|
-
* @memberof Meetings
|
16
|
-
*/
|
17
|
-
/**
|
18
|
-
* Meetings Network Disconnected Event
|
19
|
-
* Emitted when the meetings instance is disconnected from
|
20
|
-
* the internal mercury server
|
21
|
-
* @event network:disconnected
|
22
|
-
* @instance
|
23
|
-
* @memberof Meetings
|
24
|
-
*/
|
25
|
-
/**
|
26
|
-
* Meetings Registered Event
|
27
|
-
* Emitted when the meetings instance has been registered and listening
|
28
|
-
* @event meetings:registered
|
29
|
-
* @instance
|
30
|
-
* @memberof Meetings
|
31
|
-
*/
|
32
|
-
/**
|
33
|
-
* Meeting Removed Event
|
34
|
-
* Emitted when a meeting was removed from the cache of meetings
|
35
|
-
* @event meeting:removed
|
36
|
-
* @instance
|
37
|
-
* @type {Object}
|
38
|
-
* @property {String} meetingId the removed meeting
|
39
|
-
* @property {Object} response the server response
|
40
|
-
* @property {String} type what type of meeting it was
|
41
|
-
* @memberof Meetings
|
42
|
-
*/
|
43
|
-
/**
|
44
|
-
* Meeting Added Event
|
45
|
-
* Emitted when a meeting was added to the cache of meetings
|
46
|
-
* @event meeting:added
|
47
|
-
* @instance
|
48
|
-
* @type {Object}
|
49
|
-
* @property {String} meetingId the added meeting
|
50
|
-
* @property {String} type what type of meeting it was
|
51
|
-
* @memberof Meetings
|
52
|
-
*/
|
53
|
-
/**
|
54
|
-
* Maintain a cache of meetings and sync with services.
|
55
|
-
* @class
|
56
|
-
*/
|
57
|
-
export default class Meetings extends WebexPlugin {
|
58
|
-
loggerRequest: any;
|
59
|
-
media: any;
|
60
|
-
meetingCollection: any;
|
61
|
-
personalMeetingRoom: any;
|
62
|
-
preferredWebexSite: any;
|
63
|
-
reachability: Reachability;
|
64
|
-
registered: any;
|
65
|
-
request: any;
|
66
|
-
geoHintInfo: any;
|
67
|
-
meetingInfo: any;
|
68
|
-
mediaHelpers: any;
|
69
|
-
breakoutLocusForHandleLater: any;
|
70
|
-
namespace: string;
|
71
|
-
/**
|
72
|
-
* Initializes the Meetings Plugin
|
73
|
-
* @constructor
|
74
|
-
* @public
|
75
|
-
* @memberof Meetings
|
76
|
-
*/
|
77
|
-
constructor(...args: any[]);
|
78
|
-
/**
|
79
|
-
* check whether you need to handle this main session's locus data or not
|
80
|
-
* @param {Object} meeting current meeting data
|
81
|
-
* @param {Object} newLocus new locus data
|
82
|
-
* @returns {boolean}
|
83
|
-
* @private
|
84
|
-
* @memberof Meetings
|
85
|
-
*/
|
86
|
-
private isNeedHandleMainLocus;
|
87
|
-
/**
|
88
|
-
* check whether you need to handle this locus data or not
|
89
|
-
* @param {Object} meeting old locus data
|
90
|
-
* @param {Object} newLocus new locus data
|
91
|
-
* @returns {boolean}
|
92
|
-
* @private
|
93
|
-
* @memberof Meetings
|
94
|
-
*/
|
95
|
-
private isNeedHandleLocusDTO;
|
96
|
-
/**
|
97
|
-
* get corresponding meeting object by locus data
|
98
|
-
* @param {Object} data a locus event
|
99
|
-
* @param {String} data.locusUrl
|
100
|
-
* @param {Object} data.locus
|
101
|
-
* @returns {Object}
|
102
|
-
* @private
|
103
|
-
* @memberof Meetings
|
104
|
-
*/
|
105
|
-
getCorrespondingMeetingByLocus(data: any): any;
|
106
|
-
/**
|
107
|
-
* handle locus events and takes meeting actions with them as they come in
|
108
|
-
* @param {Object} data a locus event
|
109
|
-
* @param {String} data.locusUrl
|
110
|
-
* @param {Object} data.locus
|
111
|
-
* @param {Boolean} useRandomDelayForInfo whether a random delay should be added to fetching meeting info
|
112
|
-
* @param {String} data.eventType
|
113
|
-
* @returns {undefined}
|
114
|
-
* @private
|
115
|
-
* @memberof Meetings
|
116
|
-
*/
|
117
|
-
private handleLocusEvent;
|
118
|
-
/**
|
119
|
-
* handles locus events through mercury that are not roap
|
120
|
-
* @param {Object} envelope
|
121
|
-
* @param {Object} envelope.data
|
122
|
-
* @param {String} envelope.data.eventType
|
123
|
-
* @returns {undefined}
|
124
|
-
* @private
|
125
|
-
* @memberof Meetings
|
126
|
-
*/
|
127
|
-
private handleLocusMercury;
|
128
|
-
/**
|
129
|
-
* handles mecury offline event
|
130
|
-
* @returns {undefined}
|
131
|
-
* @private
|
132
|
-
* @memberof Meetings
|
133
|
-
*/
|
134
|
-
private handleMercuryOffline;
|
135
|
-
/**
|
136
|
-
* registers for locus and roap mercury events
|
137
|
-
* @returns {undefined}
|
138
|
-
* @private
|
139
|
-
* @memberof Meetings
|
140
|
-
*/
|
141
|
-
private listenForEvents;
|
142
|
-
/**
|
143
|
-
* stops listening for locus and roap mercury events
|
144
|
-
* @returns {undefined}
|
145
|
-
* @private
|
146
|
-
* @memberof Meetings
|
147
|
-
*/
|
148
|
-
private stopListeningForEvents;
|
149
|
-
/**
|
150
|
-
* @returns {undefined}
|
151
|
-
* @private
|
152
|
-
* @memberof Meetings
|
153
|
-
*/
|
154
|
-
private onReady;
|
155
|
-
/**
|
156
|
-
* API to toggle unified meetings
|
157
|
-
* @param {Boolean} changeState
|
158
|
-
* @private
|
159
|
-
* @memberof Meetings
|
160
|
-
* @returns {undefined}
|
161
|
-
*/
|
162
|
-
private _toggleUnifiedMeetings;
|
163
|
-
/**
|
164
|
-
* API to toggle starting adhoc meeting
|
165
|
-
* @param {Boolean} changeState
|
166
|
-
* @private
|
167
|
-
* @memberof Meetings
|
168
|
-
* @returns {undefined}
|
169
|
-
*/
|
170
|
-
private _toggleAdhocMeetings;
|
171
|
-
/**
|
172
|
-
* API to toggle TCP reachability, needs to be called before webex.meetings.register()
|
173
|
-
* @param {Boolean} newValue
|
174
|
-
* @private
|
175
|
-
* @memberof Meetings
|
176
|
-
* @returns {undefined}
|
177
|
-
*/
|
178
|
-
private _toggleTcpReachability;
|
179
|
-
/**
|
180
|
-
* Explicitly sets up the meetings plugin by registering
|
181
|
-
* the device, connecting to mercury, and listening for locus events.
|
182
|
-
*
|
183
|
-
* @returns {Promise}
|
184
|
-
* @public
|
185
|
-
* @memberof Meetings
|
186
|
-
*/
|
187
|
-
register(): Promise<void>;
|
188
|
-
/**
|
189
|
-
* Explicitly tears down the meetings plugin by deregistering
|
190
|
-
* the device, disconnecting from mercury, and stops listening to locus events
|
191
|
-
*
|
192
|
-
* @returns {Promise}
|
193
|
-
* @public
|
194
|
-
* @memberof Meetings
|
195
|
-
*/
|
196
|
-
unregister(): any;
|
197
|
-
/**
|
198
|
-
* Creates a noise reduction effect
|
199
|
-
*
|
200
|
-
* @param {INoiseReductionEffect} options optional custom effect options
|
201
|
-
* @returns {Promise<effect>} noise reduction effect.
|
202
|
-
* @public
|
203
|
-
* @memberof Meetings
|
204
|
-
*/
|
205
|
-
createNoiseReductionEffect: (options?: INoiseReductionEffect) => Promise<mediaHelpersModule.NoiseReductionEffect>;
|
206
|
-
/**
|
207
|
-
* Creates a virtual background effect
|
208
|
-
*
|
209
|
-
* @param {IVirtualBackgroundEffect} options optional custom effect options
|
210
|
-
* @returns {Promise<effect>} virtual background effect.
|
211
|
-
* @public
|
212
|
-
* @memberof Meetings
|
213
|
-
*/
|
214
|
-
createVirtualBackgroundEffect: (options?: IVirtualBackgroundEffect) => Promise<mediaHelpersModule.VirtualBackgroundEffect>;
|
215
|
-
/**
|
216
|
-
* Uploads logs to the webex services for tracking
|
217
|
-
* @param {Object} [options={}]
|
218
|
-
* @param {String} [options.callStart] Call Start Time
|
219
|
-
* @param {String} [options.feedbackId] ID used for tracking
|
220
|
-
* @param {String} [options.locusId]
|
221
|
-
* @param {String} [options.correlationId]
|
222
|
-
* @param {String} [options.meetingId] webex meeting ID
|
223
|
-
* @param {String} [options.userId] userId
|
224
|
-
* @param {String} [options.orgId] org id
|
225
|
-
* @returns {String} feedback ID logs were submitted under
|
226
|
-
*/
|
227
|
-
uploadLogs(options?: {
|
228
|
-
autoupload?: boolean;
|
229
|
-
callStart?: string;
|
230
|
-
feedbackId?: string;
|
231
|
-
locussessionid?: string;
|
232
|
-
locusId?: string;
|
233
|
-
correlationId?: string;
|
234
|
-
meetingId?: string;
|
235
|
-
userId?: string;
|
236
|
-
orgId?: string;
|
237
|
-
}): any;
|
238
|
-
/**
|
239
|
-
* gets the reachability instance for Meetings
|
240
|
-
* @returns {Reachability}
|
241
|
-
* @public
|
242
|
-
* @memberof Meetings
|
243
|
-
*/
|
244
|
-
getReachability(): Reachability;
|
245
|
-
/**
|
246
|
-
* initializes and starts gathering reachability for Meetings
|
247
|
-
* @returns {Promise}
|
248
|
-
* @public
|
249
|
-
* @memberof Meetings
|
250
|
-
*/
|
251
|
-
startReachability(): Promise<import("../reachability").ReachabilityResults>;
|
252
|
-
/**
|
253
|
-
* Get geoHint for info for meetings
|
254
|
-
* @returns {Promise}
|
255
|
-
* @private
|
256
|
-
* @memberof Meetings
|
257
|
-
*/
|
258
|
-
getGeoHint(): any;
|
259
|
-
/**
|
260
|
-
* Fetch user preferred webex site information
|
261
|
-
* This also has other infomation about the user
|
262
|
-
* @returns {Promise}
|
263
|
-
* @private
|
264
|
-
* @memberof Meetings
|
265
|
-
*/
|
266
|
-
fetchUserPreferredWebexSite(): any;
|
267
|
-
/**
|
268
|
-
* gets the personal meeting room instance, for saved PMR values for this user
|
269
|
-
* @returns {PersonalMeetingRoom}
|
270
|
-
* @public
|
271
|
-
* @memberof Meetings
|
272
|
-
*/
|
273
|
-
getPersonalMeetingRoom(): any;
|
274
|
-
/**
|
275
|
-
* @param {Meeting} meeting
|
276
|
-
* @param {Object} reason
|
277
|
-
* @param {String} type
|
278
|
-
* @returns {Undefined}
|
279
|
-
* @private
|
280
|
-
* @memberof Meetings
|
281
|
-
*/
|
282
|
-
private destroy;
|
283
|
-
/**
|
284
|
-
* Create a meeting or return an existing meeting.
|
285
|
-
*
|
286
|
-
* When meeting info passed it should be complete, e.g.: fetched after password or captcha provided
|
287
|
-
*
|
288
|
-
* @param {string} destination - sipURL, phonenumber, or locus object}
|
289
|
-
* @param {string} [type] - the optional specified type, such as locusId
|
290
|
-
* @param {Boolean} useRandomDelayForInfo - whether a random delay should be added to fetching meeting info
|
291
|
-
* @param {Object} infoExtraParams extra parameters to be provided when fetching meeting info
|
292
|
-
* @param {string} correlationId - the optional specified correlationId (callStateForMetrics.correlationId can be provided instead)
|
293
|
-
* @param {Boolean} failOnMissingMeetingInfo - whether to throw an error if meeting info fails to fetch (for calls that are not 1:1 or content share)
|
294
|
-
* @param {CallStateForMetrics} callStateForMetrics - information about call state for metrics
|
295
|
-
* @param {Object} [meetingInfo] - Pre-fetched complete meeting info
|
296
|
-
* @param {String} [meetingLookupUrl] - meeting info prefetch url
|
297
|
-
* @returns {Promise<Meeting>} A new Meeting.
|
298
|
-
* @public
|
299
|
-
* @memberof Meetings
|
300
|
-
*/
|
301
|
-
create(destination: string, type?: string, useRandomDelayForInfo?: boolean, infoExtraParams?: {}, correlationId?: string, failOnMissingMeetingInfo?: boolean, callStateForMetrics?: CallStateForMetrics, meetingInfo?: any, meetingLookupUrl?: any): any;
|
302
|
-
/**
|
303
|
-
* Create meeting
|
304
|
-
*
|
305
|
-
* When meeting info passed it should be complete, e.g.: fetched after password or captcha provided
|
306
|
-
*
|
307
|
-
* @param {String} destination see create()
|
308
|
-
* @param {String} type see create()
|
309
|
-
* @param {Boolean} useRandomDelayForInfo whether a random delay should be added to fetching meeting info
|
310
|
-
* @param {Object} infoExtraParams extra parameters to be provided when fetching meeting info
|
311
|
-
* @param {CallStateForMetrics} callStateForMetrics - information about call state for metrics
|
312
|
-
* @param {Boolean} failOnMissingMeetingInfo - whether to throw an error if meeting info fails to fetch (for calls that are not 1:1 or content share)
|
313
|
-
* @param {Object} [meetingInfo] - Pre-fetched complete meeting info
|
314
|
-
* @param {String} [meetingLookupUrl] - meeting info prefetch url
|
315
|
-
* @returns {Promise} a new meeting instance complete with meeting info and destination
|
316
|
-
* @private
|
317
|
-
* @memberof Meetings
|
318
|
-
*/
|
319
|
-
private createMeeting;
|
320
|
-
/**
|
321
|
-
* get a specifc meeting given it's type matched to the value, i.e., locus url
|
322
|
-
* @param {String} type
|
323
|
-
* @param {Object} value
|
324
|
-
* @returns {Meeting}
|
325
|
-
* @public
|
326
|
-
* @memberof Meetings
|
327
|
-
*/
|
328
|
-
getMeetingByType(type: string, value: object): any;
|
329
|
-
/**
|
330
|
-
* Get all meetings.
|
331
|
-
* @param {object} options
|
332
|
-
* @param {object} options.startDate - get meetings after this start date
|
333
|
-
* @param {object} options.endDate - get meetings before this end date
|
334
|
-
* @returns {Object} All currently active meetings.
|
335
|
-
* @public
|
336
|
-
* @memberof Meetings
|
337
|
-
*/
|
338
|
-
getAllMeetings(options?: {
|
339
|
-
startDate: object;
|
340
|
-
endDate: object;
|
341
|
-
}): any;
|
342
|
-
/**
|
343
|
-
* Syncs all the meetings from server. Does nothing and returns immediately if unverified guest.
|
344
|
-
* @param {boolean} keepOnlyLocusMeetings - whether the sync should keep only locus meetings or any other meeting in meetingCollection
|
345
|
-
* @returns {Promise<void>}
|
346
|
-
* @public
|
347
|
-
* @memberof Meetings
|
348
|
-
*/
|
349
|
-
syncMeetings({ keepOnlyLocusMeetings }?: {
|
350
|
-
keepOnlyLocusMeetings?: boolean;
|
351
|
-
}): Promise<void>;
|
352
|
-
/**
|
353
|
-
* sort out locus array for initial creating
|
354
|
-
* @param {Array} loci original locus array
|
355
|
-
* @returns {undefined}
|
356
|
-
* @public
|
357
|
-
* @memberof Meetings
|
358
|
-
*/
|
359
|
-
sortLocusArrayToUpdate(loci: any[]): any[];
|
360
|
-
/**
|
361
|
-
* check breakout locus which waiting for main locus's meeting to be created, then handle the breakout locus
|
362
|
-
* @param {Object} newCreatedLocus the locus which just create meeting object of it
|
363
|
-
* @returns {undefined}
|
364
|
-
* @public
|
365
|
-
* @memberof Meetings
|
366
|
-
*/
|
367
|
-
checkHandleBreakoutLocus(newCreatedLocus: any): void;
|
368
|
-
/**
|
369
|
-
* Get all scheduled meetings.
|
370
|
-
* @param {object} options
|
371
|
-
* @param {object} options.startDate - get meetings after this start date
|
372
|
-
* @param {object} options.endDate - get meetings before this end date
|
373
|
-
* @returns {Object} All scheduled meetings.
|
374
|
-
* @memberof Meetings
|
375
|
-
*/
|
376
|
-
getScheduledMeetings(): any;
|
377
|
-
/**
|
378
|
-
* Get the logger instance for plugin-meetings
|
379
|
-
* @returns {Logger}
|
380
|
-
*/
|
381
|
-
getLogger(): any;
|
382
|
-
/**
|
383
|
-
* Returns the first meeting it finds that has the webrtc media connection created.
|
384
|
-
* Useful for debugging in the console.
|
385
|
-
*
|
386
|
-
* @private
|
387
|
-
* @returns {Meeting} Meeting object that has a webrtc media connection, else undefined
|
388
|
-
*/
|
389
|
-
getActiveWebrtcMeeting(): any;
|
390
|
-
}
|
@@ -1,4 +0,0 @@
|
|
1
|
-
import type { NoiseReductionEffectOptions, VirtualBackgroundEffectOptions } from '@webex/media-helpers';
|
2
|
-
type INoiseReductionEffect = Omit<NoiseReductionEffectOptions, 'authToken' | 'workletProcessorUrl' | 'legacyProcessorUrl'>;
|
3
|
-
type IVirtualBackgroundEffect = Omit<VirtualBackgroundEffectOptions, 'authToken'>;
|
4
|
-
export type { INoiseReductionEffect, IVirtualBackgroundEffect };
|