@webex/plugin-meetings 3.8.0 → 3.8.1-next.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +26 -13
- package/dist/breakouts/breakout.js +1 -1
- package/dist/breakouts/index.js +70 -6
- package/dist/breakouts/index.js.map +1 -1
- package/dist/common/errors/webex-errors.js +12 -2
- package/dist/common/errors/webex-errors.js.map +1 -1
- package/dist/config.js +5 -1
- package/dist/config.js.map +1 -1
- package/dist/constants.js +28 -123
- package/dist/constants.js.map +1 -1
- package/dist/controls-options-manager/enums.js +3 -0
- package/dist/controls-options-manager/enums.js.map +1 -1
- package/dist/controls-options-manager/types.js.map +1 -1
- package/dist/controls-options-manager/util.js +78 -0
- package/dist/controls-options-manager/util.js.map +1 -1
- package/dist/interpretation/index.js +4 -4
- package/dist/interpretation/index.js.map +1 -1
- package/dist/interpretation/siLanguage.js +1 -1
- package/dist/locus-info/controlsUtils.js +37 -11
- package/dist/locus-info/controlsUtils.js.map +1 -1
- package/dist/locus-info/index.js +92 -12
- package/dist/locus-info/index.js.map +1 -1
- package/dist/locus-info/selfUtils.js +432 -418
- package/dist/locus-info/selfUtils.js.map +1 -1
- package/dist/media/index.js +17 -17
- package/dist/media/index.js.map +1 -1
- package/dist/media/properties.js +94 -6
- package/dist/media/properties.js.map +1 -1
- package/dist/meeting/brbState.js +9 -2
- package/dist/meeting/brbState.js.map +1 -1
- package/dist/meeting/in-meeting-actions.js +21 -1
- package/dist/meeting/in-meeting-actions.js.map +1 -1
- package/dist/meeting/index.js +678 -344
- package/dist/meeting/index.js.map +1 -1
- package/dist/meeting/locusMediaRequest.js +21 -22
- package/dist/meeting/locusMediaRequest.js.map +1 -1
- package/dist/meeting/muteState.js +4 -4
- package/dist/meeting/muteState.js.map +1 -1
- package/dist/meeting/request.js +30 -0
- package/dist/meeting/request.js.map +1 -1
- package/dist/meeting/request.type.js.map +1 -1
- package/dist/meeting/util.js +13 -2
- package/dist/meeting/util.js.map +1 -1
- package/dist/meeting-info/meeting-info-v2.js +373 -68
- package/dist/meeting-info/meeting-info-v2.js.map +1 -1
- package/dist/meeting-info/utilv2.js +5 -1
- package/dist/meeting-info/utilv2.js.map +1 -1
- package/dist/meetings/index.js +136 -1
- package/dist/meetings/index.js.map +1 -1
- package/dist/meetings/util.js +14 -0
- package/dist/meetings/util.js.map +1 -1
- package/dist/member/index.js +55 -9
- package/dist/member/index.js.map +1 -1
- package/dist/member/types.js +3 -0
- package/dist/member/types.js.map +1 -1
- package/dist/member/util.js +335 -353
- package/dist/member/util.js.map +1 -1
- package/dist/members/collection.js.map +1 -1
- package/dist/members/index.js +137 -29
- package/dist/members/index.js.map +1 -1
- package/dist/members/request.js +38 -0
- package/dist/members/request.js.map +1 -1
- package/dist/members/util.js +36 -1
- package/dist/members/util.js.map +1 -1
- package/dist/metrics/constants.js +10 -0
- package/dist/metrics/constants.js.map +1 -1
- package/dist/multistream/remoteMediaManager.js +40 -8
- package/dist/multistream/remoteMediaManager.js.map +1 -1
- package/dist/reachability/clusterReachability.js +63 -27
- package/dist/reachability/clusterReachability.js.map +1 -1
- package/dist/reachability/index.js +107 -47
- package/dist/reachability/index.js.map +1 -1
- package/dist/reachability/reachability.types.js +14 -0
- package/dist/reachability/reachability.types.js.map +1 -1
- package/dist/reachability/request.js +19 -3
- package/dist/reachability/request.js.map +1 -1
- package/dist/reconnection-manager/index.js +2 -2
- package/dist/reconnection-manager/index.js.map +1 -1
- package/dist/recording-controller/util.js +5 -5
- package/dist/recording-controller/util.js.map +1 -1
- package/dist/roap/index.js.map +1 -1
- package/dist/roap/turnDiscovery.js +45 -27
- package/dist/roap/turnDiscovery.js.map +1 -1
- package/dist/roap/types.js +17 -0
- package/dist/roap/types.js.map +1 -0
- package/dist/types/common/errors/webex-errors.d.ts +7 -1
- package/dist/types/config.d.ts +3 -0
- package/dist/types/constants.d.ts +20 -85
- package/dist/types/controls-options-manager/enums.d.ts +4 -1
- package/dist/types/controls-options-manager/types.d.ts +10 -1
- package/dist/types/locus-info/index.d.ts +3 -3
- package/dist/types/locus-info/selfUtils.d.ts +216 -1
- package/dist/types/media/properties.d.ts +15 -0
- package/dist/types/meeting/in-meeting-actions.d.ts +20 -0
- package/dist/types/meeting/index.d.ts +65 -1
- package/dist/types/meeting/muteState.d.ts +0 -1
- package/dist/types/meeting/request.d.ts +12 -1
- package/dist/types/meeting/request.type.d.ts +6 -0
- package/dist/types/meeting/util.d.ts +3 -1
- package/dist/types/meeting-info/meeting-info-v2.d.ts +82 -1
- package/dist/types/meetings/index.d.ts +57 -0
- package/dist/types/member/index.d.ts +21 -6
- package/dist/types/member/types.d.ts +73 -14
- package/dist/types/member/util.d.ts +156 -1
- package/dist/types/members/collection.d.ts +6 -5
- package/dist/types/members/index.d.ts +32 -43
- package/dist/types/members/request.d.ts +26 -0
- package/dist/types/members/util.d.ts +27 -0
- package/dist/types/metrics/constants.d.ts +10 -0
- package/dist/types/multistream/remoteMediaManager.d.ts +10 -1
- package/dist/types/reachability/clusterReachability.d.ts +15 -7
- package/dist/types/reachability/index.d.ts +10 -1
- package/dist/types/reachability/reachability.types.d.ts +5 -0
- package/dist/types/roap/index.d.ts +3 -2
- package/dist/types/roap/turnDiscovery.d.ts +5 -17
- package/dist/types/roap/types.d.ts +16 -0
- package/dist/webinar/index.js +2 -2
- package/dist/webinar/index.js.map +1 -1
- package/package.json +24 -23
- package/src/breakouts/index.ts +69 -0
- package/src/common/errors/webex-errors.ts +8 -1
- package/src/config.ts +3 -0
- package/src/constants.ts +30 -90
- package/src/controls-options-manager/enums.ts +3 -0
- package/src/controls-options-manager/types.ts +16 -1
- package/src/controls-options-manager/util.ts +93 -0
- package/src/interpretation/index.ts +3 -3
- package/src/locus-info/controlsUtils.ts +59 -14
- package/src/locus-info/index.ts +97 -13
- package/src/locus-info/selfUtils.ts +496 -442
- package/src/media/index.ts +23 -21
- package/src/media/properties.ts +96 -0
- package/src/meeting/brbState.ts +11 -2
- package/src/meeting/in-meeting-actions.ts +40 -0
- package/src/meeting/index.ts +470 -105
- package/src/meeting/locusMediaRequest.ts +27 -22
- package/src/meeting/muteState.ts +4 -4
- package/src/meeting/request.ts +36 -1
- package/src/meeting/request.type.ts +7 -0
- package/src/meeting/util.ts +11 -2
- package/src/meeting-info/meeting-info-v2.ts +254 -8
- package/src/meeting-info/utilv2.ts +5 -0
- package/src/meetings/index.ts +148 -1
- package/src/meetings/util.ts +18 -0
- package/src/member/index.ts +68 -22
- package/src/member/types.ts +82 -16
- package/src/member/util.ts +357 -350
- package/src/members/collection.ts +4 -3
- package/src/members/index.ts +137 -18
- package/src/members/request.ts +44 -0
- package/src/members/util.ts +43 -1
- package/src/metrics/constants.ts +10 -0
- package/src/multistream/remoteMediaManager.ts +32 -10
- package/src/reachability/clusterReachability.ts +73 -26
- package/src/reachability/index.ts +62 -1
- package/src/reachability/reachability.types.ts +6 -0
- package/src/reachability/request.ts +7 -0
- package/src/reconnection-manager/index.ts +2 -2
- package/src/recording-controller/util.ts +17 -13
- package/src/roap/index.ts +3 -7
- package/src/roap/turnDiscovery.ts +34 -39
- package/src/roap/types.ts +23 -0
- package/src/webinar/index.ts +1 -1
- package/test/unit/spec/breakouts/index.ts +167 -95
- package/test/unit/spec/controls-options-manager/util.js +178 -0
- package/test/unit/spec/interpretation/index.ts +39 -1
- package/test/unit/spec/locus-info/controlsUtils.js +155 -9
- package/test/unit/spec/locus-info/index.js +209 -73
- package/test/unit/spec/locus-info/selfUtils.js +98 -24
- package/test/unit/spec/media/index.ts +150 -18
- package/test/unit/spec/media/properties.ts +130 -0
- package/test/unit/spec/meeting/brbState.ts +40 -2
- package/test/unit/spec/meeting/in-meeting-actions.ts +23 -4
- package/test/unit/spec/meeting/index.js +804 -139
- package/test/unit/spec/meeting/locusMediaRequest.ts +95 -87
- package/test/unit/spec/meeting/muteState.js +73 -2
- package/test/unit/spec/meeting/request.js +32 -1
- package/test/unit/spec/meeting/utils.js +119 -18
- package/test/unit/spec/meeting-info/meetinginfov2.js +484 -114
- package/test/unit/spec/meeting-info/utilv2.js +19 -0
- package/test/unit/spec/meetings/index.js +146 -2
- package/test/unit/spec/member/index.js +7 -0
- package/test/unit/spec/member/util.js +24 -0
- package/test/unit/spec/members/index.js +304 -78
- package/test/unit/spec/members/request.js +68 -22
- package/test/unit/spec/members/utils.js +75 -0
- package/test/unit/spec/multistream/remoteMediaManager.ts +397 -118
- package/test/unit/spec/reachability/clusterReachability.ts +88 -56
- package/test/unit/spec/reachability/index.ts +97 -0
- package/test/unit/spec/reachability/request.js +47 -2
- package/test/unit/spec/reconnection-manager/index.js +4 -4
- package/test/unit/spec/roap/turnDiscovery.ts +110 -28
- package/test/unit/spec/webinar/index.ts +5 -0
- package/dist/annotation/annotation.types.d.ts +0 -42
- package/dist/annotation/constants.d.ts +0 -31
- package/dist/annotation/index.d.ts +0 -117
- package/dist/breakouts/breakout.d.ts +0 -8
- package/dist/breakouts/collection.d.ts +0 -5
- package/dist/breakouts/edit-lock-error.d.ts +0 -15
- package/dist/breakouts/events.d.ts +0 -8
- package/dist/breakouts/index.d.ts +0 -5
- package/dist/breakouts/request.d.ts +0 -22
- package/dist/breakouts/utils.d.ts +0 -15
- package/dist/common/browser-detection.d.ts +0 -9
- package/dist/common/collection.d.ts +0 -48
- package/dist/common/config.d.ts +0 -2
- package/dist/common/errors/captcha-error.d.ts +0 -15
- package/dist/common/errors/intent-to-join.d.ts +0 -16
- package/dist/common/errors/join-meeting.d.ts +0 -17
- package/dist/common/errors/media.d.ts +0 -15
- package/dist/common/errors/no-meeting-info.d.ts +0 -14
- package/dist/common/errors/parameter.d.ts +0 -15
- package/dist/common/errors/password-error.d.ts +0 -15
- package/dist/common/errors/permission.d.ts +0 -14
- package/dist/common/errors/reclaim-host-role-error.js +0 -149
- package/dist/common/errors/reclaim-host-role-error.js.map +0 -1
- package/dist/common/errors/reclaim-host-role-errors.d.ts +0 -60
- package/dist/common/errors/reconnection-in-progress.d.ts +0 -9
- package/dist/common/errors/reconnection-in-progress.js +0 -33
- package/dist/common/errors/reconnection-in-progress.js.map +0 -1
- package/dist/common/errors/reconnection.d.ts +0 -15
- package/dist/common/errors/stats.d.ts +0 -15
- package/dist/common/errors/webex-errors.d.ts +0 -93
- package/dist/common/errors/webex-meetings-error.d.ts +0 -20
- package/dist/common/events/events-scope.d.ts +0 -17
- package/dist/common/events/events.d.ts +0 -12
- package/dist/common/events/trigger-proxy.d.ts +0 -2
- package/dist/common/events/util.d.ts +0 -2
- package/dist/common/logs/logger-config.d.ts +0 -2
- package/dist/common/logs/logger-proxy.d.ts +0 -2
- package/dist/common/logs/request.d.ts +0 -36
- package/dist/common/queue.d.ts +0 -34
- package/dist/config.d.ts +0 -72
- package/dist/constants.d.ts +0 -1088
- package/dist/controls-options-manager/constants.d.ts +0 -4
- package/dist/controls-options-manager/enums.d.ts +0 -15
- package/dist/controls-options-manager/index.d.ts +0 -136
- package/dist/controls-options-manager/types.d.ts +0 -43
- package/dist/controls-options-manager/util.d.ts +0 -1
- package/dist/index.d.ts +0 -7
- package/dist/interceptors/index.d.ts +0 -2
- package/dist/interceptors/locusRetry.d.ts +0 -27
- package/dist/interpretation/collection.d.ts +0 -5
- package/dist/interpretation/index.d.ts +0 -5
- package/dist/interpretation/siLanguage.d.ts +0 -5
- package/dist/locus-info/controlsUtils.d.ts +0 -2
- package/dist/locus-info/embeddedAppsUtils.d.ts +0 -2
- package/dist/locus-info/fullState.d.ts +0 -2
- package/dist/locus-info/hostUtils.d.ts +0 -2
- package/dist/locus-info/index.d.ts +0 -322
- package/dist/locus-info/infoUtils.d.ts +0 -2
- package/dist/locus-info/mediaSharesUtils.d.ts +0 -2
- package/dist/locus-info/parser.d.ts +0 -272
- package/dist/locus-info/selfUtils.d.ts +0 -2
- package/dist/media/index.d.ts +0 -34
- package/dist/media/properties.d.ts +0 -93
- package/dist/media/util.d.ts +0 -2
- package/dist/mediaQualityMetrics/config.d.ts +0 -241
- package/dist/mediaQualityMetrics/config.js +0 -502
- package/dist/mediaQualityMetrics/config.js.map +0 -1
- package/dist/meeting/effectsState.js +0 -260
- package/dist/meeting/effectsState.js.map +0 -1
- package/dist/meeting/in-meeting-actions.d.ts +0 -167
- package/dist/meeting/index.d.ts +0 -1825
- package/dist/meeting/locusMediaRequest.d.ts +0 -74
- package/dist/meeting/muteState.d.ts +0 -178
- package/dist/meeting/request.d.ts +0 -295
- package/dist/meeting/request.type.d.ts +0 -11
- package/dist/meeting/state.d.ts +0 -9
- package/dist/meeting/util.d.ts +0 -119
- package/dist/meeting/voicea-meeting.d.ts +0 -16
- package/dist/meeting-info/collection.d.ts +0 -20
- package/dist/meeting-info/index.d.ts +0 -69
- package/dist/meeting-info/meeting-info-v2.d.ts +0 -123
- package/dist/meeting-info/request.d.ts +0 -22
- package/dist/meeting-info/util.d.ts +0 -2
- package/dist/meeting-info/utilv2.d.ts +0 -2
- package/dist/meetings/collection.d.ts +0 -40
- package/dist/meetings/index.d.ts +0 -390
- package/dist/meetings/meetings.types.d.ts +0 -4
- package/dist/meetings/request.d.ts +0 -27
- package/dist/meetings/util.d.ts +0 -18
- package/dist/member/index.d.ts +0 -160
- package/dist/member/member.types.js +0 -17
- package/dist/member/member.types.js.map +0 -1
- package/dist/member/types.d.ts +0 -32
- package/dist/member/util.d.ts +0 -2
- package/dist/members/collection.d.ts +0 -29
- package/dist/members/index.d.ts +0 -353
- package/dist/members/request.d.ts +0 -114
- package/dist/members/types.d.ts +0 -25
- package/dist/members/util.d.ts +0 -215
- package/dist/metrics/config.js +0 -276
- package/dist/metrics/config.js.map +0 -1
- package/dist/metrics/constants.d.ts +0 -70
- package/dist/metrics/index.d.ts +0 -45
- package/dist/multistream/mediaRequestManager.d.ts +0 -119
- package/dist/multistream/receiveSlot.d.ts +0 -68
- package/dist/multistream/receiveSlotManager.d.ts +0 -56
- package/dist/multistream/remoteMedia.d.ts +0 -72
- package/dist/multistream/remoteMediaGroup.d.ts +0 -49
- package/dist/multistream/remoteMediaManager.d.ts +0 -300
- package/dist/multistream/sendSlotManager.d.ts +0 -69
- package/dist/networkQualityMonitor/index.d.ts +0 -70
- package/dist/networkQualityMonitor/index.js +0 -221
- package/dist/networkQualityMonitor/index.js.map +0 -1
- package/dist/peer-connection-manager/index.js +0 -671
- package/dist/peer-connection-manager/index.js.map +0 -1
- package/dist/peer-connection-manager/util.js +0 -109
- package/dist/peer-connection-manager/util.js.map +0 -1
- package/dist/personal-meeting-room/index.d.ts +0 -47
- package/dist/personal-meeting-room/request.d.ts +0 -14
- package/dist/personal-meeting-room/util.d.ts +0 -2
- package/dist/reachability/clusterReachability.d.ts +0 -109
- package/dist/reachability/index.d.ts +0 -105
- package/dist/reachability/request.d.ts +0 -39
- package/dist/reachability/util.d.ts +0 -8
- package/dist/reactions/constants.d.ts +0 -3
- package/dist/reactions/reactions.d.ts +0 -4
- package/dist/reactions/reactions.type.d.ts +0 -52
- package/dist/reconnection-manager/index.d.ts +0 -136
- package/dist/recording-controller/enums.d.ts +0 -7
- package/dist/recording-controller/index.d.ts +0 -207
- package/dist/recording-controller/util.d.ts +0 -14
- package/dist/roap/collection.js +0 -62
- package/dist/roap/collection.js.map +0 -1
- package/dist/roap/handler.js +0 -275
- package/dist/roap/handler.js.map +0 -1
- package/dist/roap/index.d.ts +0 -86
- package/dist/roap/request.d.ts +0 -39
- package/dist/roap/state.js +0 -126
- package/dist/roap/state.js.map +0 -1
- package/dist/roap/turnDiscovery.d.ts +0 -155
- package/dist/roap/util.js +0 -75
- package/dist/roap/util.js.map +0 -1
- package/dist/rtcMetrics/constants.d.ts +0 -4
- package/dist/rtcMetrics/constants.js +0 -11
- package/dist/rtcMetrics/constants.js.map +0 -1
- package/dist/rtcMetrics/index.d.ts +0 -61
- package/dist/rtcMetrics/index.js +0 -197
- package/dist/rtcMetrics/index.js.map +0 -1
- package/dist/statsAnalyzer/global.d.ts +0 -36
- package/dist/statsAnalyzer/global.js +0 -126
- package/dist/statsAnalyzer/global.js.map +0 -1
- package/dist/statsAnalyzer/index.d.ts +0 -217
- package/dist/statsAnalyzer/index.js +0 -1013
- package/dist/statsAnalyzer/index.js.map +0 -1
- package/dist/statsAnalyzer/mqaUtil.d.ts +0 -48
- package/dist/statsAnalyzer/mqaUtil.js +0 -179
- package/dist/statsAnalyzer/mqaUtil.js.map +0 -1
- package/dist/transcription/index.d.ts +0 -64
- package/dist/types/common/errors/reconnection-in-progress.d.ts +0 -9
- package/dist/types/mediaQualityMetrics/config.d.ts +0 -241
- package/dist/types/networkQualityMonitor/index.d.ts +0 -70
- package/dist/types/rtcMetrics/constants.d.ts +0 -4
- package/dist/types/rtcMetrics/index.d.ts +0 -71
- package/dist/types/statsAnalyzer/global.d.ts +0 -36
- package/dist/types/statsAnalyzer/index.d.ts +0 -217
- package/dist/types/statsAnalyzer/mqaUtil.d.ts +0 -48
- package/dist/webinar/collection.d.ts +0 -16
- package/dist/webinar/index.d.ts +0 -5
@@ -1,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;
|
package/dist/metrics/config.js
DELETED
@@ -1,276 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
var _Object$defineProperty = require("@babel/runtime-corejs2/core-js/object/define-property");
|
4
|
-
_Object$defineProperty(exports, "__esModule", {
|
5
|
-
value: true
|
6
|
-
});
|
7
|
-
exports.trigger = exports.statusCodes = exports.reconnection = exports.pstnAudioType = exports.mediaType = exports.eventType = exports.errorObjects = exports.errorCodes = exports.error = exports.displayLocation = exports.UNKNOWN = exports.PLATFORM = exports.CLIENT_NAME = void 0;
|
8
|
-
var errorDescription = {
|
9
|
-
UNKNOWN_CALL_FAILURE: 'UnknownCallFailure',
|
10
|
-
LOCUS_RATE_LIMITED_INCOMING: 'LocusRateLimitedIncoming',
|
11
|
-
LOCUS_RATE_LIMITED_OUTGOING: 'LocusRateLimitedOutgoing',
|
12
|
-
LOCUS_UNAVAILABLE: 'LocusUnavailable',
|
13
|
-
LOCUS_CONFLICT: 'LocusConflict',
|
14
|
-
TIMEOUT: 'Timeout',
|
15
|
-
LOCUS_INVALID_SEQUENCE_HASH: 'LocusInvalidSequenceHash',
|
16
|
-
UPDATE_MEDIA_FAILED: 'UpdateMediaFailed',
|
17
|
-
FAILED_TO_CONNECT_MEDIA: 'FailedToConnectMedia',
|
18
|
-
MEDIA_ENGINE_LOST: 'MediaEngineLost',
|
19
|
-
MEDIA_CONNECTION_LOST: 'MediaConnectionLost',
|
20
|
-
ICE_FAILURE: 'IceFailure',
|
21
|
-
MEDIA_ENGINE_HANG: 'MediaEngineHang',
|
22
|
-
ICE_SERVER_REJECTED: 'IceServerRejected',
|
23
|
-
CALL_FULL: 'CallFull',
|
24
|
-
ROOM_TOO_LARGE: 'RoomTooLarge',
|
25
|
-
GUEST_ALREADY_ADDED: 'GuestAlreadyAdded',
|
26
|
-
LOCUS_USER_NOT_AUTHORISED: 'LocusUserNotAuthorised',
|
27
|
-
CLOUDBERRY_UNAVAILABLE: 'CloudberryUnavailable',
|
28
|
-
ROOM_TOO_LARGE_FREE_ACCOUNT: 'RoomTooLarge_FreeAccount',
|
29
|
-
MEETING_INACTIVE: 'MeetingInactive',
|
30
|
-
MEETING_LOCKED: 'MeetingLocked',
|
31
|
-
MEETING_TERMINATING: 'MeetingTerminating',
|
32
|
-
MODERATOR_PIN_OR_GUEST_REQUIRED: 'Moderator_Pin_Or_Guest_Required',
|
33
|
-
MODERATOR_PIN_OR_GUEST_PIN_REQUIRED: 'Moderator_Pin_Or_Guest_PIN_Required',
|
34
|
-
MODERATOR_REQUIRED: 'Moderator_Required',
|
35
|
-
USER_NOT_MEMBER_OF_ROOM: 'UserNotMemberOfRoom',
|
36
|
-
NEW_LOCUS_ERROR: 'NewLocusError',
|
37
|
-
NET_WORK_UNAVAILABLE: 'NetworkUnavailable',
|
38
|
-
MEETING_UNAVAILABLE: 'MeetingUnavailable',
|
39
|
-
MEETING_ID_INVALID: 'MeetingIDInvalid',
|
40
|
-
MEETING_SITE_INVALID: 'MeetingSiteInvalid',
|
41
|
-
LOCUS_INVALID_JOINTIME: 'LocusInvalidJoinTime',
|
42
|
-
LOBBY_EXPIRED: 'LobbyExpired',
|
43
|
-
MEDIA_CONNECTION_LOST_PAIRED: 'MediaConnectionLostPaired',
|
44
|
-
PHONE_NUMBER_NOT_A_NUMBER: 'PhoneNumberNotANumber',
|
45
|
-
PHONE_NUMBER_TOO_LONG: 'PhoneNumberTooLong',
|
46
|
-
INVALID_DIALABLE_KEY: 'InvalidDialableKey',
|
47
|
-
ONE_ON_ONE_TO_SELF_NOT_ALLOWED: 'OneOnOneToSelfNotAllowed',
|
48
|
-
REMOVED_PARTICIPANT: 'RemovedParticipant',
|
49
|
-
MEETING_LINK_NOT_FOUND: 'MeetingLinkNotFound',
|
50
|
-
PHONE_NUMBER_TOO_SHORT_AFTER_IDD: 'PhoneNumberTooShortAfterIdd',
|
51
|
-
INVALID_INVITEE_ADDRESS: 'InvalidInviteeAddress',
|
52
|
-
PMR_USER_ACCOUNT_LOCKED_OUT: 'PMRUserAccountLockedOut',
|
53
|
-
GUEST_FORBIDDEN: 'GuestForbidden',
|
54
|
-
PMR_ACCOUNT_SUSPENDED: 'PMRAccountSuspended',
|
55
|
-
EMPTY_PHONE_NUMBER_OR_COUNTRY_CODE: 'EmptyPhoneNumberOrCountryCode',
|
56
|
-
CONVERSATION_NOT_FOUND: 'ConversationNotFound',
|
57
|
-
SIP_CALLEE_BUSY: 'SIPCalleeBusy',
|
58
|
-
SIP_CALLEE_NOT_FOUND: 'SIPCalleeNotFound',
|
59
|
-
START_RECORDING_FAILED: 'StartRecordingFailed',
|
60
|
-
RECORDING_IN_PROGRESS_FAILED: 'RecordingInProgressFailed'
|
61
|
-
};
|
62
|
-
var errorCategory = {
|
63
|
-
SIGNALING: 'signaling',
|
64
|
-
MEDIA: 'media',
|
65
|
-
OTHER: 'other',
|
66
|
-
EXPECTED: 'expected'
|
67
|
-
};
|
68
|
-
var errorFailureType = {
|
69
|
-
CALL_INITIATION_FAILURE: 'CallInitiationFailure',
|
70
|
-
MEDIA_CONNECTION_FAILURE: 'MediaConnectionFailure',
|
71
|
-
EXPECTED_FAILURE: 'ExpectedFailure',
|
72
|
-
ACCESS_RIGHTS: 'AccessRights'
|
73
|
-
};
|
74
|
-
var eventType = exports.eventType = {
|
75
|
-
// media quality events every 60 seconds
|
76
|
-
MEDIA_QUALITY: 'client.mediaquality.event',
|
77
|
-
CALL_INITIATED: 'client.call.initiated',
|
78
|
-
MERCURY_CONNECTION_LOST: 'client.mercury.connection.lost',
|
79
|
-
MERCURY_CONNECTION_RESTORED: 'client.mercury.connection.restored',
|
80
|
-
MOVE_MEDIA: 'client.call.move-media',
|
81
|
-
LOCAL_SDP_GENERATED: 'client.media-engine.local-sdp-generated',
|
82
|
-
REMOTE_SDP_RECEIVED: 'client.media-engine.remote-sdp-received',
|
83
|
-
LOCUS_JOIN_REQUEST: 'client.locus.join.request',
|
84
|
-
LOCUS_JOIN_RESPONSE: 'client.locus.join.response',
|
85
|
-
ALERT_DISPLAYED: 'client.alert.displayed',
|
86
|
-
// when ICE negotiation starts
|
87
|
-
ICE_START: 'client.ice.start',
|
88
|
-
ICE_END: 'client.ice.end',
|
89
|
-
ICE_DISCONNECT: 'client.ice.disconnect',
|
90
|
-
// Fired when the media engine reports receiving a new media stream. Media events MUST have the mediaType property.
|
91
|
-
RECEIVING_MEDIA_START: 'client.media.rx.start',
|
92
|
-
// Fired when the media engine reports the end of receiving a media stream.
|
93
|
-
// Media events MUST have the mediaType property.
|
94
|
-
RECEIVING_MEDIA_STOP: 'client.media.rx.stop',
|
95
|
-
// Fired when the media engine reports sending a new media stream. Media events MUST have the mediaType property.
|
96
|
-
SENDING_MEDIA_START: 'client.media.tx.start',
|
97
|
-
// Fired when the media engine reports it stopped sending a media stream.
|
98
|
-
// Media events MUST have the mediaType property.
|
99
|
-
SENDING_MEDIA_STOP: 'client.media.tx.stop',
|
100
|
-
MEDIA_RENDER_START: 'client.media.render.start',
|
101
|
-
MEDIA_RENDER_STOP: 'client.media.render.stop',
|
102
|
-
// static media event when outside of the normal scenario
|
103
|
-
// call-analyzer assumes that a client is capable of receiving audio, video, and share
|
104
|
-
// fired on change, or at beginning of a call
|
105
|
-
// every media type is required, so must be indicated with boolean
|
106
|
-
MEDIA_CAPABILITIES: 'client.media.capabilities',
|
107
|
-
// Sent when the client notices that a media session has been lost
|
108
|
-
MEDIA_RECONNECTING: 'client.media.reconnecting',
|
109
|
-
// Sent when the client recovers a media session that was lost
|
110
|
-
MEDIA_RECOVERED: 'client.media.recovered',
|
111
|
-
CALL_ABORTED: 'client.call.aborted',
|
112
|
-
// Fired when the "please enter your PIN" or similar prompt is displayed
|
113
|
-
// to the user, to authenticate them into the meeting
|
114
|
-
PIN_PROMPT: 'client.pin.prompt',
|
115
|
-
// Fired when PIN entry has been completed
|
116
|
-
PIN_COLLECTED: 'client.pin.collected',
|
117
|
-
// Fired when the client displays the native lobby
|
118
|
-
LOBBY_ENTERED: 'client.lobby.entered',
|
119
|
-
// Fired when the client leaves the native lobby
|
120
|
-
LOBBY_EXITED: 'client.lobby.exited',
|
121
|
-
// Fired when the user of the client starts a share (e.g. click 'Share' button).
|
122
|
-
// This should be sent from all clients that support sending a share.
|
123
|
-
SHARE_INITIATED: 'client.share.initiated',
|
124
|
-
// Fired when the user stops sharing (usually when they click the 'Stop' button for share)
|
125
|
-
SHARE_STOPPED: 'client.share.stopped',
|
126
|
-
// When the client receives a successful response from locus indicating that it has the floor for content sharing.
|
127
|
-
LOCAL_SHARE_FLOOR_GRANTED: 'client.share.floor-granted.local',
|
128
|
-
// Fired when the client changes its local UI/layout to a content sharing view,
|
129
|
-
// because it is expecting to display share media.
|
130
|
-
SHARE_LAYOUT_DISPLAYED: 'client.share.layout.displayed',
|
131
|
-
// Fired when the user of the client starts a whiteboard share (e.g. click 'Share Live' button).
|
132
|
-
WHITEBOARD_SHARE_INITIATED: 'client.whiteboard.share.initiated',
|
133
|
-
// Fired when the meeting floor is released for whiteboard share
|
134
|
-
WHITEBOARD_SHARE_STOPPED: 'client.whiteboard.share.stopped',
|
135
|
-
// When the client receives a successful response from locus indicating that it has the floor for whiteboard sharing.
|
136
|
-
WHITEBOARD_SHARE_FLOOR_GRANTED: 'client.whiteboard.share.floor-granted',
|
137
|
-
MUTED: 'client.muted',
|
138
|
-
UNMUTED: 'client.unmuted',
|
139
|
-
LEAVE: 'client.call.leave',
|
140
|
-
REMOTE_ENDED: 'client.call.remote-ended',
|
141
|
-
REMOTE_STARTED: 'client.call.remote-started',
|
142
|
-
MEDIA_REQUEST: 'client.locus.media.request',
|
143
|
-
MEDIA_RESPONSE: 'client.locus.media.response',
|
144
|
-
PSTN_AUDIO_ATTEMPT_START: 'client.pstnaudio.attempt.start',
|
145
|
-
PSTN_AUDIO_ATTEMPT_FINISH: 'client.pstnaudio.attempt.finish',
|
146
|
-
PSTN_AUDIO_ATTEMPT_SKIP: 'client.pstnaudio.attempt.skip'
|
147
|
-
};
|
148
|
-
var error = exports.error = {
|
149
|
-
name: {
|
150
|
-
MEDIA_ENGINE: 'media-engine',
|
151
|
-
ICE_FAILED: 'ice.failed',
|
152
|
-
LOCUS_RESPONSE: 'locus.response',
|
153
|
-
LOCUS_LEAVE: 'locus.leave',
|
154
|
-
OTHER: 'other'
|
155
|
-
},
|
156
|
-
notFatalErrorList: [3003, 3004, 4004, 4005, 4006, 4015],
|
157
|
-
errors: {
|
158
|
-
// https://sqbu-github.cisco.com/WebExSquared/event-dictionary/wiki/Error-codes-for-metric-events
|
159
|
-
// [errorDescription, errorFailureType, errorCategory]
|
160
|
-
1000: [errorDescription.UNKNOWN_CALL_FAILURE, errorFailureType.CALL_INITIATION_FAILURE, errorCategory.SIGNALING],
|
161
|
-
1001: [errorDescription.LOCUS_RATE_LIMITED_INCOMING, errorFailureType.CALL_INITIATION_FAILURE, errorCategory.SIGNALING],
|
162
|
-
1002: [errorDescription.LOCUS_RATE_LIMITED_OUTGOING, errorFailureType.CALL_INITIATION_FAILURE, errorCategory.SIGNALING],
|
163
|
-
1003: [errorDescription.LOCUS_UNAVAILABLE, errorFailureType.CALL_INITIATION_FAILURE, errorCategory.SIGNALING],
|
164
|
-
1004: [errorDescription.LOCUS_CONFLICT, errorFailureType.CALL_INITIATION_FAILURE, errorCategory.SIGNALING],
|
165
|
-
1005: [errorDescription.TIMEOUT, errorFailureType.CALL_INITIATION_FAILURE, errorCategory.SIGNALING],
|
166
|
-
1006: [errorDescription.LOCUS_INVALID_SEQUENCE_HASH, errorFailureType.CALL_INITIATION_FAILURE, errorCategory.SIGNALING],
|
167
|
-
1007: [errorDescription.UPDATE_MEDIA_FAILED, errorFailureType.CALL_INITIATION_FAILURE, errorCategory.SIGNALING],
|
168
|
-
2001: [errorDescription.FAILED_TO_CONNECT_MEDIA, errorFailureType.MEDIA_CONNECTION_FAILURE, errorCategory.SIGNALING],
|
169
|
-
2002: [errorDescription.MEDIA_ENGINE_LOST, errorFailureType.MEDIA_CONNECTION_FAILURE, errorCategory.SIGNALING],
|
170
|
-
2003: [errorDescription.MEDIA_CONNECTION_LOST, errorFailureType.MEDIA_CONNECTION_FAILURE, errorCategory.SIGNALING],
|
171
|
-
2004: [errorDescription.ICE_FAILURE, errorFailureType.MEDIA_CONNECTION_FAILURE, errorCategory.SIGNALING],
|
172
|
-
2005: [errorDescription.MEDIA_ENGINE_HANG, errorFailureType.MEDIA_CONNECTION_FAILURE, errorCategory.SIGNALING],
|
173
|
-
2006: [errorDescription.ICE_SERVER_REJECTED, errorFailureType.MEDIA_CONNECTION_FAILURE, errorCategory.SIGNALING],
|
174
|
-
3001: [errorDescription.CALL_FULL, errorFailureType.EXPECTED_FAILURE, errorCategory.EXPECTED],
|
175
|
-
3002: [errorDescription.ROOM_TOO_LARGE, errorFailureType.EXPECTED_FAILURE, errorCategory.EXPECTED],
|
176
|
-
3004: [errorDescription.GUEST_ALREADY_ADDED, errorFailureType.EXPECTED_FAILURE, errorCategory.EXPECTED],
|
177
|
-
3005: [errorDescription.LOCUS_USER_NOT_AUTHORISED, errorFailureType.EXPECTED_FAILURE, errorCategory.EXPECTED],
|
178
|
-
3006: [errorDescription.CLOUDBERRY_UNAVAILABLE, errorFailureType.EXPECTED_FAILURE, errorCategory.EXPECTED],
|
179
|
-
3007: [errorDescription.ROOM_TOO_LARGE_FREE_ACCOUNT, errorFailureType.EXPECTED_FAILURE, errorCategory.EXPECTED],
|
180
|
-
4001: [errorDescription.MEETING_INACTIVE, errorFailureType.CALL_INITIATION_FAILURE, errorCategory.EXPECTED],
|
181
|
-
4002: [errorDescription.MEETING_LOCKED, errorFailureType.CALL_INITIATION_FAILURE, errorCategory.EXPECTED],
|
182
|
-
4003: [errorDescription.MEETING_TERMINATING, errorFailureType.CALL_INITIATION_FAILURE, errorCategory.EXPECTED],
|
183
|
-
4004: [errorDescription.MODERATOR_PIN_OR_GUEST_REQUIRED, errorFailureType.ACCESS_RIGHTS, errorCategory.EXPECTED],
|
184
|
-
4005: [errorDescription.MODERATOR_PIN_OR_GUEST_PIN_REQUIRED, errorFailureType.ACCESS_RIGHTS, errorCategory.EXPECTED],
|
185
|
-
4006: [errorDescription.MODERATOR_REQUIRED, errorFailureType.ACCESS_RIGHTS, errorCategory.EXPECTED],
|
186
|
-
4007: [errorDescription.USER_NOT_MEMBER_OF_ROOM, errorFailureType.ACCESS_RIGHTS, errorCategory.EXPECTED],
|
187
|
-
4008: [errorDescription.NEW_LOCUS_ERROR, errorFailureType.CALL_INITIATION_FAILURE, errorCategory.EXPECTED],
|
188
|
-
4009: [errorDescription.NET_WORK_UNAVAILABLE, errorFailureType.CALL_INITIATION_FAILURE, errorCategory.EXPECTED],
|
189
|
-
4010: [errorDescription.MEETING_UNAVAILABLE, errorFailureType.CALL_INITIATION_FAILURE, errorCategory.EXPECTED],
|
190
|
-
4011: [errorDescription.MEETING_ID_INVALID, errorFailureType.EXPECTED_FAILURE, errorCategory.EXPECTED],
|
191
|
-
4012: [errorDescription.MEETING_SITE_INVALID, errorFailureType.EXPECTED_FAILURE, errorCategory.EXPECTED],
|
192
|
-
4013: [errorDescription.LOCUS_INVALID_JOINTIME, errorFailureType.EXPECTED_FAILURE, errorCategory.EXPECTED],
|
193
|
-
4014: [errorDescription.LOBBY_EXPIRED, errorFailureType.EXPECTED_FAILURE, errorCategory.EXPECTED],
|
194
|
-
4015: [errorDescription.MEDIA_CONNECTION_LOST_PAIRED, errorFailureType.MEDIA_CONNECTION_FAILURE, errorCategory.EXPECTED],
|
195
|
-
4016: [errorDescription.PHONE_NUMBER_NOT_A_NUMBER, errorFailureType.EXPECTED_FAILURE, errorCategory.EXPECTED],
|
196
|
-
4017: [errorDescription.PHONE_NUMBER_TOO_LONG, errorFailureType.EXPECTED_FAILURE, errorCategory.EXPECTED],
|
197
|
-
4018: [errorDescription.INVALID_DIALABLE_KEY, errorFailureType.EXPECTED_FAILURE, errorCategory.EXPECTED],
|
198
|
-
4019: [errorDescription.ONE_ON_ONE_TO_SELF_NOT_ALLOWED, errorFailureType.EXPECTED_FAILURE, errorCategory.EXPECTED],
|
199
|
-
4020: [errorDescription.REMOVED_PARTICIPANT, errorFailureType.EXPECTED_FAILURE, errorCategory.EXPECTED],
|
200
|
-
4021: [errorDescription.MEETING_LINK_NOT_FOUND, errorFailureType.EXPECTED_FAILURE, errorCategory.EXPECTED],
|
201
|
-
4022: [errorDescription.PHONE_NUMBER_TOO_SHORT_AFTER_IDD, errorFailureType.EXPECTED_FAILURE, errorCategory.EXPECTED],
|
202
|
-
4023: [errorDescription.INVALID_INVITEE_ADDRESS, errorFailureType.EXPECTED_FAILURE, errorCategory.EXPECTED],
|
203
|
-
4024: [errorDescription.PMR_USER_ACCOUNT_LOCKED_OUT, errorFailureType.EXPECTED_FAILURE, errorCategory.EXPECTED],
|
204
|
-
4025: [errorDescription.GUEST_FORBIDDEN, errorFailureType.EXPECTED_FAILURE, errorCategory.EXPECTED],
|
205
|
-
4026: [errorDescription.PMR_ACCOUNT_SUSPENDED, errorFailureType.EXPECTED_FAILURE, errorCategory.EXPECTED],
|
206
|
-
4027: [errorDescription.EMPTY_PHONE_NUMBER_OR_COUNTRY_CODE, errorFailureType.EXPECTED_FAILURE, errorCategory.EXPECTED],
|
207
|
-
4028: [errorDescription.CONVERSATION_NOT_FOUND, errorFailureType.EXPECTED_FAILURE, errorCategory.EXPECTED],
|
208
|
-
4029: [errorDescription.START_RECORDING_FAILED, errorFailureType.EXPECTED_FAILURE, errorCategory.EXPECTED],
|
209
|
-
4030: [errorDescription.RECORDING_IN_PROGRESS_FAILED, errorFailureType.EXPECTED_FAILURE, errorCategory.EXPECTED],
|
210
|
-
5000: [errorDescription.SIP_CALLEE_BUSY, errorFailureType.EXPECTED_FAILURE, errorCategory.EXPECTED],
|
211
|
-
5001: [errorDescription.SIP_CALLEE_NOT_FOUND, errorFailureType.EXPECTED_FAILURE, errorCategory.EXPECTED]
|
212
|
-
}
|
213
|
-
};
|
214
|
-
var trigger = exports.trigger = {
|
215
|
-
USER_INTERACTION: 'user-interaction',
|
216
|
-
MERCURY_EVENT: 'mercury-event',
|
217
|
-
LOCI_UPDATE: 'loci-update',
|
218
|
-
MEDIA_ENGINE_EVENT: 'media-engine-event',
|
219
|
-
TIMEOUT: 'timeout',
|
220
|
-
SIGNALING: 'signaling',
|
221
|
-
OTHER: 'other'
|
222
|
-
};
|
223
|
-
var pstnAudioType = exports.pstnAudioType = {
|
224
|
-
DIAL_IN: 'dial-in',
|
225
|
-
DIAL_OUT: 'dial-out'
|
226
|
-
};
|
227
|
-
var displayLocation = exports.displayLocation = {
|
228
|
-
TOAST: 'toast',
|
229
|
-
ROOM_LIST: 'room-list',
|
230
|
-
CALL_PANE: 'call-pane',
|
231
|
-
CALL_VIEW: 'call-view',
|
232
|
-
OTHER: 'other'
|
233
|
-
};
|
234
|
-
var mediaType = exports.mediaType = {
|
235
|
-
AUDIO: 'audio',
|
236
|
-
VIDEO: 'video',
|
237
|
-
SHARE: 'share',
|
238
|
-
WHITEBOARD: 'whiteboard'
|
239
|
-
};
|
240
|
-
var reconnection = exports.reconnection = {
|
241
|
-
RECOVERED_BY_NEW: 'new',
|
242
|
-
// always set to new due to /media request, no retries with ice restart
|
243
|
-
RECOVERED_BY_RETRY: 'retry'
|
244
|
-
};
|
245
|
-
var errorCodes = exports.errorCodes = {
|
246
|
-
// ordered by error code values
|
247
|
-
USER_CREATE_FAILED: 1400006,
|
248
|
-
USER_ALREADY_PARTICIPANT: 1403001,
|
249
|
-
CONVO_ALREADY_EXISTS: 1403010,
|
250
|
-
ALREADY_ANNOUNCEMENT_SPACE: 1403014,
|
251
|
-
NOT_ANNOUNCEMENT_SPACE: 1403015,
|
252
|
-
USER_NOT_MODERATOR_IN_ANNOUNCEMENT_SPACE: 1403016,
|
253
|
-
TEMP_ID_ALREADY_EXISTS: 1409001,
|
254
|
-
PARENT_ACTIVITY_ID_NOT_FOUND_OR_INVALID: 14000015
|
255
|
-
};
|
256
|
-
var statusCodes = exports.statusCodes = {
|
257
|
-
// ordered by status codes
|
258
|
-
NETWORK_OR_CORS: 0,
|
259
|
-
BAD_REQUEST: 400,
|
260
|
-
FORBIDDEN: 403,
|
261
|
-
NOT_FOUND: 404,
|
262
|
-
CONFLICT: 409
|
263
|
-
};
|
264
|
-
var errorObjects = exports.errorObjects = {
|
265
|
-
category: {
|
266
|
-
media: 'media',
|
267
|
-
expected: 'expected'
|
268
|
-
},
|
269
|
-
name: {
|
270
|
-
mediaEngine: 'media-engine'
|
271
|
-
}
|
272
|
-
};
|
273
|
-
var UNKNOWN = exports.UNKNOWN = 'unknown';
|
274
|
-
var CLIENT_NAME = exports.CLIENT_NAME = 'webex-js-sdk';
|
275
|
-
var PLATFORM = exports.PLATFORM = 'Web';
|
276
|
-
//# sourceMappingURL=config.js.map
|