@webex/plugin-meetings 3.8.1 → 3.9.0
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 +1 -1
- package/dist/constants.js +32 -3
- package/dist/constants.js.map +1 -1
- package/dist/controls-options-manager/enums.js +1 -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 +26 -0
- package/dist/controls-options-manager/util.js.map +1 -1
- package/dist/interpretation/index.js +1 -1
- package/dist/interpretation/siLanguage.js +1 -1
- package/dist/locus-info/controlsUtils.js +11 -3
- package/dist/locus-info/controlsUtils.js.map +1 -1
- package/dist/locus-info/index.js +68 -84
- package/dist/locus-info/index.js.map +1 -1
- package/dist/media/index.js +2 -2
- package/dist/media/index.js.map +1 -1
- package/dist/meeting/brbState.js +17 -14
- package/dist/meeting/brbState.js.map +1 -1
- package/dist/meeting/in-meeting-actions.js +11 -1
- package/dist/meeting/in-meeting-actions.js.map +1 -1
- package/dist/meeting/index.js +428 -253
- package/dist/meeting/index.js.map +1 -1
- package/dist/meeting/request.js +19 -0
- package/dist/meeting/request.js.map +1 -1
- package/dist/meeting/request.type.js.map +1 -1
- package/dist/{rtcMetrics/constants.js → meeting/type.js} +1 -5
- package/dist/meeting/type.js.map +1 -0
- package/dist/meeting/util.js +68 -2
- package/dist/meeting/util.js.map +1 -1
- package/dist/meetings/index.js +35 -33
- package/dist/meetings/index.js.map +1 -1
- package/dist/members/index.js +11 -9
- package/dist/members/index.js.map +1 -1
- package/dist/members/request.js +3 -3
- package/dist/members/request.js.map +1 -1
- package/dist/members/util.js +18 -6
- package/dist/members/util.js.map +1 -1
- package/dist/metrics/constants.js +1 -0
- package/dist/metrics/constants.js.map +1 -1
- package/dist/multistream/mediaRequestManager.js +1 -1
- package/dist/multistream/mediaRequestManager.js.map +1 -1
- package/dist/multistream/remoteMedia.js +34 -5
- package/dist/multistream/remoteMedia.js.map +1 -1
- package/dist/multistream/remoteMediaGroup.js +42 -2
- package/dist/multistream/remoteMediaGroup.js.map +1 -1
- package/dist/multistream/sendSlotManager.js +32 -2
- package/dist/multistream/sendSlotManager.js.map +1 -1
- package/dist/reachability/index.js +5 -10
- package/dist/reachability/index.js.map +1 -1
- package/dist/types/constants.d.ts +28 -0
- package/dist/types/controls-options-manager/enums.d.ts +2 -1
- package/dist/types/controls-options-manager/types.d.ts +4 -1
- package/dist/types/locus-info/index.d.ts +0 -9
- package/dist/types/meeting/brbState.d.ts +0 -1
- package/dist/types/meeting/in-meeting-actions.d.ts +10 -0
- package/dist/types/meeting/index.d.ts +47 -19
- package/dist/types/meeting/request.d.ts +9 -1
- package/dist/types/meeting/request.type.d.ts +74 -0
- package/dist/types/meeting/type.d.ts +9 -0
- package/dist/types/meeting/util.d.ts +3 -0
- package/dist/types/members/index.d.ts +10 -7
- package/dist/types/members/request.d.ts +1 -1
- package/dist/types/members/util.d.ts +7 -3
- package/dist/types/metrics/constants.d.ts +1 -0
- package/dist/types/multistream/remoteMedia.d.ts +20 -1
- package/dist/types/multistream/remoteMediaGroup.d.ts +11 -0
- package/dist/types/multistream/sendSlotManager.d.ts +16 -0
- package/dist/types/reachability/index.d.ts +2 -2
- package/dist/webinar/index.js +1 -1
- package/package.json +24 -25
- package/src/constants.ts +32 -2
- package/src/controls-options-manager/enums.ts +1 -0
- package/src/controls-options-manager/types.ts +6 -1
- package/src/controls-options-manager/util.ts +31 -0
- package/src/locus-info/controlsUtils.ts +15 -0
- package/src/locus-info/index.ts +88 -82
- package/src/media/index.ts +2 -2
- package/src/meeting/brbState.ts +13 -9
- package/src/meeting/in-meeting-actions.ts +21 -0
- package/src/meeting/index.ts +254 -71
- package/src/meeting/request.ts +16 -0
- package/src/meeting/request.type.ts +64 -0
- package/src/meeting/type.ts +9 -0
- package/src/meeting/util.ts +73 -2
- package/src/meetings/index.ts +3 -2
- package/src/members/index.ts +13 -10
- package/src/members/request.ts +2 -2
- package/src/members/util.ts +16 -4
- package/src/metrics/constants.ts +1 -0
- package/src/multistream/mediaRequestManager.ts +7 -7
- package/src/multistream/remoteMedia.ts +34 -4
- package/src/multistream/remoteMediaGroup.ts +37 -2
- package/src/multistream/sendSlotManager.ts +34 -2
- package/src/reachability/index.ts +5 -13
- package/test/unit/spec/controls-options-manager/util.js +58 -0
- package/test/unit/spec/locus-info/controlsUtils.js +52 -0
- package/test/unit/spec/locus-info/index.js +218 -82
- package/test/unit/spec/media/index.ts +107 -0
- package/test/unit/spec/meeting/brbState.ts +23 -4
- package/test/unit/spec/meeting/in-meeting-actions.ts +10 -0
- package/test/unit/spec/meeting/index.js +901 -84
- package/test/unit/spec/meeting/request.js +71 -0
- package/test/unit/spec/meeting/utils.js +122 -1
- package/test/unit/spec/meetings/index.js +2 -0
- package/test/unit/spec/members/index.js +68 -9
- package/test/unit/spec/members/request.js +2 -2
- package/test/unit/spec/members/utils.js +27 -7
- package/test/unit/spec/multistream/mediaRequestManager.ts +19 -6
- package/test/unit/spec/multistream/remoteMedia.ts +66 -2
- package/test/unit/spec/multistream/sendSlotManager.ts +59 -0
- package/test/unit/spec/reachability/index.ts +2 -6
- 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.d.ts +0 -60
- package/dist/common/errors/reclaim-host-role-error.js +0 -158
- 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 -35
- 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 -81
- 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 -34
- package/dist/common/queue.d.ts +0 -32
- package/dist/config.d.ts +0 -73
- package/dist/constants.d.ts +0 -952
- package/dist/controls-options-manager/constants.d.ts +0 -4
- package/dist/controls-options-manager/enums.d.ts +0 -5
- package/dist/controls-options-manager/index.d.ts +0 -120
- package/dist/controls-options-manager/types.d.ts +0 -43
- package/dist/controls-options-manager/util.d.ts +0 -7
- package/dist/index.d.ts +0 -4
- 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 -269
- 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 -212
- package/dist/locus-info/selfUtils.d.ts +0 -2
- package/dist/media/index.d.ts +0 -32
- package/dist/media/properties.d.ts +0 -108
- package/dist/media/util.d.ts +0 -2
- package/dist/mediaQualityMetrics/config.d.ts +0 -233
- package/dist/mediaQualityMetrics/config.js +0 -513
- package/dist/mediaQualityMetrics/config.js.map +0 -1
- package/dist/meeting/effectsState.d.ts +0 -42
- package/dist/meeting/effectsState.js +0 -260
- package/dist/meeting/effectsState.js.map +0 -1
- package/dist/meeting/in-meeting-actions.d.ts +0 -79
- package/dist/meeting/index.d.ts +0 -1622
- package/dist/meeting/locusMediaRequest.d.ts +0 -74
- package/dist/meeting/muteState.d.ts +0 -116
- package/dist/meeting/request.d.ts +0 -257
- package/dist/meeting/request.type.d.ts +0 -11
- package/dist/meeting/state.d.ts +0 -9
- package/dist/meeting/util.d.ts +0 -2
- 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 -57
- package/dist/meeting-info/meeting-info-v2.d.ts +0 -93
- 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 -23
- package/dist/meetings/index.d.ts +0 -296
- 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 -148
- package/dist/member/member.types.d.ts +0 -11
- package/dist/member/member.types.js +0 -18
- 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 -24
- package/dist/members/index.d.ts +0 -308
- package/dist/members/request.d.ts +0 -58
- package/dist/members/types.d.ts +0 -25
- package/dist/members/util.d.ts +0 -2
- package/dist/metrics/config.d.ts +0 -169
- package/dist/metrics/config.js +0 -289
- package/dist/metrics/config.js.map +0 -1
- package/dist/metrics/constants.d.ts +0 -59
- package/dist/metrics/index.d.ts +0 -152
- 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 -226
- package/dist/networkQualityMonitor/index.js.map +0 -1
- package/dist/peer-connection-manager/index.d.ts +0 -6
- 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.d.ts +0 -6
- package/dist/peer-connection-manager/util.js +0 -110
- 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 -139
- package/dist/reachability/request.d.ts +0 -35
- 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 -32
- package/dist/reconnection-manager/index.d.ts +0 -112
- package/dist/recording-controller/enums.d.ts +0 -7
- package/dist/recording-controller/index.d.ts +0 -193
- package/dist/recording-controller/util.d.ts +0 -13
- package/dist/roap/collection.d.ts +0 -10
- package/dist/roap/collection.js +0 -63
- package/dist/roap/collection.js.map +0 -1
- package/dist/roap/handler.d.ts +0 -47
- package/dist/roap/handler.js +0 -279
- package/dist/roap/handler.js.map +0 -1
- package/dist/roap/index.d.ts +0 -116
- package/dist/roap/request.d.ts +0 -35
- package/dist/roap/state.d.ts +0 -9
- package/dist/roap/state.js +0 -127
- package/dist/roap/state.js.map +0 -1
- package/dist/roap/turnDiscovery.d.ts +0 -81
- package/dist/roap/util.d.ts +0 -2
- package/dist/roap/util.js +0 -76
- package/dist/roap/util.js.map +0 -1
- package/dist/rtcMetrics/constants.d.ts +0 -4
- 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 -118
- package/dist/statsAnalyzer/global.js +0 -127
- package/dist/statsAnalyzer/global.js.map +0 -1
- package/dist/statsAnalyzer/index.d.ts +0 -193
- package/dist/statsAnalyzer/index.js +0 -1019
- package/dist/statsAnalyzer/index.js.map +0 -1
- package/dist/statsAnalyzer/mqaUtil.d.ts +0 -22
- package/dist/statsAnalyzer/mqaUtil.js +0 -181
- 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,120 +0,0 @@
|
|
1
|
-
import MeetingRequest from '../meeting/request';
|
2
|
-
/**
|
3
|
-
* docs
|
4
|
-
* https://sqbu-github.cisco.com/pages/WebExSquared/locus/guides/mute.html
|
5
|
-
* https://confluence-eng-gpk2.cisco.com/conf/display/LOCUS/Hard+Mute+and+Audio+Privacy#HardMuteandAudioPrivacy-SelfMuteonEntry
|
6
|
-
* https://confluence-eng-gpk2.cisco.com/conf/pages/viewpage.action?spaceKey=UC&title=WEBEX-124454%3A+UCF%3A+Hard+mute+support+for+Teams+joining+Webex+meeting
|
7
|
-
* https://jira-eng-gpk2.cisco.com/jira/browse/SPARK-180867
|
8
|
-
* https://jira-eng-gpk2.cisco.com/jira/browse/SPARK-393351
|
9
|
-
*/
|
10
|
-
/**
|
11
|
-
* @description ControlsOptionsManager is responsible for handling the behavior of participant controls when somebody joins a meeting
|
12
|
-
* @export
|
13
|
-
* @private
|
14
|
-
* @class Recording
|
15
|
-
*/
|
16
|
-
export default class ControlsOptionsManager {
|
17
|
-
/**
|
18
|
-
* @instance
|
19
|
-
* @type {MeetingRequest}
|
20
|
-
* @private
|
21
|
-
* @memberof ControlsOptionsManager
|
22
|
-
*/
|
23
|
-
private request;
|
24
|
-
/**
|
25
|
-
* @instance
|
26
|
-
* @type {Array}
|
27
|
-
* @private
|
28
|
-
* @memberof ControlsOptionsManager
|
29
|
-
*/
|
30
|
-
private displayHints;
|
31
|
-
/**
|
32
|
-
* @instance
|
33
|
-
* @type {string}
|
34
|
-
* @private
|
35
|
-
* @memberof ControlsOptionsManager
|
36
|
-
*/
|
37
|
-
private locusUrl;
|
38
|
-
/**
|
39
|
-
* @param {MeetingRequest} request
|
40
|
-
* @param {Object} options
|
41
|
-
* @constructor
|
42
|
-
* @memberof ControlsOptionsManager
|
43
|
-
*/
|
44
|
-
constructor(request: MeetingRequest, options?: {
|
45
|
-
locusUrl: string;
|
46
|
-
displayHints?: Array<string>;
|
47
|
-
});
|
48
|
-
/**
|
49
|
-
* @param {MeetingRequest} request
|
50
|
-
* @returns {void}
|
51
|
-
* @private
|
52
|
-
* @memberof ControlsOptionsManager
|
53
|
-
*/
|
54
|
-
private initialize;
|
55
|
-
/**
|
56
|
-
* @param {Object} options
|
57
|
-
* @returns {void}
|
58
|
-
* @public
|
59
|
-
* @memberof ControlsOptionsManager
|
60
|
-
*/
|
61
|
-
set(options?: {
|
62
|
-
locusUrl: string;
|
63
|
-
displayHints?: Array<string>;
|
64
|
-
}): void;
|
65
|
-
/**
|
66
|
-
* @param {string} url
|
67
|
-
* @returns {void}
|
68
|
-
* @public
|
69
|
-
* @memberof ControlsOptionsManager
|
70
|
-
*/
|
71
|
-
setLocusUrl(url: string): void;
|
72
|
-
/**
|
73
|
-
* @param {Array} hints
|
74
|
-
* @returns {void}
|
75
|
-
* @public
|
76
|
-
* @memberof ControlsOptionsManager
|
77
|
-
*/
|
78
|
-
setDisplayHints(hints: Array<string>): void;
|
79
|
-
/**
|
80
|
-
* @returns {string}
|
81
|
-
* @public
|
82
|
-
* @memberof ControlsOptionsManager
|
83
|
-
*/
|
84
|
-
getLocusUrl(): string;
|
85
|
-
/**
|
86
|
-
* @returns {Array}
|
87
|
-
* @public
|
88
|
-
* @memberof ControlsOptionsManager
|
89
|
-
*/
|
90
|
-
getDisplayHints(): string[];
|
91
|
-
/**
|
92
|
-
* @param {Object} options
|
93
|
-
* @returns {void}
|
94
|
-
* @private
|
95
|
-
* @memberof ControlsOptionsManager
|
96
|
-
*/
|
97
|
-
private extract;
|
98
|
-
/**
|
99
|
-
* @param {Setting} setting
|
100
|
-
* @param {boolean} enabled
|
101
|
-
* @private
|
102
|
-
* @memberof ControlsOptionsManager
|
103
|
-
* @returns {Promise}
|
104
|
-
*/
|
105
|
-
private setControls;
|
106
|
-
/**
|
107
|
-
* @public
|
108
|
-
* @param {boolean} enabled
|
109
|
-
* @memberof ControlsOptionsManager
|
110
|
-
* @returns {Promise}
|
111
|
-
*/
|
112
|
-
setMuteOnEntry(enabled: boolean): Promise<any>;
|
113
|
-
/**
|
114
|
-
* @public
|
115
|
-
* @param {boolean} enabled
|
116
|
-
* @memberof ControlsOptionsManager
|
117
|
-
* @returns {Promise}
|
118
|
-
*/
|
119
|
-
setDisallowUnmute(enabled: boolean): Promise<any>;
|
120
|
-
}
|
@@ -1,43 +0,0 @@
|
|
1
|
-
import { Control } from './enums';
|
2
|
-
export interface ControlProperties {
|
3
|
-
/**
|
4
|
-
* A list of additional properties that apply to various specific settings.
|
5
|
-
*
|
6
|
-
* @remarks
|
7
|
-
* The values stored here, per the service, are fully ambiguous, an can vary
|
8
|
-
* depending on which control scope is being configured.
|
9
|
-
*/
|
10
|
-
[key: string]: boolean;
|
11
|
-
}
|
12
|
-
export interface AudioProperties {
|
13
|
-
muted?: boolean;
|
14
|
-
disallowUnmute?: boolean;
|
15
|
-
muteOnEntry?: boolean;
|
16
|
-
}
|
17
|
-
export interface RaiseHandProperties {
|
18
|
-
enabled?: boolean;
|
19
|
-
}
|
20
|
-
export interface ReactionsProperties {
|
21
|
-
enabled?: boolean;
|
22
|
-
showDisplayNameWithReactions?: boolean;
|
23
|
-
}
|
24
|
-
export interface ShareControlProperties {
|
25
|
-
control?: 'ANYONE' | 'MODERATOR_PRESENTER';
|
26
|
-
}
|
27
|
-
export interface VideoProperties {
|
28
|
-
enabled?: boolean;
|
29
|
-
}
|
30
|
-
export interface ViewTheParticipantListProperties {
|
31
|
-
enabled?: boolean;
|
32
|
-
}
|
33
|
-
export type Properties = AudioProperties | RaiseHandProperties | ReactionsProperties | ShareControlProperties | VideoProperties | ViewTheParticipantListProperties;
|
34
|
-
export interface ControlConfig<Props = Properties> {
|
35
|
-
/**
|
36
|
-
* The scope of the control within this object.
|
37
|
-
*/
|
38
|
-
scope: Control;
|
39
|
-
/**
|
40
|
-
* The properties to assign to this control.
|
41
|
-
*/
|
42
|
-
properties: Props;
|
43
|
-
}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
declare const _default: {
|
2
|
-
canSetMuteOnEntry: (displayHints: string[]) => boolean;
|
3
|
-
canSetDisallowUnmute: (displayHints: string[]) => boolean;
|
4
|
-
canUnsetMuteOnEntry: (displayHints: string[]) => boolean;
|
5
|
-
canUnsetDisallowUnmute: (displayHints: string[]) => boolean;
|
6
|
-
};
|
7
|
-
export default _default;
|
package/dist/index.d.ts
DELETED
@@ -1,27 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright (c) 2015-2020 Cisco Systems, Inc. See LICENSE file.
|
3
|
-
*/
|
4
|
-
import { Interceptor } from '@webex/http-core';
|
5
|
-
/**
|
6
|
-
* @class
|
7
|
-
*/
|
8
|
-
export default class LocusRetryStatusInterceptor extends Interceptor {
|
9
|
-
/**
|
10
|
-
* @returns {LocusRetryStatusInterceptor}
|
11
|
-
*/
|
12
|
-
static create(): LocusRetryStatusInterceptor;
|
13
|
-
/**
|
14
|
-
* Handle response errors
|
15
|
-
* @param {Object} options
|
16
|
-
* @param {WebexHttpError} reason
|
17
|
-
* @returns {Promise<WebexHttpError>}
|
18
|
-
*/
|
19
|
-
onResponseError(options: any, reason: any): Promise<unknown>;
|
20
|
-
/**
|
21
|
-
* Handle retries for locus service unavailable errors
|
22
|
-
* @param {Object} options associated with the request
|
23
|
-
* @param {number} retryAfterTime retry after time in milliseconds
|
24
|
-
* @returns {Promise}
|
25
|
-
*/
|
26
|
-
handleRetryRequestLocusServiceError(options: any, retryAfterTime: any): Promise<unknown>;
|
27
|
-
}
|
@@ -1,269 +0,0 @@
|
|
1
|
-
import EventsScope from '../common/events/events-scope';
|
2
|
-
/**
|
3
|
-
* @description LocusInfo extends ChildEmitter to convert locusInfo info a private emitter to parent object
|
4
|
-
* @export
|
5
|
-
* @private
|
6
|
-
* @class LocusInfo
|
7
|
-
*/
|
8
|
-
export default class LocusInfo extends EventsScope {
|
9
|
-
compareAndUpdateFlags: any;
|
10
|
-
emitChange: any;
|
11
|
-
locusParser: any;
|
12
|
-
meetingId: any;
|
13
|
-
parsedLocus: any;
|
14
|
-
updateMeeting: any;
|
15
|
-
webex: any;
|
16
|
-
aclUrl: any;
|
17
|
-
baseSequence: any;
|
18
|
-
created: any;
|
19
|
-
deltaParticipants: any;
|
20
|
-
identities: any;
|
21
|
-
membership: any;
|
22
|
-
participants: any;
|
23
|
-
participantsUrl: any;
|
24
|
-
replaces: any;
|
25
|
-
scheduledMeeting: any;
|
26
|
-
sequence: any;
|
27
|
-
controls: any;
|
28
|
-
conversationUrl: any;
|
29
|
-
embeddedApps: any;
|
30
|
-
fullState: any;
|
31
|
-
host: any;
|
32
|
-
info: any;
|
33
|
-
mediaShares: any;
|
34
|
-
replace: any;
|
35
|
-
url: any;
|
36
|
-
services: any;
|
37
|
-
constructor(updateMeeting: any, webex: any, meetingId: any);
|
38
|
-
/**
|
39
|
-
* Apply locus delta data to meeting
|
40
|
-
* @param {string} action Locus delta action
|
41
|
-
* @param {Locus} locus
|
42
|
-
* @param {Meeting} meeting
|
43
|
-
* @returns {undefined}
|
44
|
-
*/
|
45
|
-
applyLocusDeltaData(action: string, locus: any, meeting: any): void;
|
46
|
-
/**
|
47
|
-
* Adds locus delta to parser's queue
|
48
|
-
* and registers a function handler
|
49
|
-
* to recieve parsed actions from queue.
|
50
|
-
* @param {Locus} locus
|
51
|
-
* @param {Meeting} meeting
|
52
|
-
* @returns {undefined}
|
53
|
-
*/
|
54
|
-
handleLocusDelta(locus: any, meeting: any): void;
|
55
|
-
/**
|
56
|
-
* @param {Locus} locus
|
57
|
-
* @returns {undefined}
|
58
|
-
* @memberof LocusInfo
|
59
|
-
*/
|
60
|
-
init(locus?: any): void;
|
61
|
-
/**
|
62
|
-
* @param {Object} locus
|
63
|
-
* @returns {undefined}
|
64
|
-
* @memberof LocusInfo
|
65
|
-
*/
|
66
|
-
initialSetup(locus: object): void;
|
67
|
-
/**
|
68
|
-
* @param {Meeting} meeting
|
69
|
-
* @param {Object} data
|
70
|
-
* @returns {undefined}
|
71
|
-
* @memberof LocusInfo
|
72
|
-
*/
|
73
|
-
parse(meeting: any, data: any): void;
|
74
|
-
/**
|
75
|
-
* @param {String} scope
|
76
|
-
* @param {String} eventName
|
77
|
-
* @param {Array} args
|
78
|
-
* @returns {undefined}
|
79
|
-
* @memberof LocusInfo
|
80
|
-
*/
|
81
|
-
emitScoped(scope?: any, eventName?: string, args?: any): boolean;
|
82
|
-
/**
|
83
|
-
* updates the locus with full locus object
|
84
|
-
* @param {object} locus locus object
|
85
|
-
* @param {string} eventType particulat locus event
|
86
|
-
* @returns {object} null
|
87
|
-
* @memberof LocusInfo
|
88
|
-
*/
|
89
|
-
onFullLocus(locus: any, eventType?: string): void;
|
90
|
-
/**
|
91
|
-
* @param {String} eventType
|
92
|
-
* @returns {undefined}
|
93
|
-
* @memberof LocusInfo
|
94
|
-
*/
|
95
|
-
handleOneOnOneEvent(eventType: string): void;
|
96
|
-
/**
|
97
|
-
* @param {Object} locus
|
98
|
-
* @returns {undefined}
|
99
|
-
* @memberof LocusInfo
|
100
|
-
*/
|
101
|
-
onDeltaLocus(locus: any): void;
|
102
|
-
/**
|
103
|
-
* @param {Object} locus
|
104
|
-
* @returns {undefined}
|
105
|
-
* @memberof LocusInfo
|
106
|
-
*/
|
107
|
-
updateLocusInfo(locus: any): void;
|
108
|
-
/**
|
109
|
-
* @param {Array} participants
|
110
|
-
* @param {Object} self
|
111
|
-
* @returns {Array}
|
112
|
-
* @memberof LocusInfo
|
113
|
-
*/
|
114
|
-
getLocusPartner(participants: Array<any>, self: any): any;
|
115
|
-
/**
|
116
|
-
* @returns {undefined}
|
117
|
-
* @memberof LocusInfo
|
118
|
-
*/
|
119
|
-
isMeetingActive(): void;
|
120
|
-
/**
|
121
|
-
* checks if the host permissions have changed while in the meeting
|
122
|
-
* This would be the case if your role as host or moderator has been updated
|
123
|
-
* @returns {undefined}
|
124
|
-
* @memberof LocusInfo
|
125
|
-
*/
|
126
|
-
compareAndUpdate(): void;
|
127
|
-
/**
|
128
|
-
* compared the self object to check if the user has host permissions
|
129
|
-
* @returns {undefined}
|
130
|
-
* @memberof LocusInfo
|
131
|
-
*/
|
132
|
-
compareSelfAndHost(): void;
|
133
|
-
/**
|
134
|
-
* Update the deltaParticipants property of this object based on a list of
|
135
|
-
* provided participants.
|
136
|
-
*
|
137
|
-
* @param {Array} [participants] - The participants to update against.
|
138
|
-
* @returns {void}
|
139
|
-
*/
|
140
|
-
updateParticipantDeltas(participants?: Array<any>): void;
|
141
|
-
/**
|
142
|
-
*
|
143
|
-
* @param {Object} participants new participants object
|
144
|
-
* @param {boolen} deltaParticpantFlag delta event
|
145
|
-
* @returns {Array} updatedParticipants
|
146
|
-
* @memberof LocusInfo
|
147
|
-
*/
|
148
|
-
updateParticipants(participants: object): void;
|
149
|
-
/**
|
150
|
-
* @param {Object} controls
|
151
|
-
* @returns {undefined}
|
152
|
-
* @memberof LocusInfo
|
153
|
-
*/
|
154
|
-
updateControls(controls: object): void;
|
155
|
-
/**
|
156
|
-
* @param {String} conversationUrl
|
157
|
-
* @param {Object} info
|
158
|
-
* @returns {undefined}
|
159
|
-
* @memberof LocusInfo
|
160
|
-
*/
|
161
|
-
updateConversationUrl(conversationUrl: string, info: any): void;
|
162
|
-
/**
|
163
|
-
* @param {Object} created
|
164
|
-
* @returns {undefined}
|
165
|
-
* @memberof LocusInfo
|
166
|
-
*/
|
167
|
-
updateCreated(created: object): void;
|
168
|
-
/**
|
169
|
-
* @param {Object} services
|
170
|
-
* @returns {undefined}
|
171
|
-
* @memberof LocusInfo
|
172
|
-
*/
|
173
|
-
updateServices(services: Record<'breakout' | 'record', {
|
174
|
-
url: string;
|
175
|
-
}>): void;
|
176
|
-
/**
|
177
|
-
* @param {Object} fullState
|
178
|
-
* @returns {undefined}
|
179
|
-
* @memberof LocusInfo
|
180
|
-
*/
|
181
|
-
updateFullState(fullState: object): void;
|
182
|
-
/**
|
183
|
-
* handles when the locus.host is updated
|
184
|
-
* @param {Object} host the locus.host property
|
185
|
-
* @returns {undefined}
|
186
|
-
* @memberof LocusInfo
|
187
|
-
* emits internal event locus_info_update_host
|
188
|
-
*/
|
189
|
-
updateHostInfo(host: object): void;
|
190
|
-
/**
|
191
|
-
* @param {Object} info
|
192
|
-
* @param {Object} self
|
193
|
-
* @returns {undefined}
|
194
|
-
* @memberof LocusInfo
|
195
|
-
*/
|
196
|
-
updateMeetingInfo(info: object, self?: object): void;
|
197
|
-
/**
|
198
|
-
* @param {Object} embeddedApps
|
199
|
-
* @returns {undefined}
|
200
|
-
* @memberof LocusInfo
|
201
|
-
*/
|
202
|
-
updateEmbeddedApps(embeddedApps: object): void;
|
203
|
-
/**
|
204
|
-
* handles when the locus.mediaShares is updated
|
205
|
-
* @param {Object} mediaShares the locus.mediaShares property
|
206
|
-
* @returns {undefined}
|
207
|
-
* @memberof LocusInfo
|
208
|
-
* emits internal event locus_info_update_media_shares
|
209
|
-
*/
|
210
|
-
updateMediaShares(mediaShares: object): void;
|
211
|
-
/**
|
212
|
-
* @param {String} participantsUrl
|
213
|
-
* @returns {undefined}
|
214
|
-
* @memberof LocusInfo
|
215
|
-
*/
|
216
|
-
updateParticipantsUrl(participantsUrl: string): void;
|
217
|
-
/**
|
218
|
-
* @param {Object} replace
|
219
|
-
* @returns {undefined}
|
220
|
-
* @memberof LocusInfo
|
221
|
-
*/
|
222
|
-
updateReplace(replace: object): void;
|
223
|
-
/**
|
224
|
-
* handles when the locus.self is updated
|
225
|
-
* @param {Object} self the locus.mediaShares property
|
226
|
-
* @param {Array} participants the locus.participants property
|
227
|
-
* @returns {undefined}
|
228
|
-
* @memberof LocusInfo
|
229
|
-
* emits internal events self_admitted_guest, self_unadmitted_guest, locus_info_update_self
|
230
|
-
*/
|
231
|
-
updateSelf(self: any, participants: Array<any>): void;
|
232
|
-
/**
|
233
|
-
* handles when the locus.url is updated
|
234
|
-
* @param {String} url
|
235
|
-
* @returns {undefined}
|
236
|
-
* emits internal event locus_info_update_url
|
237
|
-
*/
|
238
|
-
updateLocusUrl(url: string): void;
|
239
|
-
/**
|
240
|
-
* @param {String} aclUrl
|
241
|
-
* @returns {undefined}
|
242
|
-
* @memberof LocusInfo
|
243
|
-
*/
|
244
|
-
updateAclUrl(aclUrl: string): void;
|
245
|
-
/**
|
246
|
-
* @param {Number} baseSequence
|
247
|
-
* @returns {undefined}
|
248
|
-
* @memberof LocusInfo
|
249
|
-
*/
|
250
|
-
updateBasequence(baseSequence: number): void;
|
251
|
-
/**
|
252
|
-
* @param {Number} sequence
|
253
|
-
* @returns {undefined}
|
254
|
-
* @memberof LocusInfo
|
255
|
-
*/
|
256
|
-
updateSequence(sequence: number): void;
|
257
|
-
/**
|
258
|
-
* @param {Object} membership
|
259
|
-
* @returns {undefined}
|
260
|
-
* @memberof LocusInfo
|
261
|
-
*/
|
262
|
-
updateMemberShip(membership: object): void;
|
263
|
-
/**
|
264
|
-
* @param {Array} identities
|
265
|
-
* @returns {undefined}
|
266
|
-
* @memberof LocusInfo
|
267
|
-
*/
|
268
|
-
updateIdentifiers(identities: Array<any>): void;
|
269
|
-
}
|