@webex/plugin-meetings 3.2.0 → 3.3.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/dist/breakouts/breakout.js +1 -1
- package/dist/breakouts/index.js +1 -1
- package/dist/constants.js +2 -4
- package/dist/constants.js.map +1 -1
- package/dist/interpretation/index.js +1 -1
- package/dist/interpretation/siLanguage.js +1 -1
- package/dist/mediaQualityMetrics/config.js +10 -10
- package/dist/mediaQualityMetrics/config.js.map +1 -1
- package/dist/meeting/index.js +8 -21
- package/dist/meeting/index.js.map +1 -1
- package/dist/meetings/index.js +1 -6
- package/dist/meetings/index.js.map +1 -1
- package/dist/reachability/index.js +9 -82
- package/dist/reachability/index.js.map +1 -1
- package/dist/statsAnalyzer/index.js +2 -4
- package/dist/statsAnalyzer/index.js.map +1 -1
- package/dist/statsAnalyzer/mqaUtil.js +0 -14
- package/dist/statsAnalyzer/mqaUtil.js.map +1 -1
- package/dist/types/constants.d.ts +1 -2
- package/dist/types/mediaQualityMetrics/config.d.ts +2 -8
- package/dist/types/meeting/index.d.ts +0 -8
- package/dist/types/reachability/index.d.ts +0 -11
- package/dist/webinar/index.js +1 -1
- package/package.json +21 -21
- package/src/constants.ts +1 -2
- package/src/mediaQualityMetrics/config.ts +7 -13
- package/src/meeting/index.ts +9 -23
- package/src/meetings/index.ts +2 -7
- package/src/reachability/index.ts +0 -57
- package/src/statsAnalyzer/index.ts +3 -6
- package/src/statsAnalyzer/mqaUtil.ts +0 -18
- package/test/unit/spec/meeting/index.js +8 -28
- package/test/unit/spec/meetings/index.js +15 -38
- package/test/unit/spec/reachability/index.ts +0 -266
- package/test/unit/spec/stats-analyzer/index.js +8 -89
- 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-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 -34
- 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 -73
- 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/MediaConnectionAwaiter.d.ts +0 -61
- 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/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 -398
- 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/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/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/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 -110
- package/dist/reachability/index.d.ts +0 -109
- package/dist/reachability/request.d.ts +0 -39
- package/dist/reachability/util.d.ts +0 -15
- 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/index.d.ts +0 -86
- package/dist/roap/request.d.ts +0 -39
- package/dist/roap/turnDiscovery.d.ts +0 -155
- package/dist/rtcMetrics/constants.d.ts +0 -4
- package/dist/rtcMetrics/index.d.ts +0 -61
- package/dist/statsAnalyzer/global.d.ts +0 -36
- package/dist/statsAnalyzer/index.d.ts +0 -217
- package/dist/statsAnalyzer/mqaUtil.d.ts +0 -48
- package/dist/transcription/index.d.ts +0 -64
- package/dist/webinar/collection.d.ts +0 -16
- package/dist/webinar/index.d.ts +0 -5
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
import { StatelessWebexPlugin } from '@webex/webex-core';
|
|
2
|
-
/**
|
|
3
|
-
* @class MembersRequest
|
|
4
|
-
*/
|
|
5
|
-
export default class MembersRequest extends StatelessWebexPlugin {
|
|
6
|
-
namespace: string;
|
|
7
|
-
locusDeltaRequest: (options: object) => Promise<any>;
|
|
8
|
-
/**
|
|
9
|
-
* Constructor
|
|
10
|
-
* @param {Object} attrs
|
|
11
|
-
* @param {Object} options
|
|
12
|
-
*/
|
|
13
|
-
constructor(attrs: {
|
|
14
|
-
meeting: any;
|
|
15
|
-
}, options: object);
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @param {Object} options with format of {invitee: string, locusUrl: string}
|
|
19
|
-
* @returns {Promise}
|
|
20
|
-
* @throws {Error} if the options are not valid and complete, must have invitee with emailAddress OR email AND locusUrl
|
|
21
|
-
* @memberof MembersRequest
|
|
22
|
-
*/
|
|
23
|
-
addMembers(options: any): Promise<any>;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @param {Object} options
|
|
27
|
-
* @returns {Promise}
|
|
28
|
-
* @throws {Error} if the options are not valid and complete, must have memberIds AND locusUrl
|
|
29
|
-
* @memberof MembersRequest
|
|
30
|
-
*/
|
|
31
|
-
admitMember(options: any): Promise<any>;
|
|
32
|
-
/**
|
|
33
|
-
* Sends a request to remove a member
|
|
34
|
-
* @param {Object} options
|
|
35
|
-
* @param {String} options.locusUrl
|
|
36
|
-
* @param {String} options.memberId ID of member
|
|
37
|
-
* @returns {Promise}
|
|
38
|
-
*/
|
|
39
|
-
removeMember(options: any): Promise<any>;
|
|
40
|
-
/**
|
|
41
|
-
* Sends a request to mute a member
|
|
42
|
-
* @param {Object} options
|
|
43
|
-
* @param {String} options.locusUrl
|
|
44
|
-
* @param {String} options.memberId ID of member
|
|
45
|
-
* @returns {Promise}
|
|
46
|
-
*/
|
|
47
|
-
muteMember(options: any): Promise<any>;
|
|
48
|
-
/**
|
|
49
|
-
* Sends a request to the DTMF endpoint to send tones
|
|
50
|
-
* @param {Object} options
|
|
51
|
-
* @param {String} options.locusUrl
|
|
52
|
-
* @param {String} options.memberId ID of PSTN user
|
|
53
|
-
* @returns {Promise}
|
|
54
|
-
*/
|
|
55
|
-
assignRolesMember(options: any): Promise<any>;
|
|
56
|
-
/**
|
|
57
|
-
* Sends a request to raise or lower a member's hand
|
|
58
|
-
* @param {Object} options
|
|
59
|
-
* @param {String} options.locusUrl
|
|
60
|
-
* @param {String} options.memberId ID of member
|
|
61
|
-
* @returns {Promise}
|
|
62
|
-
*/
|
|
63
|
-
raiseOrLowerHandMember(options: any): Promise<any>;
|
|
64
|
-
/**
|
|
65
|
-
* Sends a request to lower all hands
|
|
66
|
-
* @param {Object} options
|
|
67
|
-
* @param {String} options.locusUrl
|
|
68
|
-
* @param {String} options.requestingParticipantId ID of requesting participant
|
|
69
|
-
* @returns {Promise}
|
|
70
|
-
*/
|
|
71
|
-
lowerAllHandsMember(options: any): Promise<any>;
|
|
72
|
-
/**
|
|
73
|
-
*
|
|
74
|
-
* @param {Object} options with format of {locusUrl: string, requestingParticipantId: string}
|
|
75
|
-
* @returns {Promise}
|
|
76
|
-
* @throws {Error} if the options are not valid and complete, must have requestingParticipantId AND locusUrl
|
|
77
|
-
* @memberof MembersRequest
|
|
78
|
-
*/
|
|
79
|
-
editDisplayNameMember(options: {
|
|
80
|
-
locusUrl: string;
|
|
81
|
-
requestingParticipantId: string;
|
|
82
|
-
}): Promise<any>;
|
|
83
|
-
/**
|
|
84
|
-
* Sends a request to raise or lower a member's hand
|
|
85
|
-
* @param {Object} options
|
|
86
|
-
* @param {String} options.locusUrl
|
|
87
|
-
* @param {String} options.memberId ID of member
|
|
88
|
-
* @param {String} options.moderator ID of moderator
|
|
89
|
-
* @returns {Promise}
|
|
90
|
-
*/
|
|
91
|
-
transferHostToMember(options: any): Promise<any>;
|
|
92
|
-
/**
|
|
93
|
-
* Sends a request to the DTMF endpoint to send tones
|
|
94
|
-
* @param {Object} options
|
|
95
|
-
* @param {String} options.locusUrl
|
|
96
|
-
* @param {String} options.url device url SIP user
|
|
97
|
-
* @param {String} options.tones a string of one or more DTMF tones to send
|
|
98
|
-
* @param {String} options.memberId ID of PSTN user
|
|
99
|
-
* @returns {Promise}
|
|
100
|
-
*/
|
|
101
|
-
sendDialPadKey(options: {
|
|
102
|
-
locusUrl: string;
|
|
103
|
-
url: string;
|
|
104
|
-
tones: string;
|
|
105
|
-
memberId: string;
|
|
106
|
-
}): Promise<any>;
|
|
107
|
-
/**
|
|
108
|
-
* @param {Object} options with format of {invitee: string, locusUrl: string}
|
|
109
|
-
* @returns {Promise}
|
|
110
|
-
* @throws {Error} if the options are not valid and complete, must have invitee with emailAddress OR email AND locusUrl
|
|
111
|
-
* @memberof MembersRequest
|
|
112
|
-
*/
|
|
113
|
-
cancelPhoneInvite(options: any): Promise<any>;
|
|
114
|
-
}
|
package/dist/members/types.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export declare enum ServerRoles {
|
|
2
|
-
Cohost = "COHOST",
|
|
3
|
-
Moderator = "MODERATOR",
|
|
4
|
-
Presenter = "PRESENTER"
|
|
5
|
-
}
|
|
6
|
-
export type ServerRoleShape = {
|
|
7
|
-
type: ServerRoles;
|
|
8
|
-
hasRole: boolean;
|
|
9
|
-
hostKey?: string;
|
|
10
|
-
};
|
|
11
|
-
export type RoleAssignmentOptions = {
|
|
12
|
-
roles: Array<ServerRoleShape>;
|
|
13
|
-
locusUrl: string;
|
|
14
|
-
memberId: string;
|
|
15
|
-
};
|
|
16
|
-
export type RoleAssignmentBody = {
|
|
17
|
-
role: {
|
|
18
|
-
roles: Array<ServerRoleShape>;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
export type RoleAssignmentRequest = {
|
|
22
|
-
method: string;
|
|
23
|
-
uri: string;
|
|
24
|
-
body: RoleAssignmentBody;
|
|
25
|
-
};
|
package/dist/members/util.d.ts
DELETED
|
@@ -1,215 +0,0 @@
|
|
|
1
|
-
import { RoleAssignmentOptions, RoleAssignmentRequest, ServerRoleShape } from './types';
|
|
2
|
-
declare const MembersUtil: {
|
|
3
|
-
/**
|
|
4
|
-
* @param {Object} invitee with emailAddress, email or phoneNumber
|
|
5
|
-
* @param {String} locusUrl
|
|
6
|
-
* @param {Boolean} alertIfActive
|
|
7
|
-
* @returns {Object} the format object
|
|
8
|
-
*/
|
|
9
|
-
generateAddMemberOptions: (invitee: object, locusUrl: string, alertIfActive: boolean) => {
|
|
10
|
-
invitee: object;
|
|
11
|
-
locusUrl: string;
|
|
12
|
-
alertIfActive: boolean;
|
|
13
|
-
};
|
|
14
|
-
/**
|
|
15
|
-
* @param {Array} memberIds
|
|
16
|
-
* @param {String} locusUrl
|
|
17
|
-
* @returns {Object} the format object
|
|
18
|
-
*/
|
|
19
|
-
generateAdmitMemberOptions: (memberIds: Array<any>, locusUrl: string) => {
|
|
20
|
-
locusUrl: string;
|
|
21
|
-
memberIds: any[];
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @param {Object} options with {invitee: {emailAddress, email, phoneNumber}, alertIfActive}
|
|
25
|
-
* @returns {Object} with {invitees: [{address}], alertIfActive}
|
|
26
|
-
*/
|
|
27
|
-
getAddMemberBody: (options: any) => {
|
|
28
|
-
invitees: {
|
|
29
|
-
address: any;
|
|
30
|
-
}[];
|
|
31
|
-
alertIfActive: any;
|
|
32
|
-
};
|
|
33
|
-
/**
|
|
34
|
-
* @param {Object} options with {memberIds, authorizingLocusUrl}
|
|
35
|
-
* @returns {Object} admit with {memberIds}
|
|
36
|
-
*/
|
|
37
|
-
getAdmitMemberRequestBody: (options: any) => any;
|
|
38
|
-
/**
|
|
39
|
-
* @param {Object} format with {memberIds, locusUrl, sessionLocusUrls}
|
|
40
|
-
* @returns {Object} the request parameters (method, uri, body) needed to make a admitMember request
|
|
41
|
-
* if a host/cohost is in a breakout session, the locus url should be the main session locus url
|
|
42
|
-
*/
|
|
43
|
-
getAdmitMemberRequestParams: (format: any) => {
|
|
44
|
-
method: string;
|
|
45
|
-
uri: string;
|
|
46
|
-
body: any;
|
|
47
|
-
};
|
|
48
|
-
/**
|
|
49
|
-
* @param {Object} format with {invitee {emailAddress, email, phoneNumber}, locusUrl, alertIfActive}
|
|
50
|
-
* @returns {Object} the request parameters (method, uri, body) needed to make a addMember request
|
|
51
|
-
*/
|
|
52
|
-
getAddMemberRequestParams: (format: any) => {
|
|
53
|
-
method: string;
|
|
54
|
-
uri: any;
|
|
55
|
-
body: {
|
|
56
|
-
invitees: {
|
|
57
|
-
address: any;
|
|
58
|
-
}[];
|
|
59
|
-
alertIfActive: any;
|
|
60
|
-
};
|
|
61
|
-
};
|
|
62
|
-
isInvalidInvitee: (invitee: any) => boolean;
|
|
63
|
-
getRemoveMemberRequestParams: (options: any) => {
|
|
64
|
-
method: string;
|
|
65
|
-
uri: string;
|
|
66
|
-
body: {
|
|
67
|
-
reason: any;
|
|
68
|
-
};
|
|
69
|
-
};
|
|
70
|
-
generateTransferHostMemberOptions: (transfer: any, moderator: any, locusUrl: any) => {
|
|
71
|
-
moderator: any;
|
|
72
|
-
locusUrl: any;
|
|
73
|
-
memberId: any;
|
|
74
|
-
};
|
|
75
|
-
generateRemoveMemberOptions: (removal: any, locusUrl: any) => {
|
|
76
|
-
reason: string;
|
|
77
|
-
memberId: any;
|
|
78
|
-
locusUrl: any;
|
|
79
|
-
};
|
|
80
|
-
generateMuteMemberOptions: (memberId: any, status: any, locusUrl: any, isAudio: any) => {
|
|
81
|
-
memberId: any;
|
|
82
|
-
muted: any;
|
|
83
|
-
locusUrl: any;
|
|
84
|
-
isAudio: any;
|
|
85
|
-
};
|
|
86
|
-
generateRaiseHandMemberOptions: (memberId: any, status: any, locusUrl: any) => {
|
|
87
|
-
memberId: any;
|
|
88
|
-
raised: any;
|
|
89
|
-
locusUrl: any;
|
|
90
|
-
};
|
|
91
|
-
/**
|
|
92
|
-
* @param {String} memberId
|
|
93
|
-
* @param {[ServerRoleShape]} roles
|
|
94
|
-
* @param {String} locusUrl
|
|
95
|
-
* @returns {RoleAssignmentOptions}
|
|
96
|
-
*/
|
|
97
|
-
generateRoleAssignmentMemberOptions: (memberId: string, roles: Array<ServerRoleShape>, locusUrl: string) => RoleAssignmentOptions;
|
|
98
|
-
generateLowerAllHandsMemberOptions: (requestingParticipantId: any, locusUrl: any) => {
|
|
99
|
-
requestingParticipantId: any;
|
|
100
|
-
locusUrl: any;
|
|
101
|
-
};
|
|
102
|
-
/**
|
|
103
|
-
* @param {String} memberId id of the participant who is receiving request
|
|
104
|
-
* @param {String} requestingParticipantId id of the participant who is sending request (optional)
|
|
105
|
-
* @param {String} alias alias name
|
|
106
|
-
* @param {String} locusUrl url
|
|
107
|
-
* @returns {Object} consists of {memberID: string, requestingParticipantId: string, alias: string, locusUrl: string}
|
|
108
|
-
*/
|
|
109
|
-
generateEditDisplayNameMemberOptions: (memberId: any, requestingParticipantId: any, alias: any, locusUrl: any) => {
|
|
110
|
-
memberId: any;
|
|
111
|
-
requestingParticipantId: any;
|
|
112
|
-
alias: any;
|
|
113
|
-
locusUrl: any;
|
|
114
|
-
};
|
|
115
|
-
getMuteMemberRequestParams: (options: any) => {
|
|
116
|
-
method: string;
|
|
117
|
-
uri: string;
|
|
118
|
-
body: {
|
|
119
|
-
[x: string]: {
|
|
120
|
-
muted: any;
|
|
121
|
-
};
|
|
122
|
-
};
|
|
123
|
-
};
|
|
124
|
-
/**
|
|
125
|
-
* @param {ServerRoleShape} role
|
|
126
|
-
* @returns {ServerRoleShape} the role shape to be added to the body
|
|
127
|
-
*/
|
|
128
|
-
getAddedRoleShape: (role: ServerRoleShape) => ServerRoleShape;
|
|
129
|
-
/**
|
|
130
|
-
* @param {RoleAssignmentOptions} options
|
|
131
|
-
* @returns {RoleAssignmentRequest} the request parameters (method, uri, body) needed to make a addMember request
|
|
132
|
-
*/
|
|
133
|
-
getRoleAssignmentMemberRequestParams: (options: RoleAssignmentOptions) => RoleAssignmentRequest;
|
|
134
|
-
getRaiseHandMemberRequestParams: (options: any) => {
|
|
135
|
-
method: string;
|
|
136
|
-
uri: string;
|
|
137
|
-
body: {
|
|
138
|
-
hand: {
|
|
139
|
-
raised: any;
|
|
140
|
-
};
|
|
141
|
-
};
|
|
142
|
-
};
|
|
143
|
-
getLowerAllHandsMemberRequestParams: (options: any) => {
|
|
144
|
-
method: string;
|
|
145
|
-
uri: string;
|
|
146
|
-
body: {
|
|
147
|
-
hand: {
|
|
148
|
-
raised: boolean;
|
|
149
|
-
};
|
|
150
|
-
requestingParticipantId: any;
|
|
151
|
-
};
|
|
152
|
-
};
|
|
153
|
-
/**
|
|
154
|
-
* @param {Object} options with format of {locusUrl: string, requestingParticipantId: string}
|
|
155
|
-
* @returns {Object} request parameters (method, uri, body) needed to make a editDisplayName request
|
|
156
|
-
*/
|
|
157
|
-
editDisplayNameMemberRequestParams: (options: any) => {
|
|
158
|
-
method: string;
|
|
159
|
-
uri: string;
|
|
160
|
-
body: {
|
|
161
|
-
aliasValue: any;
|
|
162
|
-
requestingParticipantId: any;
|
|
163
|
-
};
|
|
164
|
-
};
|
|
165
|
-
getTransferHostToMemberRequestParams: (options: any) => {
|
|
166
|
-
method: string;
|
|
167
|
-
uri: string;
|
|
168
|
-
body: {
|
|
169
|
-
role: {
|
|
170
|
-
moderator: any;
|
|
171
|
-
};
|
|
172
|
-
};
|
|
173
|
-
};
|
|
174
|
-
genderateSendDTMFOptions: (url: any, tones: any, memberId: any, locusUrl: any) => {
|
|
175
|
-
url: any;
|
|
176
|
-
tones: any;
|
|
177
|
-
memberId: any;
|
|
178
|
-
locusUrl: any;
|
|
179
|
-
};
|
|
180
|
-
generateSendDTMFRequestParams: ({ url, tones, memberId, locusUrl }: {
|
|
181
|
-
url: any;
|
|
182
|
-
tones: any;
|
|
183
|
-
memberId: any;
|
|
184
|
-
locusUrl: any;
|
|
185
|
-
}) => {
|
|
186
|
-
method: string;
|
|
187
|
-
uri: string;
|
|
188
|
-
body: {
|
|
189
|
-
device: {
|
|
190
|
-
url: any;
|
|
191
|
-
};
|
|
192
|
-
memberId: any;
|
|
193
|
-
dtmf: {
|
|
194
|
-
correlationId: string;
|
|
195
|
-
tones: any;
|
|
196
|
-
direction: string;
|
|
197
|
-
};
|
|
198
|
-
};
|
|
199
|
-
};
|
|
200
|
-
cancelPhoneInviteOptions: (invitee: any, locusUrl: any) => {
|
|
201
|
-
invitee: any;
|
|
202
|
-
locusUrl: any;
|
|
203
|
-
};
|
|
204
|
-
generateCancelInviteRequestParams: (options: any) => {
|
|
205
|
-
method: string;
|
|
206
|
-
uri: any;
|
|
207
|
-
body: {
|
|
208
|
-
actionType: string;
|
|
209
|
-
invitees: {
|
|
210
|
-
address: any;
|
|
211
|
-
}[];
|
|
212
|
-
};
|
|
213
|
-
};
|
|
214
|
-
};
|
|
215
|
-
export default MembersUtil;
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
declare const BEHAVIORAL_METRICS: {
|
|
2
|
-
MEETINGS_REGISTRATION_FAILED: string;
|
|
3
|
-
MEETINGS_REGISTRATION_SUCCESS: string;
|
|
4
|
-
MEETINGS_REGISTRATION_STEP: string;
|
|
5
|
-
MERCURY_CONNECTION_FAILURE: string;
|
|
6
|
-
MERCURY_CONNECTION_RESTORED: string;
|
|
7
|
-
JOIN_SUCCESS: string;
|
|
8
|
-
JOIN_FAILURE: string;
|
|
9
|
-
ADD_MEDIA_SUCCESS: string;
|
|
10
|
-
ADD_MEDIA_FAILURE: string;
|
|
11
|
-
ADD_MEDIA_RETRY: string;
|
|
12
|
-
ROAP_MERCURY_EVENT_RECEIVED: string;
|
|
13
|
-
CONNECTION_SUCCESS: string;
|
|
14
|
-
CONNECTION_FAILURE: string;
|
|
15
|
-
MEETING_LEAVE_FAILURE: string;
|
|
16
|
-
MEETING_END_ALL_FAILURE: string;
|
|
17
|
-
MEETING_END_ALL_INITIATED: string;
|
|
18
|
-
GET_USER_MEDIA_FAILURE: string;
|
|
19
|
-
GET_DISPLAY_MEDIA_FAILURE: string;
|
|
20
|
-
JOIN_WITH_MEDIA_FAILURE: string;
|
|
21
|
-
LLM_CONNECTION_AFTER_JOIN_FAILURE: string;
|
|
22
|
-
RECEIVE_TRANSCRIPTION_AFTER_JOIN_FAILURE: string;
|
|
23
|
-
DISCONNECT_DUE_TO_INACTIVITY: string;
|
|
24
|
-
MEETING_MEDIA_INACTIVE: string;
|
|
25
|
-
MEETING_RECONNECT_FAILURE: string;
|
|
26
|
-
MEETING_MAX_REJOIN_FAILURE: string;
|
|
27
|
-
MEETING_SHARE_SUCCESS: string;
|
|
28
|
-
MEETING_SHARE_FAILURE: string;
|
|
29
|
-
MEETING_START_WHITEBOARD_SHARE_FAILURE: string;
|
|
30
|
-
MEETING_STOP_WHITEBOARD_SHARE_FAILURE: string;
|
|
31
|
-
MEETING_SHARE_VIDEO_MUTE_STATE_CHANGE: string;
|
|
32
|
-
MUTE_AUDIO_FAILURE: string;
|
|
33
|
-
MUTE_VIDEO_FAILURE: string;
|
|
34
|
-
SET_MEETING_QUALITY_FAILURE: string;
|
|
35
|
-
STOP_FLOOR_REQUEST_FAILURE: string;
|
|
36
|
-
ADD_DIAL_IN_FAILURE: string;
|
|
37
|
-
ADD_DIAL_OUT_FAILURE: string;
|
|
38
|
-
UPDATE_MEDIA_FAILURE: string;
|
|
39
|
-
UNMUTE_AUDIO_FAILURE: string;
|
|
40
|
-
UNMUTE_VIDEO_FAILURE: string;
|
|
41
|
-
ROAP_ANSWER_FAILURE: string;
|
|
42
|
-
ROAP_GLARE_CONDITION: string;
|
|
43
|
-
PEERCONNECTION_FAILURE: string;
|
|
44
|
-
INVALID_ICE_CANDIDATE: string;
|
|
45
|
-
UPLOAD_LOGS_FAILURE: string;
|
|
46
|
-
UPLOAD_LOGS_SUCCESS: string;
|
|
47
|
-
RECEIVE_TRANSCRIPTION_FAILURE: string;
|
|
48
|
-
FETCH_MEETING_INFO_V1_SUCCESS: string;
|
|
49
|
-
FETCH_MEETING_INFO_V1_FAILURE: string;
|
|
50
|
-
ADHOC_MEETING_SUCCESS: string;
|
|
51
|
-
ADHOC_MEETING_FAILURE: string;
|
|
52
|
-
VERIFY_PASSWORD_SUCCESS: string;
|
|
53
|
-
VERIFY_PASSWORD_ERROR: string;
|
|
54
|
-
VERIFY_CAPTCHA_ERROR: string;
|
|
55
|
-
MOVE_TO_SUCCESS: string;
|
|
56
|
-
MOVE_TO_FAILURE: string;
|
|
57
|
-
MOVE_FROM_SUCCESS: string;
|
|
58
|
-
MOVE_FROM_FAILURE: string;
|
|
59
|
-
TURN_DISCOVERY_FAILURE: string;
|
|
60
|
-
MEETING_INFO_POLICY_ERROR: string;
|
|
61
|
-
LOCUS_DELTA_SYNC_FAILED: string;
|
|
62
|
-
LOCUS_DELTA_OUT_OF_ORDER: string;
|
|
63
|
-
PERMISSION_TOKEN_REFRESH: string;
|
|
64
|
-
PERMISSION_TOKEN_REFRESH_ERROR: string;
|
|
65
|
-
TURN_DISCOVERY_LATENCY: string;
|
|
66
|
-
ROAP_OFFER_TO_ANSWER_LATENCY: string;
|
|
67
|
-
ROAP_HTTP_RESPONSE_MISSING: string;
|
|
68
|
-
TURN_DISCOVERY_REQUIRES_OK: string;
|
|
69
|
-
};
|
|
70
|
-
export { BEHAVIORAL_METRICS as default };
|
package/dist/metrics/index.d.ts
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Copyright (c) 2015-2020 Cisco Systems, Inc. See LICENSE file.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* @description Metrics handles all the call metrics events
|
|
6
|
-
* @export
|
|
7
|
-
* @class Metrics
|
|
8
|
-
*/
|
|
9
|
-
declare class Metrics {
|
|
10
|
-
static instance: Metrics;
|
|
11
|
-
webex: any;
|
|
12
|
-
/**
|
|
13
|
-
* Create Metrics Object
|
|
14
|
-
* @constructor
|
|
15
|
-
* @public
|
|
16
|
-
* @memberof Meetings
|
|
17
|
-
*/
|
|
18
|
-
constructor();
|
|
19
|
-
/**
|
|
20
|
-
* Initializes the Metrics singleton with a meeting Collection.
|
|
21
|
-
*
|
|
22
|
-
* @param {Object} webex webex SDK object
|
|
23
|
-
*
|
|
24
|
-
* @returns {void}
|
|
25
|
-
*/
|
|
26
|
-
initialSetup(webex: object): void;
|
|
27
|
-
/**
|
|
28
|
-
* Uploads given metric to the Metrics service as an Behavioral metric.
|
|
29
|
-
* Metadata about the environment such as browser, OS, SDK and their versions
|
|
30
|
-
* are automatically added when the metric is sent.
|
|
31
|
-
*
|
|
32
|
-
* The Metrics service will send an Behavioral metric to InfluxDB for
|
|
33
|
-
* aggregation.
|
|
34
|
-
* See https://confluence-eng-gpk2.cisco.com/conf/display/WBXT/Getting+started+with+Metrics+Service.
|
|
35
|
-
*
|
|
36
|
-
* @param {string} metricName Name of the metric (measurement) to send
|
|
37
|
-
* @param {Object} metricFields Key-valye pairs of data or values about this metric
|
|
38
|
-
* @param {Object} metricTags Key-value pairs of metric metadata
|
|
39
|
-
*
|
|
40
|
-
* @returns {void}
|
|
41
|
-
*/
|
|
42
|
-
sendBehavioralMetric(metricName: string, metricFields?: object, metricTags?: object): void;
|
|
43
|
-
}
|
|
44
|
-
declare const instance: Metrics;
|
|
45
|
-
export default instance;
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
import { StreamRequest, NamedMediaGroup } from '@webex/internal-media-core';
|
|
2
|
-
import { ReceiveSlot } from './receiveSlot';
|
|
3
|
-
export interface ActiveSpeakerPolicyInfo {
|
|
4
|
-
policy: 'active-speaker';
|
|
5
|
-
priority: number;
|
|
6
|
-
crossPriorityDuplication: boolean;
|
|
7
|
-
crossPolicyDuplication: boolean;
|
|
8
|
-
preferLiveVideo: boolean;
|
|
9
|
-
namedMediaGroups?: NamedMediaGroup[];
|
|
10
|
-
}
|
|
11
|
-
export interface ReceiverSelectedPolicyInfo {
|
|
12
|
-
policy: 'receiver-selected';
|
|
13
|
-
csi: number;
|
|
14
|
-
}
|
|
15
|
-
export type PolicyInfo = ActiveSpeakerPolicyInfo | ReceiverSelectedPolicyInfo;
|
|
16
|
-
export interface H264CodecInfo {
|
|
17
|
-
codec: 'h264';
|
|
18
|
-
maxFs?: number;
|
|
19
|
-
maxFps?: number;
|
|
20
|
-
maxMbps?: number;
|
|
21
|
-
maxWidth?: number;
|
|
22
|
-
maxHeight?: number;
|
|
23
|
-
}
|
|
24
|
-
export type CodecInfo = H264CodecInfo;
|
|
25
|
-
export interface MediaRequest {
|
|
26
|
-
policyInfo: PolicyInfo;
|
|
27
|
-
receiveSlots: Array<ReceiveSlot>;
|
|
28
|
-
codecInfo?: CodecInfo;
|
|
29
|
-
preferredMaxFs?: number;
|
|
30
|
-
handleMaxFs?: ({ maxFs }: {
|
|
31
|
-
maxFs: number;
|
|
32
|
-
}) => void;
|
|
33
|
-
}
|
|
34
|
-
export type MediaRequestId = string;
|
|
35
|
-
type DegradationPreferences = {
|
|
36
|
-
maxMacroblocksLimit: number;
|
|
37
|
-
};
|
|
38
|
-
type SendMediaRequestsCallback = (streamRequests: StreamRequest[]) => void;
|
|
39
|
-
type Kind = 'audio' | 'video';
|
|
40
|
-
type Options = {
|
|
41
|
-
degradationPreferences: DegradationPreferences;
|
|
42
|
-
kind: Kind;
|
|
43
|
-
trimRequestsToNumOfSources: boolean;
|
|
44
|
-
};
|
|
45
|
-
export declare class MediaRequestManager {
|
|
46
|
-
private sendMediaRequestsCallback;
|
|
47
|
-
private kind;
|
|
48
|
-
private counter;
|
|
49
|
-
private clientRequests;
|
|
50
|
-
private degradationPreferences;
|
|
51
|
-
private sourceUpdateListener;
|
|
52
|
-
private debouncedSourceUpdateListener;
|
|
53
|
-
private previousStreamRequests;
|
|
54
|
-
private trimRequestsToNumOfSources;
|
|
55
|
-
private numTotalSources;
|
|
56
|
-
private numLiveSources;
|
|
57
|
-
constructor(sendMediaRequestsCallback: SendMediaRequestsCallback, options: Options);
|
|
58
|
-
setDegradationPreferences(degradationPreferences: DegradationPreferences): void;
|
|
59
|
-
private getDegradedClientRequests;
|
|
60
|
-
/**
|
|
61
|
-
* Returns true if two stream requests are the same, false otherwise.
|
|
62
|
-
*
|
|
63
|
-
* @param {StreamRequest} streamRequestA - Stream request A for comparison.
|
|
64
|
-
* @param {StreamRequest} streamRequestB - Stream request B for comparison.
|
|
65
|
-
* @returns {boolean} - Whether they are equal.
|
|
66
|
-
*/
|
|
67
|
-
isEqual(streamRequestA: StreamRequest, streamRequestB: StreamRequest): boolean;
|
|
68
|
-
/**
|
|
69
|
-
* Compares new stream requests to previous ones and determines
|
|
70
|
-
* if they are the same.
|
|
71
|
-
*
|
|
72
|
-
* @param {StreamRequest[]} newRequests - Array with new requests.
|
|
73
|
-
* @returns {boolean} - True if they are equal, false otherwise.
|
|
74
|
-
*/
|
|
75
|
-
private checkIsNewRequestsEqualToPrev;
|
|
76
|
-
/**
|
|
77
|
-
* Returns the maxPayloadBitsPerSecond per Stream
|
|
78
|
-
*
|
|
79
|
-
* If MediaRequestManager kind is "audio", a constant bitrate will be returned.
|
|
80
|
-
* If MediaRequestManager kind is "video", the bitrate will be calculated based
|
|
81
|
-
* on maxFs (default h264 maxFs as fallback if maxFs is not defined)
|
|
82
|
-
*
|
|
83
|
-
* @param {MediaRequest} mediaRequest - mediaRequest to take data from
|
|
84
|
-
* @returns {number} maxPayloadBitsPerSecond
|
|
85
|
-
*/
|
|
86
|
-
private getMaxPayloadBitsPerSecond;
|
|
87
|
-
/**
|
|
88
|
-
* Returns the max Macro Blocks per second (maxMbps) per H264 Stream
|
|
89
|
-
*
|
|
90
|
-
* The maxMbps will be calculated based on maxFs and maxFps
|
|
91
|
-
* (default h264 maxFps as fallback if maxFps is not defined)
|
|
92
|
-
*
|
|
93
|
-
* @param {MediaRequest} mediaRequest - mediaRequest to take data from
|
|
94
|
-
* @returns {number} maxMbps
|
|
95
|
-
*/
|
|
96
|
-
private getH264MaxMbps;
|
|
97
|
-
/**
|
|
98
|
-
* Clears the previous stream requests.
|
|
99
|
-
*
|
|
100
|
-
* @returns {void}
|
|
101
|
-
*/
|
|
102
|
-
clearPreviousRequests(): void;
|
|
103
|
-
/** Modifies the passed in clientRequests and makes sure that in total they don't ask
|
|
104
|
-
* for more streams than there are available.
|
|
105
|
-
*
|
|
106
|
-
* @param {Object} clientRequests
|
|
107
|
-
* @returns {void}
|
|
108
|
-
*/
|
|
109
|
-
private trimRequests;
|
|
110
|
-
private getPreferLiveVideo;
|
|
111
|
-
private cloneClientRequests;
|
|
112
|
-
private sendRequests;
|
|
113
|
-
addRequest(mediaRequest: MediaRequest, commit?: boolean): MediaRequestId;
|
|
114
|
-
cancelRequest(requestId: MediaRequestId, commit?: boolean): void;
|
|
115
|
-
commit(): void;
|
|
116
|
-
reset(): void;
|
|
117
|
-
setNumCurrentSources(numTotalSources: number, numLiveSources: number): void;
|
|
118
|
-
}
|
|
119
|
-
export {};
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { MediaType, ReceiveSlot as WcmeReceiveSlot, StreamState } from '@webex/internal-media-core';
|
|
2
|
-
import EventsScope from '../common/events/events-scope';
|
|
3
|
-
export declare const ReceiveSlotEvents: {
|
|
4
|
-
SourceUpdate: string;
|
|
5
|
-
MaxFsUpdate: string;
|
|
6
|
-
};
|
|
7
|
-
export type { StreamState } from '@webex/internal-media-core';
|
|
8
|
-
export type CSI = number;
|
|
9
|
-
export type MemberId = string;
|
|
10
|
-
export type ReceiveSlotId = string;
|
|
11
|
-
export type FindMemberIdCallback = (csi: CSI) => MemberId | undefined;
|
|
12
|
-
/**
|
|
13
|
-
* Class representing a receive slot. A single receive slot is able to receive a single track
|
|
14
|
-
* for example some participant's main video or audio
|
|
15
|
-
*/
|
|
16
|
-
export declare class ReceiveSlot extends EventsScope {
|
|
17
|
-
#private;
|
|
18
|
-
private readonly mcReceiveSlot;
|
|
19
|
-
private readonly findMemberIdCallback;
|
|
20
|
-
readonly id: ReceiveSlotId;
|
|
21
|
-
readonly mediaType: MediaType;
|
|
22
|
-
/**
|
|
23
|
-
* constructor - don't use it directly, you should always use meeting.receiveSlotManager.allocateSlot()
|
|
24
|
-
* to create any receive slots
|
|
25
|
-
*
|
|
26
|
-
* @param {MediaType} mediaType
|
|
27
|
-
* @param {ReceiveSlot} mcReceiveSlot
|
|
28
|
-
* @param {FindMemberIdCallback} findMemberIdCallback callback for finding memberId for given CSI
|
|
29
|
-
*/
|
|
30
|
-
constructor(mediaType: MediaType, mcReceiveSlot: WcmeReceiveSlot, findMemberIdCallback: FindMemberIdCallback);
|
|
31
|
-
/**
|
|
32
|
-
* Getter for memberId
|
|
33
|
-
*/
|
|
34
|
-
get memberId(): string;
|
|
35
|
-
/**
|
|
36
|
-
* Getter for csi
|
|
37
|
-
*/
|
|
38
|
-
get csi(): number;
|
|
39
|
-
/**
|
|
40
|
-
* Set the max frame size for this slot
|
|
41
|
-
* @param newFs frame size
|
|
42
|
-
*/
|
|
43
|
-
setMaxFs(newFs: any): void;
|
|
44
|
-
/**
|
|
45
|
-
* Getter for sourceState
|
|
46
|
-
*/
|
|
47
|
-
get sourceState(): StreamState;
|
|
48
|
-
/**
|
|
49
|
-
* registers event handlers with the underlying ReceiveSlot
|
|
50
|
-
*/
|
|
51
|
-
private setupEventListeners;
|
|
52
|
-
/** Tries to find the member id for this receive slot if it hasn't got one */
|
|
53
|
-
findMemberId(): void;
|
|
54
|
-
/**
|
|
55
|
-
* @returns {string} a log message used to identify the receive slot
|
|
56
|
-
*/
|
|
57
|
-
get logString(): string;
|
|
58
|
-
/**
|
|
59
|
-
* The MediaStream object associated with this slot.
|
|
60
|
-
*
|
|
61
|
-
* @returns {MediaStream} The MediaStreamTrack.
|
|
62
|
-
*/
|
|
63
|
-
get stream(): MediaStream;
|
|
64
|
-
/**
|
|
65
|
-
* The underlying WCME receive slot
|
|
66
|
-
*/
|
|
67
|
-
get wcmeReceiveSlot(): WcmeReceiveSlot;
|
|
68
|
-
}
|