@webex/plugin-meetings 2.59.7 → 2.59.8-next.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/common/browser-detection.js +2 -2
- package/dist/common/browser-detection.js.map +1 -1
- package/dist/common/collection.js +2 -2
- package/dist/common/collection.js.map +1 -1
- package/dist/config.js +2 -2
- package/dist/config.js.map +1 -1
- package/dist/constants.js +0 -2
- package/dist/constants.js.map +1 -1
- package/dist/controls-options-manager/index.js +2 -2
- package/dist/controls-options-manager/index.js.map +1 -1
- package/dist/locus-info/controlsUtils.js +6 -6
- package/dist/locus-info/controlsUtils.js.map +1 -1
- package/dist/locus-info/index.js +18 -18
- package/dist/locus-info/index.js.map +1 -1
- package/dist/locus-info/parser.js +2 -2
- package/dist/locus-info/parser.js.map +1 -1
- package/dist/meeting/index.js +28 -51
- package/dist/meeting/index.js.map +1 -1
- package/dist/meeting/request.js +2 -2
- package/dist/meeting/request.js.map +1 -1
- package/dist/meeting/util.js +4 -4
- package/dist/meeting/util.js.map +1 -1
- package/dist/meeting-info/collection.js +2 -2
- package/dist/meeting-info/collection.js.map +1 -1
- package/dist/meetings/collection.js +2 -2
- package/dist/meetings/collection.js.map +1 -1
- package/dist/members/index.js +2 -2
- package/dist/members/index.js.map +1 -1
- package/dist/metrics/constants.js +0 -2
- package/dist/metrics/constants.js.map +1 -1
- package/dist/metrics/index.js +2 -2
- package/dist/metrics/index.js.map +1 -1
- package/dist/reachability/index.js +9 -2
- package/dist/reachability/index.js.map +1 -1
- package/dist/roap/index.js +12 -13
- package/dist/roap/index.js.map +1 -1
- package/dist/roap/turnDiscovery.js +44 -130
- package/dist/roap/turnDiscovery.js.map +1 -1
- package/dist/statsAnalyzer/global.js +12 -4
- package/dist/statsAnalyzer/global.js.map +1 -1
- package/dist/statsAnalyzer/index.js +14 -56
- package/dist/statsAnalyzer/index.js.map +1 -1
- package/dist/statsAnalyzer/mqaUtil.js +15 -15
- package/dist/statsAnalyzer/mqaUtil.js.map +1 -1
- package/package.json +22 -21
- package/src/config.ts +2 -2
- package/src/constants.ts +0 -2
- package/src/meeting/index.ts +0 -35
- package/src/metrics/constants.ts +0 -2
- package/src/roap/index.ts +10 -14
- package/src/roap/turnDiscovery.ts +20 -48
- package/src/statsAnalyzer/global.ts +10 -2
- package/src/statsAnalyzer/index.ts +17 -80
- package/test/unit/spec/meeting/index.js +6 -77
- package/test/unit/spec/roap/index.ts +80 -84
- package/test/unit/spec/roap/turnDiscovery.ts +0 -21
- package/test/unit/spec/stats-analyzer/index.js +0 -151
- 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/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/reconnection-in-progress.d.ts +0 -9
- 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 -926
- 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/util.d.ts +0 -7
- package/dist/index.d.ts +0 -4
- 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/meeting/effectsState.d.ts +0 -42
- package/dist/meeting/in-meeting-actions.d.ts +0 -79
- package/dist/meeting/index.d.ts +0 -1622
- package/dist/meeting/muteState.d.ts +0 -116
- package/dist/meeting/request.d.ts +0 -255
- package/dist/meeting/state.d.ts +0 -9
- package/dist/meeting/util.d.ts +0 -2
- 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/request.d.ts +0 -27
- package/dist/meetings/util.d.ts +0 -18
- package/dist/member/index.d.ts +0 -147
- package/dist/member/member.types.d.ts +0 -11
- package/dist/member/util.d.ts +0 -2
- package/dist/members/collection.d.ts +0 -24
- package/dist/members/index.d.ts +0 -298
- package/dist/members/request.d.ts +0 -50
- package/dist/members/util.d.ts +0 -2
- package/dist/metrics/config.d.ts +0 -169
- package/dist/metrics/constants.d.ts +0 -59
- package/dist/metrics/index.d.ts +0 -152
- package/dist/networkQualityMonitor/index.d.ts +0 -70
- package/dist/peer-connection-manager/index.d.ts +0 -6
- package/dist/peer-connection-manager/util.d.ts +0 -6
- 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/index.d.ts +0 -139
- package/dist/reachability/request.d.ts +0 -35
- 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/handler.d.ts +0 -47
- 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/turnDiscovery.d.ts +0 -81
- package/dist/roap/util.d.ts +0 -2
- package/dist/statsAnalyzer/global.d.ts +0 -118
- package/dist/statsAnalyzer/index.d.ts +0 -193
- package/dist/statsAnalyzer/mqaUtil.d.ts +0 -22
- package/dist/transcription/index.d.ts +0 -64
|
@@ -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,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,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
|
-
}
|
|
@@ -1,212 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Locus Delta Parser
|
|
3
|
-
* @private
|
|
4
|
-
* https://sqbu-github.cisco.com/WebExSquared/cloud-apps/wiki/Locus-Delta-Events
|
|
5
|
-
*/
|
|
6
|
-
export default class Parser {
|
|
7
|
-
static status: {
|
|
8
|
-
IDLE: string;
|
|
9
|
-
PAUSED: string;
|
|
10
|
-
WORKING: string;
|
|
11
|
-
};
|
|
12
|
-
static loci: {
|
|
13
|
-
EQ: string;
|
|
14
|
-
GT: string;
|
|
15
|
-
LT: string;
|
|
16
|
-
DESYNC: string;
|
|
17
|
-
USE_INCOMING: string;
|
|
18
|
-
USE_CURRENT: string;
|
|
19
|
-
ERROR: string;
|
|
20
|
-
};
|
|
21
|
-
queue: any;
|
|
22
|
-
workingCopy: any;
|
|
23
|
-
/**
|
|
24
|
-
* @constructs Parser
|
|
25
|
-
*/
|
|
26
|
-
constructor();
|
|
27
|
-
/**
|
|
28
|
-
* Checks if two sequences overlap in time,
|
|
29
|
-
* the sequence with the higher minimum value is greater.
|
|
30
|
-
* Chooses sequence with most recent data.
|
|
31
|
-
* @param {Types~Locus} current
|
|
32
|
-
* @param {Types~Locus} incoming
|
|
33
|
-
* @returns {string} loci comparison state
|
|
34
|
-
*/
|
|
35
|
-
static checkSequenceOverlap(current: any, incoming: any): any;
|
|
36
|
-
/**
|
|
37
|
-
* Checks if two sequences have unequal ranges.
|
|
38
|
-
* Chooses sequence with most larger range.
|
|
39
|
-
* @param {Types~Locus} current
|
|
40
|
-
* @param {Types~Locus} incoming
|
|
41
|
-
* @returns {object} loci comparison
|
|
42
|
-
*/
|
|
43
|
-
static checkUnequalRanges(current: any, incoming: any): any;
|
|
44
|
-
/**
|
|
45
|
-
* Checks if either sequences has unique entries.
|
|
46
|
-
* Entries are considered unique if they do not overlap
|
|
47
|
-
* with other Loci sequences or range values.
|
|
48
|
-
* Chooses sequence with the unique entries.
|
|
49
|
-
* @param {Types~Locus} current
|
|
50
|
-
* @param {Types~Locus} incoming
|
|
51
|
-
* @returns {string} loci comparison state
|
|
52
|
-
*/
|
|
53
|
-
static checkForUniqueEntries(current: any, incoming: any): any;
|
|
54
|
-
/**
|
|
55
|
-
* Checks both Locus Delta objects to see if they are
|
|
56
|
-
* out of sync with one another. If so sends a DESYNC
|
|
57
|
-
* request to the server.
|
|
58
|
-
* @param {Types~Locus} current
|
|
59
|
-
* @param {Types~Locus} incoming
|
|
60
|
-
* @returns {string} loci comparison state
|
|
61
|
-
*/
|
|
62
|
-
static checkIfOutOfSync(current: any, incoming: any): any;
|
|
63
|
-
/**
|
|
64
|
-
* Compares two loci to determine which one contains the most recent state
|
|
65
|
-
* @instance
|
|
66
|
-
* @memberof Locus
|
|
67
|
-
* @param {Types~Locus} current
|
|
68
|
-
* @param {Types~Locus} incoming
|
|
69
|
-
* @returns {string} loci comparison state
|
|
70
|
-
*/
|
|
71
|
-
static compare(current: any, incoming: any): string;
|
|
72
|
-
/**
|
|
73
|
-
* Compares two loci sequences (with delta params) and indicates what action
|
|
74
|
-
* to take.
|
|
75
|
-
* @instance
|
|
76
|
-
* @memberof Locus
|
|
77
|
-
* @param {Types~Locus} current
|
|
78
|
-
* @param {Types~Locus} incoming
|
|
79
|
-
* @private
|
|
80
|
-
* @returns {string} loci comparison state
|
|
81
|
-
*/
|
|
82
|
-
private static compareDelta;
|
|
83
|
-
/**
|
|
84
|
-
* Compares Locus sequences
|
|
85
|
-
* @param {Types~Locus} current Current working copy
|
|
86
|
-
* @param {Types~Locus} incoming New Locus delta
|
|
87
|
-
* @returns {string}
|
|
88
|
-
*/
|
|
89
|
-
static compareSequence(current: any, incoming: any): any;
|
|
90
|
-
/**
|
|
91
|
-
* Transates the result of a sequence comparison into an intended behavior
|
|
92
|
-
* @param {string} result
|
|
93
|
-
* @returns {string} Locus comparison action
|
|
94
|
-
*/
|
|
95
|
-
static compareToAction(result: string): string;
|
|
96
|
-
/**
|
|
97
|
-
* Extracts a loci comparison from a string of data.
|
|
98
|
-
* @param {string} lociComparisonResult Comparison result with extra data
|
|
99
|
-
* @returns {string} Comparison of EQ, LT, GT, or DESYNC.
|
|
100
|
-
*/
|
|
101
|
-
static extractComparisonState(lociComparisonResult: string): string;
|
|
102
|
-
/**
|
|
103
|
-
* @typedef {object} LociMetadata
|
|
104
|
-
* @property {number} start - Starting sequence number
|
|
105
|
-
* @property {number} end - Ending sequence number
|
|
106
|
-
* @property {number} first - First sequence number
|
|
107
|
-
* @property {number} last - Last sequence number
|
|
108
|
-
* @property {number} min - Minimum sequence number
|
|
109
|
-
* @property {number} max - Maximum sequence number
|
|
110
|
-
* @property {number} entries - Loci sequence entries
|
|
111
|
-
*/
|
|
112
|
-
/**
|
|
113
|
-
* Metadata for Locus delta
|
|
114
|
-
* @param {Array.<number>} sequence Locus delta sequence
|
|
115
|
-
* @returns {LociMetadata} Locus Delta Metadata
|
|
116
|
-
*/
|
|
117
|
-
static getMetaData(sequence: any): {
|
|
118
|
-
start: any;
|
|
119
|
-
end: any;
|
|
120
|
-
first: any;
|
|
121
|
-
last: any;
|
|
122
|
-
min: any;
|
|
123
|
-
max: any;
|
|
124
|
-
entries: any;
|
|
125
|
-
};
|
|
126
|
-
/**
|
|
127
|
-
* Compares two Locus delta objects and notes unique
|
|
128
|
-
* values contained within baseLoci.
|
|
129
|
-
* @param {LociMetadata} baseLoci
|
|
130
|
-
* @param {LociMetadata} otherLoci
|
|
131
|
-
* @returns {Array.<number>} List of unique sequences
|
|
132
|
-
*/
|
|
133
|
-
static getUniqueSequences(baseLoci: any, otherLoci: any): number[];
|
|
134
|
-
/**
|
|
135
|
-
* Returns an array of numbers outside of a given range.
|
|
136
|
-
* @param {Array.<number>} list Array to filter
|
|
137
|
-
* @param {number} rangeStart Start of range
|
|
138
|
-
* @param {number} rangeEnd End of range
|
|
139
|
-
* @returns {Array.<number>} Array of numbers sorted ASC
|
|
140
|
-
*/
|
|
141
|
-
static getNumbersOutOfRange(list: Array<number>, rangeStart: number, rangeEnd: number): number[];
|
|
142
|
-
/**
|
|
143
|
-
* Checks if newLoci or workingCopy is invalid.
|
|
144
|
-
* @param {Types~Locus} newLoci
|
|
145
|
-
* @returns {boolean}
|
|
146
|
-
*/
|
|
147
|
-
isValidLocus(newLoci: any): boolean;
|
|
148
|
-
/**
|
|
149
|
-
* Determines if a paricular locus's sequence is empty
|
|
150
|
-
* @param {Types~Locus} locus
|
|
151
|
-
* @returns {bool}
|
|
152
|
-
*/
|
|
153
|
-
static isSequenceEmpty(locus: any): boolean;
|
|
154
|
-
/**
|
|
155
|
-
* Determines if an object has basic
|
|
156
|
-
* structure of a locus object.
|
|
157
|
-
* @param {Types~Locus} loci
|
|
158
|
-
* @returns {boolean}
|
|
159
|
-
*/
|
|
160
|
-
static isLoci(loci: any): boolean;
|
|
161
|
-
/**
|
|
162
|
-
* Processes next event in queue,
|
|
163
|
-
* if queue is empty sets status to idle.
|
|
164
|
-
* @returns {undefined}
|
|
165
|
-
*/
|
|
166
|
-
nextEvent(): void;
|
|
167
|
-
/**
|
|
168
|
-
* Function handler for delta actions,
|
|
169
|
-
* is set by instance callee.
|
|
170
|
-
* @param {string} action Locus delta action
|
|
171
|
-
* @param {Types~Locus} locus Locus delta
|
|
172
|
-
* @returns {undefined}
|
|
173
|
-
*/
|
|
174
|
-
onDeltaAction(action: string, locus: any): void;
|
|
175
|
-
/**
|
|
176
|
-
* Event handler for locus delta events
|
|
177
|
-
* @param {Types~Locus} loci Locus Delta
|
|
178
|
-
* @returns {undefined}
|
|
179
|
-
*/
|
|
180
|
-
onDeltaEvent(loci: any): void;
|
|
181
|
-
/**
|
|
182
|
-
* Appends new data onto a string of existing data.
|
|
183
|
-
* @param {string} newData
|
|
184
|
-
* @param {string} oldData
|
|
185
|
-
* @returns {string}
|
|
186
|
-
*/
|
|
187
|
-
static packComparisonResult(newData: string, oldData: string): string;
|
|
188
|
-
/**
|
|
189
|
-
* Pause locus processing
|
|
190
|
-
* @returns {undefined}
|
|
191
|
-
*/
|
|
192
|
-
pause(): void;
|
|
193
|
-
/**
|
|
194
|
-
* Processes next locus delta in the queue,
|
|
195
|
-
* continues until the queue is empty
|
|
196
|
-
* or cleared.
|
|
197
|
-
* @returns {undefined}
|
|
198
|
-
*/
|
|
199
|
-
processDeltaEvent(): void;
|
|
200
|
-
/**
|
|
201
|
-
* Resume from a paused state
|
|
202
|
-
* @returns {undefined}
|
|
203
|
-
*/
|
|
204
|
-
resume(): void;
|
|
205
|
-
/**
|
|
206
|
-
* Gets related debug info for given error code
|
|
207
|
-
* @param {string} debugCode Debug code
|
|
208
|
-
* @param {string} comparison Locus comparison string
|
|
209
|
-
* @returns {object} Debug message
|
|
210
|
-
*/
|
|
211
|
-
static getDebugMessage(debugCode: string, comparison: string): any;
|
|
212
|
-
}
|
package/dist/media/index.d.ts
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Copyright (c) 2015-2020 Cisco Systems, Inc. See LICENSE file.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* MediaDirection
|
|
6
|
-
* @typedef {Object} MediaDirection
|
|
7
|
-
* @property {boolean} sendAudio
|
|
8
|
-
* @property {boolean} receiveAudio
|
|
9
|
-
* @property {boolean} sendVideo
|
|
10
|
-
* @property {boolean} receiveVideo
|
|
11
|
-
* @property {boolean} sendShare
|
|
12
|
-
* @property {boolean} receiveShare
|
|
13
|
-
*/
|
|
14
|
-
/**
|
|
15
|
-
* SendOptions
|
|
16
|
-
* @typedef {Object} SendOptions
|
|
17
|
-
* @property sendAudio
|
|
18
|
-
* @property sendVideo
|
|
19
|
-
* @property sendShare
|
|
20
|
-
* @property isSharing
|
|
21
|
-
* @property {Object} sharePreferences
|
|
22
|
-
*/
|
|
23
|
-
/**
|
|
24
|
-
*
|
|
25
|
-
* @public
|
|
26
|
-
* @export
|
|
27
|
-
* Mimic browser APIs as "the ultimate browser".
|
|
28
|
-
* Handles the quirks of each browser.
|
|
29
|
-
* Extends and enhances adapter.js, i.e., the "media" file from the web client.
|
|
30
|
-
*/
|
|
31
|
-
declare const Media: any;
|
|
32
|
-
export default Media;
|