@webex/plugin-meetings 2.59.5 → 2.59.6-next.2
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 +173 -167
- 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/meeting-info/meeting-info-v2.js +7 -1
- package/dist/meeting-info/meeting-info-v2.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 +23 -47
- package/src/meeting-info/meeting-info-v2.ts +1 -1
- 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 +53 -83
- package/test/unit/spec/meeting-info/meetinginfov2.js +1 -1
- 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 -1621
- 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,193 +0,0 @@
|
|
|
1
|
-
import MeetingRequest from '../meeting/request';
|
|
2
|
-
/**
|
|
3
|
-
* @description Recording manages the recording functionality of the meeting object, there should only be one instantation of recording per meeting
|
|
4
|
-
* @export
|
|
5
|
-
* @private
|
|
6
|
-
* @class Recording
|
|
7
|
-
*/
|
|
8
|
-
export default class RecordingController {
|
|
9
|
-
/**
|
|
10
|
-
* @instance
|
|
11
|
-
* @type {MeetingRequest}
|
|
12
|
-
* @private
|
|
13
|
-
* @memberof RecordingController
|
|
14
|
-
*/
|
|
15
|
-
private request;
|
|
16
|
-
/**
|
|
17
|
-
* @instance
|
|
18
|
-
* @type {Array}
|
|
19
|
-
* @private
|
|
20
|
-
* @memberof RecordingInfo
|
|
21
|
-
*/
|
|
22
|
-
private displayHints;
|
|
23
|
-
/**
|
|
24
|
-
* @instance
|
|
25
|
-
* @type {string}
|
|
26
|
-
* @private
|
|
27
|
-
* @memberof RecordingInfo
|
|
28
|
-
*/
|
|
29
|
-
private serviceUrl;
|
|
30
|
-
/**
|
|
31
|
-
* @instance
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @private
|
|
34
|
-
* @memberof RecordingInfo
|
|
35
|
-
*/
|
|
36
|
-
private sessionId;
|
|
37
|
-
/**
|
|
38
|
-
* @instance
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @private
|
|
41
|
-
* @memberof RecordingInfo
|
|
42
|
-
*/
|
|
43
|
-
private locusUrl;
|
|
44
|
-
/**
|
|
45
|
-
* @instance
|
|
46
|
-
* @type {string}
|
|
47
|
-
* @private
|
|
48
|
-
* @memberof RecordingInfo
|
|
49
|
-
*/
|
|
50
|
-
private locusId;
|
|
51
|
-
/**
|
|
52
|
-
* @param {MeetingRequest} request
|
|
53
|
-
* @param {Object} options
|
|
54
|
-
* @constructor
|
|
55
|
-
* @memberof RecordingController
|
|
56
|
-
*/
|
|
57
|
-
constructor(request: MeetingRequest, options?: {
|
|
58
|
-
serviceUrl?: string;
|
|
59
|
-
sessionId: string;
|
|
60
|
-
locusUrl: string;
|
|
61
|
-
displayHints?: Array<string>;
|
|
62
|
-
});
|
|
63
|
-
/**
|
|
64
|
-
* @param {MeetingRequest} request
|
|
65
|
-
* @param {LocusInfo} info
|
|
66
|
-
* @returns {void}
|
|
67
|
-
* @private
|
|
68
|
-
* @memberof RecordingController
|
|
69
|
-
*/
|
|
70
|
-
private initialize;
|
|
71
|
-
/**
|
|
72
|
-
* @param {Object} options
|
|
73
|
-
* @returns {void}
|
|
74
|
-
* @public
|
|
75
|
-
* @memberof RecordingController
|
|
76
|
-
*/
|
|
77
|
-
set(options?: {
|
|
78
|
-
serviceUrl?: string;
|
|
79
|
-
sessionId: string;
|
|
80
|
-
locusUrl: string;
|
|
81
|
-
displayHints?: Array<string>;
|
|
82
|
-
}): void;
|
|
83
|
-
/**
|
|
84
|
-
* @param {string} url
|
|
85
|
-
* @returns {void}
|
|
86
|
-
* @public
|
|
87
|
-
* @memberof RecordingController
|
|
88
|
-
*/
|
|
89
|
-
setLocusUrl(url: string): void;
|
|
90
|
-
/**
|
|
91
|
-
* @param {Array} hints
|
|
92
|
-
* @returns {void}
|
|
93
|
-
* @public
|
|
94
|
-
* @memberof RecordingController
|
|
95
|
-
*/
|
|
96
|
-
setDisplayHints(hints: Array<string>): void;
|
|
97
|
-
/**
|
|
98
|
-
* @param {string} id
|
|
99
|
-
* @returns {void}
|
|
100
|
-
* @public
|
|
101
|
-
* @memberof RecordingController
|
|
102
|
-
*/
|
|
103
|
-
setSessionId(id: string): void;
|
|
104
|
-
/**
|
|
105
|
-
* @param {string} url
|
|
106
|
-
* @returns {void}
|
|
107
|
-
* @public
|
|
108
|
-
* @memberof RecordingController
|
|
109
|
-
*/
|
|
110
|
-
setServiceUrl(url: string): void;
|
|
111
|
-
/**
|
|
112
|
-
* @returns {string}
|
|
113
|
-
* @public
|
|
114
|
-
* @memberof RecordingController
|
|
115
|
-
*/
|
|
116
|
-
getLocusUrl(): string;
|
|
117
|
-
/**
|
|
118
|
-
* @returns {string}
|
|
119
|
-
* @public
|
|
120
|
-
* @memberof RecordingController
|
|
121
|
-
*/
|
|
122
|
-
getLocusId(): string;
|
|
123
|
-
/**
|
|
124
|
-
* @returns {string}
|
|
125
|
-
* @public
|
|
126
|
-
* @memberof RecordingController
|
|
127
|
-
*/
|
|
128
|
-
getSessionId(): string;
|
|
129
|
-
/**
|
|
130
|
-
* @returns {string}
|
|
131
|
-
* @public
|
|
132
|
-
* @memberof RecordingController
|
|
133
|
-
*/
|
|
134
|
-
getServiceUrl(): string;
|
|
135
|
-
/**
|
|
136
|
-
* @returns {Array}
|
|
137
|
-
* @public
|
|
138
|
-
* @memberof RecordingController
|
|
139
|
-
*/
|
|
140
|
-
getDisplayHints(): string[];
|
|
141
|
-
/**
|
|
142
|
-
* @param {Object} options
|
|
143
|
-
* @returns {void}
|
|
144
|
-
* @private
|
|
145
|
-
* @memberof RecordingController
|
|
146
|
-
*/
|
|
147
|
-
private extract;
|
|
148
|
-
/**
|
|
149
|
-
* @param {RecordingAction} action
|
|
150
|
-
* @private
|
|
151
|
-
* @memberof RecordingController
|
|
152
|
-
* @returns {Promise}
|
|
153
|
-
*/
|
|
154
|
-
private recordingService;
|
|
155
|
-
/**
|
|
156
|
-
* @param {RecordingAction} action
|
|
157
|
-
* @private
|
|
158
|
-
* @memberof RecordingController
|
|
159
|
-
* @returns {Promise}
|
|
160
|
-
*/
|
|
161
|
-
private recordingControls;
|
|
162
|
-
/**
|
|
163
|
-
* @param {RecordingAction} action
|
|
164
|
-
* @private
|
|
165
|
-
* @memberof RecordingController
|
|
166
|
-
* @returns {Promise}
|
|
167
|
-
*/
|
|
168
|
-
private recordingFacade;
|
|
169
|
-
/**
|
|
170
|
-
* @private
|
|
171
|
-
* @memberof RecordingController
|
|
172
|
-
* @returns {Promise}
|
|
173
|
-
*/
|
|
174
|
-
startRecording(): Promise<any>;
|
|
175
|
-
/**
|
|
176
|
-
* @private
|
|
177
|
-
* @memberof RecordingController
|
|
178
|
-
* @returns {Promise}
|
|
179
|
-
*/
|
|
180
|
-
stopRecording(): Promise<any>;
|
|
181
|
-
/**
|
|
182
|
-
* @private
|
|
183
|
-
* @memberof RecordingController
|
|
184
|
-
* @returns {Promise}
|
|
185
|
-
*/
|
|
186
|
-
pauseRecording(): Promise<any>;
|
|
187
|
-
/**
|
|
188
|
-
* @private
|
|
189
|
-
* @memberof RecordingController
|
|
190
|
-
* @returns {Promise}
|
|
191
|
-
*/
|
|
192
|
-
resumeRecording(): Promise<any>;
|
|
193
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import RecordingAction from './enums';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
canUserStart: (displayHints: string[]) => boolean;
|
|
4
|
-
canUserPause: (displayHints: string[]) => boolean;
|
|
5
|
-
canUserResume: (displayHints: string[]) => boolean;
|
|
6
|
-
canUserStop: (displayHints: string[]) => boolean;
|
|
7
|
-
deriveRecordingStates: (action: RecordingAction) => {
|
|
8
|
-
recording: boolean;
|
|
9
|
-
paused: boolean;
|
|
10
|
-
};
|
|
11
|
-
extractLocusId: (url: string) => string;
|
|
12
|
-
};
|
|
13
|
-
export default _default;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
declare const RoapCollection: {
|
|
2
|
-
sessions: {};
|
|
3
|
-
getSession(id: any): any;
|
|
4
|
-
deleteSession(id: any): void;
|
|
5
|
-
getSessionSequence(id: any, seqId: any): any;
|
|
6
|
-
deleteSessionSequence(id: any, seqId: any): void;
|
|
7
|
-
isBusy(id: any): boolean;
|
|
8
|
-
onSessionSequenceFinish(id: any, seqId: any): void;
|
|
9
|
-
};
|
|
10
|
-
export default RoapCollection;
|
package/dist/roap/handler.d.ts
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { StatelessWebexPlugin } from '@webex/webex-core';
|
|
2
|
-
import Meeting from '../meeting';
|
|
3
|
-
/**
|
|
4
|
-
* @class RoapHandler
|
|
5
|
-
*/
|
|
6
|
-
export default class RoapHandler extends StatelessWebexPlugin {
|
|
7
|
-
attrs: any;
|
|
8
|
-
lastRoapMessage: any;
|
|
9
|
-
options: any;
|
|
10
|
-
roapAnswer: any;
|
|
11
|
-
roapFinished: any;
|
|
12
|
-
roapOk: any;
|
|
13
|
-
constructor(attrs: any, options: any, roapOk: any, roapAnswer: any, roapFinished: any);
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @param {Object} session
|
|
17
|
-
* @param {Meeting} meeting
|
|
18
|
-
* @param {Object} action
|
|
19
|
-
* @returns {null}
|
|
20
|
-
*/
|
|
21
|
-
perform(session: any, meeting: any, action: any): void;
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @param {String} signal
|
|
25
|
-
* @param {Object} session
|
|
26
|
-
* @param {Object} action
|
|
27
|
-
* @param {Meeting} meeting
|
|
28
|
-
* @param {String} prefix
|
|
29
|
-
* @returns {null}
|
|
30
|
-
*/
|
|
31
|
-
execute(signal: string, session: any, action: any, meeting: Meeting, prefix: string): void;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @param {Object} session
|
|
35
|
-
* @param {Object} action
|
|
36
|
-
* @param {Meeting} meeting
|
|
37
|
-
* @param {String} correlationId
|
|
38
|
-
* @returns {Boolean}
|
|
39
|
-
*/
|
|
40
|
-
handleAction(session: object, action: any, meeting: Meeting, correlationId: string): boolean;
|
|
41
|
-
/**
|
|
42
|
-
*
|
|
43
|
-
* @param {Object} action
|
|
44
|
-
* @returns {Boolean}
|
|
45
|
-
*/
|
|
46
|
-
submit(action: any): boolean;
|
|
47
|
-
}
|
package/dist/roap/index.d.ts
DELETED
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
import { StatelessWebexPlugin } from '@webex/webex-core';
|
|
2
|
-
import Meeting from '../meeting';
|
|
3
|
-
/**
|
|
4
|
-
* Roap options
|
|
5
|
-
* @typedef {Object} RoapOptions
|
|
6
|
-
* @property {String} sdp
|
|
7
|
-
* @property {Meeting} meeting
|
|
8
|
-
* @property {Number} roapSeq
|
|
9
|
-
* @property {Boolean} reconnect
|
|
10
|
-
*/
|
|
11
|
-
/**
|
|
12
|
-
* @typedef {Object} SeqOptions
|
|
13
|
-
* @property {String} correlationId
|
|
14
|
-
* @property {String} mediaId
|
|
15
|
-
* @property {Number} seq
|
|
16
|
-
*/
|
|
17
|
-
/**
|
|
18
|
-
* @class Roap
|
|
19
|
-
* @export
|
|
20
|
-
* @private
|
|
21
|
-
*/
|
|
22
|
-
export default class Roap extends StatelessWebexPlugin {
|
|
23
|
-
attrs: any;
|
|
24
|
-
lastRoapOffer: any;
|
|
25
|
-
options: any;
|
|
26
|
-
roapHandler: any;
|
|
27
|
-
roapRequest: any;
|
|
28
|
-
turnDiscovery: any;
|
|
29
|
-
/**
|
|
30
|
-
*
|
|
31
|
-
* @param {Object} attrs
|
|
32
|
-
* @param {Object} options
|
|
33
|
-
*/
|
|
34
|
-
constructor(attrs: any, options: any);
|
|
35
|
-
/**
|
|
36
|
-
* Starts listening to mercury events for Roap messages
|
|
37
|
-
* @param {object} data event object
|
|
38
|
-
* @returns {Promise}
|
|
39
|
-
* @private
|
|
40
|
-
* @memberof Roap
|
|
41
|
-
*/
|
|
42
|
-
private roapEvent;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @param {String} correlationId correlation id of a meeting
|
|
46
|
-
* @param {Number} seq ROAP sequence number
|
|
47
|
-
* @returns {Promise}
|
|
48
|
-
* @private
|
|
49
|
-
* @memberof Roap
|
|
50
|
-
*/
|
|
51
|
-
private stop;
|
|
52
|
-
/**
|
|
53
|
-
*
|
|
54
|
-
* @param {SeqOptions} options
|
|
55
|
-
* @returns {null}
|
|
56
|
-
* @private
|
|
57
|
-
* @memberof Roap
|
|
58
|
-
*/
|
|
59
|
-
private sendRoapOK;
|
|
60
|
-
/**
|
|
61
|
-
* Sends a ROAP answer...
|
|
62
|
-
* @param {SeqOptions} options
|
|
63
|
-
* @param {Boolean} options.audioMuted
|
|
64
|
-
* @param {Boolean} options.videoMuted
|
|
65
|
-
* @returns {Promise}
|
|
66
|
-
* @private
|
|
67
|
-
* @memberof Roap
|
|
68
|
-
*/
|
|
69
|
-
private sendRoapAnswer;
|
|
70
|
-
/**
|
|
71
|
-
* Sends a ROAP error...
|
|
72
|
-
* @param {Object} session
|
|
73
|
-
* @param {Object} locus
|
|
74
|
-
* @param {String} errorType
|
|
75
|
-
* @returns {Promise}
|
|
76
|
-
* @private
|
|
77
|
-
* @memberof Roap
|
|
78
|
-
*/
|
|
79
|
-
private sendRoapError;
|
|
80
|
-
/**
|
|
81
|
-
* sends a roap media request
|
|
82
|
-
* @param {RoapOptions} options
|
|
83
|
-
* @returns {Promise}
|
|
84
|
-
* @private
|
|
85
|
-
* @memberof Roap
|
|
86
|
-
*/
|
|
87
|
-
sendRoapMediaRequest(options: any): any;
|
|
88
|
-
/**
|
|
89
|
-
* sends a roap media request
|
|
90
|
-
* @param {RoapOptions} options
|
|
91
|
-
* @returns {Promise}
|
|
92
|
-
* @private
|
|
93
|
-
* @memberof Roap
|
|
94
|
-
*/
|
|
95
|
-
sendRoapCallRequest: (options: any) => any;
|
|
96
|
-
/**
|
|
97
|
-
* Called when the roap sequence is finished (completed successfully or failed)
|
|
98
|
-
* @param {String} correlationId id of the meeting affected
|
|
99
|
-
* @param {String} sequenceId the id of the finished sequence
|
|
100
|
-
* @returns {undefined}
|
|
101
|
-
* @private
|
|
102
|
-
* @memberof Roap
|
|
103
|
-
*/
|
|
104
|
-
private roapFinished;
|
|
105
|
-
/**
|
|
106
|
-
* Performs a TURN server discovery procedure, which involves exchanging
|
|
107
|
-
* some roap messages with the server. This exchange has to be done before
|
|
108
|
-
* any other roap messages are sent
|
|
109
|
-
*
|
|
110
|
-
* @param {Meeting} meeting
|
|
111
|
-
* @param {Boolean} isReconnecting should be set to true if this is a new
|
|
112
|
-
* media connection just after a reconnection
|
|
113
|
-
* @returns {Promise}
|
|
114
|
-
*/
|
|
115
|
-
doTurnDiscovery(meeting: Meeting, isReconnecting: boolean): any;
|
|
116
|
-
}
|
package/dist/roap/request.d.ts
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { StatelessWebexPlugin } from '@webex/webex-core';
|
|
2
|
-
/**
|
|
3
|
-
* @class RoapRequest
|
|
4
|
-
*/
|
|
5
|
-
export default class RoapRequest extends StatelessWebexPlugin {
|
|
6
|
-
/**
|
|
7
|
-
* Joins a meeting via ROAP
|
|
8
|
-
* @param {Object} options
|
|
9
|
-
* @returns {Promise} returns a promise that resolves/rejects whatever the request does
|
|
10
|
-
*/
|
|
11
|
-
attachRechabilityData(localSdp: any): any;
|
|
12
|
-
joinMeetingWithRoap(options: any): Promise<any>;
|
|
13
|
-
/**
|
|
14
|
-
* Sends a ROAP message
|
|
15
|
-
* @param {Object} options
|
|
16
|
-
* @param {Object} options.roapMessage
|
|
17
|
-
* @param {String} options.locusSelfUrl
|
|
18
|
-
* @param {String} options.mediaId
|
|
19
|
-
* @param {String} options.correlationId
|
|
20
|
-
* @param {Boolean} options.audioMuted
|
|
21
|
-
* @param {Boolean} options.videoMuted
|
|
22
|
-
* @param {String} options.meetingId
|
|
23
|
-
* @returns {Promise} returns the response/failure of the request
|
|
24
|
-
*/
|
|
25
|
-
sendRoap(options: {
|
|
26
|
-
roapMessage: any;
|
|
27
|
-
locusSelfUrl: string;
|
|
28
|
-
mediaId: string;
|
|
29
|
-
correlationId: string;
|
|
30
|
-
audioMuted: boolean;
|
|
31
|
-
videoMuted: boolean;
|
|
32
|
-
meetingId: string;
|
|
33
|
-
preferTranscoding?: boolean;
|
|
34
|
-
}): any;
|
|
35
|
-
}
|
package/dist/roap/state.d.ts
DELETED
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import RoapRequest from './request';
|
|
2
|
-
import Meeting from '../meeting';
|
|
3
|
-
/**
|
|
4
|
-
* Handles the process of finding out TURN server information from Linus.
|
|
5
|
-
* This is achieved by sending a TURN_DISCOVERY_REQUEST.
|
|
6
|
-
*/
|
|
7
|
-
export default class TurnDiscovery {
|
|
8
|
-
private roapRequest;
|
|
9
|
-
private defer?;
|
|
10
|
-
private turnInfo;
|
|
11
|
-
private responseTimer?;
|
|
12
|
-
/**
|
|
13
|
-
* Constructor
|
|
14
|
-
*
|
|
15
|
-
* @param {RoapRequest} roapRequest
|
|
16
|
-
*/
|
|
17
|
-
constructor(roapRequest: RoapRequest);
|
|
18
|
-
/**
|
|
19
|
-
* waits for TURN_DISCOVERY_RESPONSE message to arrive
|
|
20
|
-
*
|
|
21
|
-
* @returns {Promise}
|
|
22
|
-
* @private
|
|
23
|
-
* @memberof Roap
|
|
24
|
-
*/
|
|
25
|
-
private waitForTurnDiscoveryResponse;
|
|
26
|
-
/**
|
|
27
|
-
* handles TURN_DISCOVERY_RESPONSE roap message
|
|
28
|
-
*
|
|
29
|
-
* @param {Object} roapMessage
|
|
30
|
-
* @returns {void}
|
|
31
|
-
* @public
|
|
32
|
-
* @memberof Roap
|
|
33
|
-
*/
|
|
34
|
-
handleTurnDiscoveryResponse(roapMessage: object): void;
|
|
35
|
-
/**
|
|
36
|
-
* sends the TURN_DISCOVERY_REQUEST roap request
|
|
37
|
-
*
|
|
38
|
-
* @param {Meeting} meeting
|
|
39
|
-
* @param {Boolean} isReconnecting
|
|
40
|
-
* @returns {Promise}
|
|
41
|
-
* @private
|
|
42
|
-
* @memberof Roap
|
|
43
|
-
*/
|
|
44
|
-
private sendRoapTurnDiscoveryRequest;
|
|
45
|
-
/**
|
|
46
|
-
* Sends the OK message that server expects to receive
|
|
47
|
-
* after it sends us TURN_DISCOVERY_RESPONSE
|
|
48
|
-
*
|
|
49
|
-
* @param {Meeting} meeting
|
|
50
|
-
* @returns {Promise}
|
|
51
|
-
*/
|
|
52
|
-
sendRoapOK(meeting: Meeting): any;
|
|
53
|
-
/**
|
|
54
|
-
* Retrieves TURN server information from the backend by doing
|
|
55
|
-
* a roap message exchange:
|
|
56
|
-
* client server
|
|
57
|
-
* | -----TURN_DISCOVERY_REQUEST-----> |
|
|
58
|
-
* | <----TURN_DISCOVERY_RESPONSE----- |
|
|
59
|
-
* | --------------OK----------------> |
|
|
60
|
-
*
|
|
61
|
-
* @param {Meeting} meeting
|
|
62
|
-
* @param {Boolean} isReconnecting should be set to true if this is a new
|
|
63
|
-
* media connection just after a reconnection
|
|
64
|
-
* @returns {Promise}
|
|
65
|
-
*/
|
|
66
|
-
doTurnDiscovery(meeting: Meeting, isReconnecting?: boolean): Promise<any>;
|
|
67
|
-
/**
|
|
68
|
-
* Gets the reason why reachability is skipped.
|
|
69
|
-
*
|
|
70
|
-
* @param {Meeting} meeting
|
|
71
|
-
* @returns {Promise<string>} Promise with empty string if reachability is not skipped or a reason if it is skipped
|
|
72
|
-
*/
|
|
73
|
-
private getSkipReason;
|
|
74
|
-
/**
|
|
75
|
-
* Checks if TURN discovery is skipped.
|
|
76
|
-
*
|
|
77
|
-
* @param {Meeting} meeting
|
|
78
|
-
* @returns {Boolean} true if TURN discovery is being skipped, false if it is being done
|
|
79
|
-
*/
|
|
80
|
-
isSkipped(meeting: any): Promise<boolean>;
|
|
81
|
-
}
|
package/dist/roap/util.d.ts
DELETED
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
declare const STATS_DEFAULT: {
|
|
2
|
-
encryption: string;
|
|
3
|
-
audio: {
|
|
4
|
-
send: {
|
|
5
|
-
maxPacketLossRatio: number;
|
|
6
|
-
availableBandwidth: number;
|
|
7
|
-
bytesSent: number;
|
|
8
|
-
meanRemoteJitter: any[];
|
|
9
|
-
meanRoundTripTime: any[];
|
|
10
|
-
};
|
|
11
|
-
recv: {
|
|
12
|
-
availableBandwidth: number;
|
|
13
|
-
bytesReceived: number;
|
|
14
|
-
meanRtpJitter: any[];
|
|
15
|
-
meanRoundTripTime: any[];
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
video: {
|
|
19
|
-
send: {
|
|
20
|
-
maxPacketLossRatio: number;
|
|
21
|
-
availableBandwidth: number;
|
|
22
|
-
meanRemoteJitter: any[];
|
|
23
|
-
meanRoundTripTime: any[];
|
|
24
|
-
};
|
|
25
|
-
recv: {
|
|
26
|
-
availableBandwidth: number;
|
|
27
|
-
totalPacketsLost: number;
|
|
28
|
-
meanRtpJitter: any[];
|
|
29
|
-
meanRoundTripTime: any[];
|
|
30
|
-
};
|
|
31
|
-
latency: number;
|
|
32
|
-
packetsLost: number;
|
|
33
|
-
};
|
|
34
|
-
share: {
|
|
35
|
-
send: {
|
|
36
|
-
maxPacketLossRatio: number;
|
|
37
|
-
availableBandwidth: number;
|
|
38
|
-
totalPacketsLost: number;
|
|
39
|
-
meanRemoteJitter: any[];
|
|
40
|
-
meanRoundTripTime: any[];
|
|
41
|
-
};
|
|
42
|
-
recv: {
|
|
43
|
-
availableBandwidth: number;
|
|
44
|
-
meanRtpJitter: any[];
|
|
45
|
-
meanRoundTripTime: any[];
|
|
46
|
-
};
|
|
47
|
-
latency: number;
|
|
48
|
-
packetsLost: number;
|
|
49
|
-
};
|
|
50
|
-
bandwidth: {
|
|
51
|
-
systemBandwidth: number;
|
|
52
|
-
sentPerSecond: number;
|
|
53
|
-
encodedPerSecond: number;
|
|
54
|
-
helper: {
|
|
55
|
-
audioBytesSent: number;
|
|
56
|
-
videoBytestSent: number;
|
|
57
|
-
};
|
|
58
|
-
speed: number;
|
|
59
|
-
};
|
|
60
|
-
results: {};
|
|
61
|
-
connectionType: {
|
|
62
|
-
systemNetworkType: string;
|
|
63
|
-
systemIpAddress: string;
|
|
64
|
-
local: {
|
|
65
|
-
candidateType: any[];
|
|
66
|
-
transport: any[];
|
|
67
|
-
ipAddress: any[];
|
|
68
|
-
networkType: any[];
|
|
69
|
-
};
|
|
70
|
-
remote: {
|
|
71
|
-
candidateType: any[];
|
|
72
|
-
transport: any[];
|
|
73
|
-
ipAddress: any[];
|
|
74
|
-
networkType: any[];
|
|
75
|
-
};
|
|
76
|
-
};
|
|
77
|
-
resolutions: {
|
|
78
|
-
video: {
|
|
79
|
-
send: {
|
|
80
|
-
width: number;
|
|
81
|
-
height: number;
|
|
82
|
-
framesSent: number;
|
|
83
|
-
};
|
|
84
|
-
recv: {
|
|
85
|
-
width: number;
|
|
86
|
-
height: number;
|
|
87
|
-
};
|
|
88
|
-
};
|
|
89
|
-
share: {
|
|
90
|
-
send: {
|
|
91
|
-
width: number;
|
|
92
|
-
height: number;
|
|
93
|
-
framesSent: number;
|
|
94
|
-
};
|
|
95
|
-
recv: {
|
|
96
|
-
width: number;
|
|
97
|
-
height: number;
|
|
98
|
-
};
|
|
99
|
-
};
|
|
100
|
-
};
|
|
101
|
-
internal: {
|
|
102
|
-
audio: {
|
|
103
|
-
send: {};
|
|
104
|
-
recv: {};
|
|
105
|
-
};
|
|
106
|
-
video: {
|
|
107
|
-
send: {};
|
|
108
|
-
recv: {};
|
|
109
|
-
};
|
|
110
|
-
share: {
|
|
111
|
-
send: {};
|
|
112
|
-
recv: {};
|
|
113
|
-
};
|
|
114
|
-
remote: {};
|
|
115
|
-
candidates: {};
|
|
116
|
-
};
|
|
117
|
-
};
|
|
118
|
-
export default STATS_DEFAULT;
|