@webex/plugin-meetings 3.0.0-bnr.5 → 3.0.0-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/.eslintrc.js +6 -0
- package/README.md +58 -8
- package/babel.config.js +3 -0
- package/dist/annotation/annotation.types.d.ts +42 -0
- package/dist/annotation/annotation.types.js +7 -0
- package/dist/annotation/annotation.types.js.map +1 -0
- package/dist/annotation/constants.d.ts +31 -0
- package/dist/annotation/constants.js +41 -0
- package/dist/annotation/constants.js.map +1 -0
- package/dist/annotation/index.d.ts +117 -0
- package/dist/annotation/index.js +357 -0
- package/dist/annotation/index.js.map +1 -0
- package/dist/breakouts/breakout.js +71 -34
- package/dist/breakouts/breakout.js.map +1 -1
- package/dist/breakouts/collection.js +1 -2
- package/dist/breakouts/collection.js.map +1 -1
- package/dist/breakouts/edit-lock-error.js +1 -2
- package/dist/breakouts/edit-lock-error.js.map +1 -1
- package/dist/breakouts/events.d.ts +8 -0
- package/dist/breakouts/events.js +44 -0
- package/dist/breakouts/events.js.map +1 -0
- package/dist/breakouts/index.js +433 -229
- package/dist/breakouts/index.js.map +1 -1
- package/dist/breakouts/request.js +1 -2
- package/dist/breakouts/request.js.map +1 -1
- package/dist/{types/breakouts → breakouts}/utils.d.ts +7 -0
- package/dist/breakouts/utils.js +13 -5
- package/dist/breakouts/utils.js.map +1 -1
- package/dist/common/browser-detection.js +2 -3
- package/dist/common/browser-detection.js.map +1 -1
- package/dist/common/collection.js +3 -4
- package/dist/common/collection.js.map +1 -1
- package/dist/common/config.js +1 -2
- package/dist/common/config.js.map +1 -1
- package/dist/common/errors/captcha-error.js +1 -2
- package/dist/common/errors/captcha-error.js.map +1 -1
- package/dist/common/errors/intent-to-join.js +1 -2
- package/dist/common/errors/intent-to-join.js.map +1 -1
- package/dist/common/errors/join-meeting.js +1 -2
- package/dist/common/errors/join-meeting.js.map +1 -1
- package/dist/common/errors/media.js +1 -2
- package/dist/common/errors/media.js.map +1 -1
- package/dist/{types/common/errors/permission.d.ts → common/errors/no-meeting-info.d.ts} +1 -1
- package/dist/common/errors/no-meeting-info.js +50 -0
- package/dist/common/errors/no-meeting-info.js.map +1 -0
- package/dist/common/errors/parameter.js +3 -4
- package/dist/common/errors/parameter.js.map +1 -1
- package/dist/common/errors/password-error.js +1 -2
- package/dist/common/errors/password-error.js.map +1 -1
- package/dist/common/errors/permission.js +1 -2
- package/dist/common/errors/permission.js.map +1 -1
- package/dist/common/errors/reclaim-host-role-errors.d.ts +60 -0
- package/dist/common/errors/reclaim-host-role-errors.js +154 -0
- package/dist/common/errors/reclaim-host-role-errors.js.map +1 -0
- package/dist/common/errors/reconnection-in-progress.js +1 -2
- package/dist/common/errors/reconnection-in-progress.js.map +1 -1
- package/dist/common/errors/reconnection.js +1 -2
- package/dist/common/errors/reconnection.js.map +1 -1
- package/dist/common/errors/stats.js +1 -2
- package/dist/common/errors/stats.js.map +1 -1
- package/dist/common/errors/webex-errors.d.ts +20 -8
- package/dist/common/errors/webex-errors.js +57 -17
- package/dist/common/errors/webex-errors.js.map +1 -1
- package/dist/common/errors/webex-meetings-error.js +1 -2
- package/dist/common/errors/webex-meetings-error.js.map +1 -1
- package/dist/common/events/events-scope.js +1 -2
- package/dist/common/events/events-scope.js.map +1 -1
- package/dist/common/events/events.js +1 -2
- package/dist/common/events/events.js.map +1 -1
- package/dist/common/events/trigger-proxy.js +1 -2
- package/dist/common/events/trigger-proxy.js.map +1 -1
- package/dist/common/events/util.js +1 -2
- package/dist/common/events/util.js.map +1 -1
- package/dist/common/logs/logger-config.js +1 -2
- package/dist/common/logs/logger-config.js.map +1 -1
- package/dist/common/logs/logger-proxy.js +2 -3
- package/dist/common/logs/logger-proxy.js.map +1 -1
- package/dist/common/logs/request.d.ts +3 -1
- package/dist/common/logs/request.js +8 -5
- package/dist/common/logs/request.js.map +1 -1
- package/dist/common/queue.d.ts +9 -7
- package/dist/common/queue.js +22 -9
- package/dist/common/queue.js.map +1 -1
- package/dist/config.d.ts +6 -7
- package/dist/config.js +6 -12
- package/dist/config.js.map +1 -1
- package/dist/constants.d.ts +263 -98
- package/dist/constants.js +360 -377
- package/dist/constants.js.map +1 -1
- package/dist/controls-options-manager/constants.js +3 -6
- package/dist/controls-options-manager/constants.js.map +1 -1
- package/dist/controls-options-manager/enums.d.ts +11 -1
- package/dist/controls-options-manager/enums.js +9 -10
- package/dist/controls-options-manager/enums.js.map +1 -1
- package/dist/controls-options-manager/index.d.ts +17 -1
- package/dist/controls-options-manager/index.js +46 -46
- package/dist/controls-options-manager/index.js.map +1 -1
- package/dist/{types/controls-options-manager → controls-options-manager}/types.d.ts +7 -1
- package/dist/controls-options-manager/types.js.map +1 -1
- package/dist/controls-options-manager/util.d.ts +1 -7
- package/dist/controls-options-manager/util.js +81 -13
- package/dist/controls-options-manager/util.js.map +1 -1
- package/dist/index.d.ts +6 -3
- package/dist/index.js +70 -25
- package/dist/index.js.map +1 -1
- package/dist/interceptors/index.d.ts +2 -0
- package/dist/interceptors/index.js +15 -0
- package/dist/interceptors/index.js.map +1 -0
- package/dist/interceptors/locusRetry.d.ts +27 -0
- package/dist/interceptors/locusRetry.js +94 -0
- package/dist/interceptors/locusRetry.js.map +1 -0
- package/dist/interpretation/collection.d.ts +5 -0
- package/dist/interpretation/collection.js +22 -0
- package/dist/interpretation/collection.js.map +1 -0
- package/dist/interpretation/index.d.ts +5 -0
- package/dist/interpretation/index.js +379 -0
- package/dist/interpretation/index.js.map +1 -0
- package/dist/interpretation/siLanguage.d.ts +5 -0
- package/dist/interpretation/siLanguage.js +24 -0
- package/dist/interpretation/siLanguage.js.map +1 -0
- package/dist/locus-info/controlsUtils.js +82 -13
- package/dist/locus-info/controlsUtils.js.map +1 -1
- package/dist/locus-info/embeddedAppsUtils.js +3 -4
- package/dist/locus-info/embeddedAppsUtils.js.map +1 -1
- package/dist/locus-info/fullState.js +1 -2
- package/dist/locus-info/fullState.js.map +1 -1
- package/dist/locus-info/hostUtils.js +1 -2
- package/dist/locus-info/hostUtils.js.map +1 -1
- package/dist/locus-info/index.d.ts +57 -4
- package/dist/locus-info/index.js +350 -77
- package/dist/locus-info/index.js.map +1 -1
- package/dist/locus-info/infoUtils.js +10 -5
- package/dist/locus-info/infoUtils.js.map +1 -1
- package/dist/locus-info/mediaSharesUtils.js +58 -3
- package/dist/locus-info/mediaSharesUtils.js.map +1 -1
- package/dist/locus-info/parser.d.ts +66 -6
- package/dist/locus-info/parser.js +253 -80
- package/dist/locus-info/parser.js.map +1 -1
- package/dist/locus-info/selfUtils.js +49 -26
- package/dist/locus-info/selfUtils.js.map +1 -1
- package/dist/media/index.d.ts +2 -0
- package/dist/media/index.js +66 -108
- package/dist/media/index.js.map +1 -1
- package/dist/media/properties.d.ts +38 -53
- package/dist/media/properties.js +76 -128
- package/dist/media/properties.js.map +1 -1
- package/dist/media/util.js +1 -2
- package/dist/media/util.js.map +1 -1
- package/dist/mediaQualityMetrics/config.d.ts +239 -231
- package/dist/mediaQualityMetrics/config.js +135 -339
- package/dist/mediaQualityMetrics/config.js.map +1 -1
- package/dist/meeting/in-meeting-actions.d.ts +88 -0
- package/dist/meeting/in-meeting-actions.js +79 -5
- package/dist/meeting/in-meeting-actions.js.map +1 -1
- package/dist/meeting/index.d.ts +710 -517
- package/dist/meeting/index.js +4348 -3053
- package/dist/meeting/index.js.map +1 -1
- package/dist/meeting/locusMediaRequest.d.ts +74 -0
- package/dist/meeting/locusMediaRequest.js +291 -0
- package/dist/meeting/locusMediaRequest.js.map +1 -0
- package/dist/meeting/muteState.d.ts +93 -25
- package/dist/meeting/muteState.js +125 -207
- package/dist/meeting/muteState.js.map +1 -1
- package/dist/meeting/request.d.ts +84 -47
- package/dist/meeting/request.js +190 -165
- package/dist/meeting/request.js.map +1 -1
- package/dist/meeting/state.js +1 -2
- package/dist/meeting/state.js.map +1 -1
- package/dist/meeting/util.d.ts +118 -1
- package/dist/meeting/util.js +680 -447
- package/dist/meeting/util.js.map +1 -1
- package/dist/meeting/voicea-meeting.d.ts +16 -0
- package/dist/meeting/voicea-meeting.js +169 -0
- package/dist/meeting/voicea-meeting.js.map +1 -0
- package/dist/meeting-info/collection.js +3 -4
- package/dist/meeting-info/collection.js.map +1 -1
- package/dist/meeting-info/index.d.ts +13 -1
- package/dist/meeting-info/index.js +74 -7
- package/dist/meeting-info/index.js.map +1 -1
- package/dist/meeting-info/meeting-info-v2.d.ts +31 -1
- package/dist/meeting-info/meeting-info-v2.js +136 -61
- package/dist/meeting-info/meeting-info-v2.js.map +1 -1
- package/dist/meeting-info/request.js +1 -2
- package/dist/meeting-info/request.js.map +1 -1
- package/dist/meeting-info/util.js +9 -9
- package/dist/meeting-info/util.js.map +1 -1
- package/dist/meeting-info/utilv2.js +31 -41
- package/dist/meeting-info/utilv2.js.map +1 -1
- package/dist/meetings/collection.d.ts +17 -0
- package/dist/meetings/collection.js +21 -5
- package/dist/meetings/collection.js.map +1 -1
- package/dist/meetings/index.d.ts +114 -22
- package/dist/meetings/index.js +397 -127
- package/dist/meetings/index.js.map +1 -1
- package/dist/meetings/meetings.types.d.ts +4 -0
- package/dist/meetings/meetings.types.js +7 -0
- package/dist/meetings/meetings.types.js.map +1 -0
- package/dist/meetings/request.js +2 -3
- package/dist/meetings/request.js.map +1 -1
- package/dist/meetings/util.js +45 -17
- package/dist/meetings/util.js.map +1 -1
- package/dist/member/index.d.ts +15 -0
- package/dist/member/index.js +35 -2
- package/dist/member/index.js.map +1 -1
- package/dist/member/member.types.d.ts +11 -0
- package/dist/member/member.types.js +17 -0
- package/dist/member/member.types.js.map +1 -0
- package/dist/{types/member → member}/types.d.ts +11 -0
- package/dist/member/types.js +13 -5
- package/dist/member/types.js.map +1 -1
- package/dist/member/util.js +72 -25
- package/dist/member/util.js.map +1 -1
- package/dist/members/collection.d.ts +5 -0
- package/dist/members/collection.js +1 -2
- package/dist/members/collection.js.map +1 -1
- package/dist/members/index.d.ts +57 -2
- package/dist/members/index.js +29 -9
- package/dist/members/index.js.map +1 -1
- package/dist/members/request.d.ts +73 -9
- package/dist/members/request.js +77 -48
- package/dist/members/request.js.map +1 -1
- package/dist/{types/members → members}/types.d.ts +1 -0
- package/dist/members/types.js +3 -4
- package/dist/members/types.js.map +1 -1
- package/dist/members/util.d.ts +214 -1
- package/dist/members/util.js +320 -319
- package/dist/members/util.js.map +1 -1
- package/dist/metrics/constants.d.ts +17 -4
- package/dist/metrics/constants.js +18 -3
- package/dist/metrics/constants.js.map +1 -1
- package/dist/metrics/index.d.ts +4 -111
- package/dist/metrics/index.js +4 -453
- package/dist/metrics/index.js.map +1 -1
- package/dist/{types/multistream → multistream}/mediaRequestManager.d.ts +29 -10
- package/dist/multistream/mediaRequestManager.js +142 -48
- package/dist/multistream/mediaRequestManager.js.map +1 -1
- package/dist/{types/multistream → multistream}/receiveSlot.d.ts +3 -3
- package/dist/multistream/receiveSlot.js +3 -5
- package/dist/multistream/receiveSlot.js.map +1 -1
- package/dist/multistream/receiveSlotManager.js +11 -13
- package/dist/multistream/receiveSlotManager.js.map +1 -1
- package/dist/{types/multistream → multistream}/remoteMedia.d.ts +2 -2
- package/dist/multistream/remoteMedia.js +3 -5
- package/dist/multistream/remoteMedia.js.map +1 -1
- package/dist/{types/multistream → multistream}/remoteMediaGroup.d.ts +2 -0
- package/dist/multistream/remoteMediaGroup.js +78 -6
- package/dist/multistream/remoteMediaGroup.js.map +1 -1
- package/dist/{types/multistream → multistream}/remoteMediaManager.d.ts +39 -1
- package/dist/multistream/remoteMediaManager.js +288 -100
- package/dist/multistream/remoteMediaManager.js.map +1 -1
- package/dist/multistream/sendSlotManager.d.ts +70 -0
- package/dist/multistream/sendSlotManager.js +258 -0
- package/dist/multistream/sendSlotManager.js.map +1 -0
- package/dist/networkQualityMonitor/index.js +1 -2
- package/dist/networkQualityMonitor/index.js.map +1 -1
- package/dist/personal-meeting-room/index.js +2 -3
- package/dist/personal-meeting-room/index.js.map +1 -1
- package/dist/personal-meeting-room/request.js +2 -3
- package/dist/personal-meeting-room/request.js.map +1 -1
- package/dist/personal-meeting-room/util.js +1 -2
- package/dist/personal-meeting-room/util.js.map +1 -1
- package/dist/reachability/clusterReachability.d.ts +109 -0
- package/dist/reachability/clusterReachability.js +357 -0
- package/dist/reachability/clusterReachability.js.map +1 -0
- package/dist/reachability/index.d.ts +61 -95
- package/dist/reachability/index.js +280 -431
- package/dist/reachability/index.js.map +1 -1
- package/dist/reachability/request.d.ts +7 -3
- package/dist/reachability/request.js +18 -13
- package/dist/reachability/request.js.map +1 -1
- package/dist/reachability/util.d.ts +8 -0
- package/dist/reachability/util.js +29 -0
- package/dist/reachability/util.js.map +1 -0
- package/dist/reactions/constants.js +1 -2
- package/dist/reactions/constants.js.map +1 -1
- package/dist/reactions/reactions.d.ts +2 -2
- package/dist/reactions/reactions.js +2 -4
- package/dist/reactions/reactions.js.map +1 -1
- package/dist/reactions/reactions.type.d.ts +23 -3
- package/dist/reactions/reactions.type.js +6 -8
- package/dist/reactions/reactions.type.js.map +1 -1
- package/dist/reconnection-manager/index.d.ts +32 -8
- package/dist/reconnection-manager/index.js +264 -209
- package/dist/reconnection-manager/index.js.map +1 -1
- package/dist/recording-controller/enums.js +4 -5
- package/dist/recording-controller/enums.js.map +1 -1
- package/dist/recording-controller/index.d.ts +15 -1
- package/dist/recording-controller/index.js +57 -46
- package/dist/recording-controller/index.js.map +1 -1
- package/dist/recording-controller/util.d.ts +5 -4
- package/dist/recording-controller/util.js +10 -10
- package/dist/recording-controller/util.js.map +1 -1
- package/dist/roap/index.d.ts +9 -47
- package/dist/roap/index.js +53 -31
- package/dist/roap/index.js.map +1 -1
- package/dist/roap/request.d.ts +16 -12
- package/dist/roap/request.js +57 -73
- package/dist/roap/request.js.map +1 -1
- package/dist/roap/turnDiscovery.d.ts +46 -5
- package/dist/roap/turnDiscovery.js +227 -76
- package/dist/roap/turnDiscovery.js.map +1 -1
- package/dist/rtcMetrics/constants.d.ts +4 -0
- package/dist/rtcMetrics/constants.js +11 -0
- package/dist/rtcMetrics/constants.js.map +1 -0
- package/dist/rtcMetrics/index.d.ts +61 -0
- package/dist/rtcMetrics/index.js +177 -0
- package/dist/rtcMetrics/index.js.map +1 -0
- package/dist/statsAnalyzer/global.d.ts +1 -91
- package/dist/statsAnalyzer/global.js +1 -2
- package/dist/statsAnalyzer/global.js.map +1 -1
- package/dist/statsAnalyzer/index.d.ts +55 -28
- package/dist/statsAnalyzer/index.js +371 -319
- package/dist/statsAnalyzer/index.js.map +1 -1
- package/dist/statsAnalyzer/mqaUtil.d.ts +32 -6
- package/dist/statsAnalyzer/mqaUtil.js +295 -162
- package/dist/statsAnalyzer/mqaUtil.js.map +1 -1
- package/dist/transcription/index.js +1 -2
- package/dist/transcription/index.js.map +1 -1
- package/dist/webinar/collection.d.ts +16 -0
- package/dist/webinar/collection.js +43 -0
- package/dist/webinar/collection.js.map +1 -0
- package/dist/webinar/index.d.ts +5 -0
- package/dist/webinar/index.js +68 -0
- package/dist/webinar/index.js.map +1 -0
- package/jest.config.js +3 -0
- package/package.json +44 -23
- package/process +1 -0
- package/src/annotation/annotation.types.ts +50 -0
- package/src/annotation/constants.ts +36 -0
- package/src/annotation/index.ts +328 -0
- package/src/breakouts/README.md +3 -2
- package/src/breakouts/breakout.ts +62 -27
- package/src/breakouts/events.ts +56 -0
- package/src/breakouts/index.ts +244 -64
- package/src/breakouts/utils.ts +13 -0
- package/src/common/errors/no-meeting-info.ts +24 -0
- package/src/common/errors/reclaim-host-role-errors.ts +134 -0
- package/src/common/errors/webex-errors.ts +44 -2
- package/src/common/logs/logger-proxy.ts +1 -1
- package/src/common/logs/request.ts +5 -1
- package/src/common/queue.ts +22 -8
- package/src/config.ts +5 -13
- package/src/constants.ts +190 -24
- package/src/controls-options-manager/enums.ts +2 -0
- package/src/controls-options-manager/index.ts +13 -10
- package/src/controls-options-manager/types.ts +10 -0
- package/src/controls-options-manager/util.ts +82 -11
- package/src/index.ts +22 -11
- package/src/interceptors/index.ts +3 -0
- package/src/interceptors/locusRetry.ts +67 -0
- package/src/interpretation/README.md +60 -0
- package/src/interpretation/collection.ts +19 -0
- package/src/interpretation/index.ts +349 -0
- package/src/interpretation/siLanguage.ts +18 -0
- package/src/locus-info/controlsUtils.ts +81 -0
- package/src/locus-info/index.ts +354 -57
- package/src/locus-info/infoUtils.ts +10 -2
- package/src/locus-info/mediaSharesUtils.ts +64 -0
- package/src/locus-info/parser.ts +258 -47
- package/src/locus-info/selfUtils.ts +32 -20
- package/src/media/index.ts +96 -108
- package/src/media/properties.ts +87 -112
- package/src/mediaQualityMetrics/config.ts +103 -238
- package/src/meeting/in-meeting-actions.ts +128 -4
- package/src/meeting/index.ts +3472 -2523
- package/src/meeting/locusMediaRequest.ts +313 -0
- package/src/meeting/muteState.ts +119 -194
- package/src/meeting/request.ts +155 -120
- package/src/meeting/util.ts +683 -412
- package/src/meeting/voicea-meeting.ts +122 -0
- package/src/meeting-info/index.ts +81 -8
- package/src/meeting-info/meeting-info-v2.ts +107 -26
- package/src/meeting-info/util.ts +13 -10
- package/src/meeting-info/utilv2.ts +40 -36
- package/src/meetings/collection.ts +13 -0
- package/src/meetings/index.ts +361 -116
- package/src/meetings/meetings.types.ts +12 -0
- package/src/meetings/util.ts +49 -20
- package/src/member/index.ts +36 -1
- package/src/member/member.types.ts +13 -0
- package/src/member/types.ts +14 -0
- package/src/member/util.ts +89 -26
- package/src/members/index.ts +36 -3
- package/src/members/request.ts +61 -21
- package/src/members/types.ts +1 -0
- package/src/members/util.ts +330 -326
- package/src/metrics/constants.ts +16 -0
- package/src/metrics/index.ts +1 -474
- package/src/multistream/mediaRequestManager.ts +186 -67
- package/src/multistream/receiveSlot.ts +4 -4
- package/src/multistream/receiveSlotManager.ts +4 -4
- package/src/multistream/remoteMedia.ts +2 -2
- package/src/multistream/remoteMediaGroup.ts +78 -0
- package/src/multistream/remoteMediaManager.ts +174 -18
- package/src/multistream/sendSlotManager.ts +199 -0
- package/src/reachability/clusterReachability.ts +320 -0
- package/src/reachability/index.ts +226 -382
- package/src/reachability/request.ts +8 -4
- package/src/reachability/util.ts +24 -0
- package/src/reconnection-manager/index.ts +95 -82
- package/src/recording-controller/index.ts +20 -3
- package/src/recording-controller/util.ts +26 -9
- package/src/roap/index.ts +52 -23
- package/src/roap/request.ts +49 -68
- package/src/roap/turnDiscovery.ts +147 -49
- package/src/rtcMetrics/constants.ts +3 -0
- package/src/rtcMetrics/index.ts +166 -0
- package/src/statsAnalyzer/index.ts +430 -428
- package/src/statsAnalyzer/mqaUtil.ts +317 -168
- package/src/webinar/collection.ts +31 -0
- package/src/webinar/index.ts +62 -0
- package/test/integration/spec/converged-space-meetings.js +60 -3
- package/test/integration/spec/journey.js +322 -263
- package/test/integration/spec/space-meeting.js +77 -4
- package/test/unit/spec/annotation/index.ts +418 -0
- package/test/unit/spec/breakouts/breakout.ts +86 -26
- package/test/unit/spec/breakouts/events.ts +89 -0
- package/test/unit/spec/breakouts/index.ts +639 -98
- package/test/unit/spec/breakouts/utils.js +19 -1
- package/test/unit/spec/common/queue.js +31 -2
- package/test/unit/spec/controls-options-manager/index.js +8 -1
- package/test/unit/spec/controls-options-manager/util.js +576 -397
- package/test/unit/spec/fixture/locus.js +1 -0
- package/test/unit/spec/interceptors/locusRetry.ts +131 -0
- package/test/unit/spec/interpretation/collection.ts +15 -0
- package/test/unit/spec/interpretation/index.ts +622 -0
- package/test/unit/spec/interpretation/siLanguage.ts +28 -0
- package/test/unit/spec/locus-info/controlsUtils.js +195 -1
- package/test/unit/spec/locus-info/index.js +1176 -69
- package/test/unit/spec/locus-info/infoUtils.js +37 -15
- package/test/unit/spec/locus-info/lib/SeqCmp.json +16 -0
- package/test/unit/spec/locus-info/mediaSharesUtils.ts +32 -0
- package/test/unit/spec/locus-info/parser.js +116 -35
- package/test/unit/spec/locus-info/selfConstant.js +19 -0
- package/test/unit/spec/locus-info/selfUtils.js +128 -28
- package/test/unit/spec/media/index.ts +103 -79
- package/test/unit/spec/media/properties.ts +2 -2
- package/test/unit/spec/meeting/in-meeting-actions.ts +64 -2
- package/test/unit/spec/meeting/index.js +6768 -2199
- package/test/unit/spec/meeting/locusMediaRequest.ts +442 -0
- package/test/unit/spec/meeting/muteState.js +328 -417
- package/test/unit/spec/meeting/request.js +473 -54
- package/test/unit/spec/meeting/utils.js +764 -84
- package/test/unit/spec/meeting/voicea-meeting.ts +266 -0
- package/test/unit/spec/meeting-info/index.js +300 -0
- package/test/unit/spec/meeting-info/meetinginfov2.js +411 -25
- package/test/unit/spec/meeting-info/utilv2.js +21 -0
- package/test/unit/spec/meetings/collection.js +12 -0
- package/test/unit/spec/meetings/index.js +1266 -234
- package/test/unit/spec/meetings/utils.js +187 -9
- package/test/unit/spec/member/index.js +50 -19
- package/test/unit/spec/member/util.js +328 -155
- package/test/unit/spec/members/index.js +153 -20
- package/test/unit/spec/members/request.js +167 -35
- package/test/unit/spec/members/utils.js +26 -0
- package/test/unit/spec/metrics/index.js +2 -52
- package/test/unit/spec/multistream/mediaRequestManager.ts +386 -9
- package/test/unit/spec/multistream/receiveSlot.ts +1 -1
- package/test/unit/spec/multistream/remoteMediaGroup.ts +345 -0
- package/test/unit/spec/multistream/remoteMediaManager.ts +332 -2
- package/test/unit/spec/multistream/sendSlotManager.ts +274 -0
- package/test/unit/spec/reachability/clusterReachability.ts +279 -0
- package/test/unit/spec/reachability/index.ts +525 -94
- package/test/unit/spec/reachability/request.js +3 -1
- package/test/unit/spec/reachability/util.ts +40 -0
- package/test/unit/spec/reconnection-manager/index.js +135 -7
- package/test/unit/spec/recording-controller/index.js +293 -218
- package/test/unit/spec/recording-controller/util.js +223 -96
- package/test/unit/spec/roap/index.ts +180 -83
- package/test/unit/spec/roap/request.ts +100 -62
- package/test/unit/spec/roap/turnDiscovery.ts +388 -96
- package/test/unit/spec/rtcMetrics/index.ts +122 -0
- package/test/unit/spec/stats-analyzer/index.js +1225 -12
- package/test/unit/spec/webinar/collection.ts +13 -0
- package/test/unit/spec/webinar/index.ts +60 -0
- package/test/utils/integrationTestUtils.js +46 -0
- package/test/utils/testUtils.js +0 -60
- package/test/utils/webex-test-users.js +12 -4
- package/dist/docs/markdown/index.md +0 -12
- package/dist/docs/markdown/plugin-meetings.constants._active_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._answer_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._call_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._conflict_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._conversation_url_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._created_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._error_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._forced_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._id_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._idle_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._in_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._in_lobby_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._in_meeting_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._inactive_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._incoming_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._join_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._joined_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._left_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._locus_id_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._meeting_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._meeting_center_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._meeting_id_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._meeting_link_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._meeting_uuid_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._move_media_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._none_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._not_in_meeting_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._observe_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._people_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._personal_room_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._receive_only_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._remove_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._requested_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._resource_room_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._room_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._s_line.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._send_only_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._send_receive_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._sip_bridge_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._sip_uri_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._slides_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._unknown_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._user_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._wait_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._webex_meeting_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.alert.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.alternate_redirect_true.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.answer.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.api.md +0 -14
- package/dist/docs/markdown/plugin-meetings.constants.audio.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.audio_input.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.audio_status.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.available_resolutions.md +0 -60
- package/dist/docs/markdown/plugin-meetings.constants.bnr_status.md +0 -16
- package/dist/docs/markdown/plugin-meetings.constants.breakouts.md +0 -51
- package/dist/docs/markdown/plugin-meetings.constants.calendar.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.calendar_events.md +0 -17
- package/dist/docs/markdown/plugin-meetings.constants.calendar_events_api.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.call.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.call_removed_reason.md +0 -15
- package/dist/docs/markdown/plugin-meetings.constants.claim.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.cmr_meetings.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.complete.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.connection_state.md +0 -18
- package/dist/docs/markdown/plugin-meetings.constants.content.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.controls.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.conversation_service.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.conversation_url.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.correlation_id.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.decline.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.default_excluded_stats.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.default_get_stats_filter.md +0 -13
- package/dist/docs/markdown/plugin-meetings.constants.development.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.dialer_regex.md +0 -15
- package/dist/docs/markdown/plugin-meetings.constants.display_hints.md +0 -51
- package/dist/docs/markdown/plugin-meetings.constants.embedded_app_types.md +0 -14
- package/dist/docs/markdown/plugin-meetings.constants.end.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.ended.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.error.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.error_dictionary.md +0 -62
- package/dist/docs/markdown/plugin-meetings.constants.event_triggers.md +0 -82
- package/dist/docs/markdown/plugin-meetings.constants.event_types.md +0 -21
- package/dist/docs/markdown/plugin-meetings.constants.events.md +0 -26
- package/dist/docs/markdown/plugin-meetings.constants.floor_action.md +0 -15
- package/dist/docs/markdown/plugin-meetings.constants.full_state.md +0 -17
- package/dist/docs/markdown/plugin-meetings.constants.gathering.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.hecate.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.host.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.http_verbs.md +0 -17
- package/dist/docs/markdown/plugin-meetings.constants.https_protocol.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.ice_fail_timeout.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.ice_gathering_state.md +0 -15
- package/dist/docs/markdown/plugin-meetings.constants.ice_state.md +0 -18
- package/dist/docs/markdown/plugin-meetings.constants.ice_timeout.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.intent_to_join.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.ipv4_regex.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.join.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.layout_types.md +0 -13
- package/dist/docs/markdown/plugin-meetings.constants.leave.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.live.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.local.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.loci.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.locus.md +0 -26
- package/dist/docs/markdown/plugin-meetings.constants.locus_url.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.locusevent.md +0 -33
- package/dist/docs/markdown/plugin-meetings.constants.locusinfo.md +0 -43
- package/dist/docs/markdown/plugin-meetings.constants.max_random_delay_for_meeting_info.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.md +0 -186
- package/dist/docs/markdown/plugin-meetings.constants.media.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.media_devices.md +0 -15
- package/dist/docs/markdown/plugin-meetings.constants.media_peer_connection_name.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.media_state.md +0 -14
- package/dist/docs/markdown/plugin-meetings.constants.media_track_constraint.md +0 -17
- package/dist/docs/markdown/plugin-meetings.constants.mediacontent.md +0 -14
- package/dist/docs/markdown/plugin-meetings.constants.meet.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.meet_m.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.meeting_audio_state_machine.md +0 -20
- package/dist/docs/markdown/plugin-meetings.constants.meeting_end_reason.md +0 -14
- package/dist/docs/markdown/plugin-meetings.constants.meeting_errors.md +0 -102
- package/dist/docs/markdown/plugin-meetings.constants.meeting_info_failure_reason.md +0 -16
- package/dist/docs/markdown/plugin-meetings.constants.meeting_removed_reason.md +0 -19
- package/dist/docs/markdown/plugin-meetings.constants.meeting_state.md +0 -25
- package/dist/docs/markdown/plugin-meetings.constants.meeting_state_machine.md +0 -31
- package/dist/docs/markdown/plugin-meetings.constants.meeting_video_state_machine.md +0 -20
- package/dist/docs/markdown/plugin-meetings.constants.meetinginfo.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.meetings.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.metrics_join_times_max_duration.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.moderator_false.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.moderator_true.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.mqa_inteval.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.mqa_stats.md +0 -82
- package/dist/docs/markdown/plugin-meetings.constants.network_status.md +0 -15
- package/dist/docs/markdown/plugin-meetings.constants.network_type.md +0 -16
- package/dist/docs/markdown/plugin-meetings.constants.offline.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.online.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.participant.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.participant_deltas.md +0 -22
- package/dist/docs/markdown/plugin-meetings.constants.password_status.md +0 -16
- package/dist/docs/markdown/plugin-meetings.constants.pc_bail_timeout.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.peer_connection_state.md +0 -14
- package/dist/docs/markdown/plugin-meetings.constants.provisional_type_dial_in.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.provisional_type_dial_out.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.pstn_status.md +0 -18
- package/dist/docs/markdown/plugin-meetings.constants.quality_levels.md +0 -19
- package/dist/docs/markdown/plugin-meetings.constants.reachability.md +0 -15
- package/dist/docs/markdown/plugin-meetings.constants.ready.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.reconnection.md +0 -19
- package/dist/docs/markdown/plugin-meetings.constants.recording_state.md +0 -16
- package/dist/docs/markdown/plugin-meetings.constants.remote.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.resource.md +0 -15
- package/dist/docs/markdown/plugin-meetings.constants.retry_timeout.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.roap.md +0 -22
- package/dist/docs/markdown/plugin-meetings.constants.self_roles.md +0 -14
- package/dist/docs/markdown/plugin-meetings.constants.send_dtmf_endpoint.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.sendrecv.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.share.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.share_peer_connection_name.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.share_status.md +0 -16
- package/dist/docs/markdown/plugin-meetings.constants.share_stopped_reason.md +0 -14
- package/dist/docs/markdown/plugin-meetings.constants.sip_uri.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.stats.md +0 -16
- package/dist/docs/markdown/plugin-meetings.constants.type.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.use_uri_lookup_false.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.uuid_reg.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.valid_email_address.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.valid_pin.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.valid_pmr_address.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.valid_pmr_link.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.video.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.video_input.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.video_resolutions.md +0 -24
- package/dist/docs/markdown/plugin-meetings.constants.video_status.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.wbxappapi_service.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.webex_dot_com.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.whiteboard.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.www_dot.md +0 -11
- package/dist/docs/markdown/plugin-meetings.md +0 -28
- package/dist/docs/markdown/plugin-meetings.meeting.default._constructor_.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.acknowledge.md +0 -28
- package/dist/docs/markdown/plugin-meetings.meeting.default.addmedia.md +0 -28
- package/dist/docs/markdown/plugin-meetings.meeting.default.admit.md +0 -32
- package/dist/docs/markdown/plugin-meetings.meeting.default.attrs.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.audio.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.breakouts.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.callevents.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.cancelphoneinvite.md +0 -30
- package/dist/docs/markdown/plugin-meetings.meeting.default.canupdatemedia.md +0 -19
- package/dist/docs/markdown/plugin-meetings.meeting.default.changevideolayout.md +0 -38
- package/dist/docs/markdown/plugin-meetings.meeting.default.clearmeetingdata.md +0 -13
- package/dist/docs/markdown/plugin-meetings.meeting.default.closelocalshare.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.closelocalstream.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.closepeerconnections.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.closeremotestream.md +0 -26
- package/dist/docs/markdown/plugin-meetings.meeting.default.closeremotetracks.md +0 -19
- package/dist/docs/markdown/plugin-meetings.meeting.default.controlsoptionsmanager.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.conversationurl.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.correlationid.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.createmediaconnection.md +0 -26
- package/dist/docs/markdown/plugin-meetings.meeting.default.decline.md +0 -28
- package/dist/docs/markdown/plugin-meetings.meeting.default.deferjoin.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.destination.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.destinationtype.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.deviceurl.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.dialindevicestatus.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.dialinurl.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.dialoutdevicestatus.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.dialouturl.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.disconnectphoneaudio.md +0 -19
- package/dist/docs/markdown/plugin-meetings.meeting.default.endcallinitiatejoinreq.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.endjoinreqresp.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.endlocalsdpgenremotesdprecvdelay.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.endmeetingforall.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.fetchmeetinginfo.md +0 -29
- package/dist/docs/markdown/plugin-meetings.meeting.default.fetchmeetinginfotimeoutid.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.floorgrantpending.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.forwardevent.md +0 -29
- package/dist/docs/markdown/plugin-meetings.meeting.default.getanalyzermetricsprepayload.md +0 -32
- package/dist/docs/markdown/plugin-meetings.meeting.default.getcallinitiatejoinreq.md +0 -17
- package/dist/docs/markdown/plugin-meetings.meeting.default.getdevices.md +0 -13
- package/dist/docs/markdown/plugin-meetings.meeting.default.getjoinreqresp.md +0 -17
- package/dist/docs/markdown/plugin-meetings.meeting.default.getlocalsdpgenremotesdprecvdelay.md +0 -17
- package/dist/docs/markdown/plugin-meetings.meeting.default.getmediaconnectiondebugid.md +0 -15
- package/dist/docs/markdown/plugin-meetings.meeting.default.getmediastreams.md +0 -15
- package/dist/docs/markdown/plugin-meetings.meeting.default.getmembers.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.getsendingmediadelayduration.md +0 -24
- package/dist/docs/markdown/plugin-meetings.meeting.default.getsetupdelayduration.md +0 -24
- package/dist/docs/markdown/plugin-meetings.meeting.default.getsupporteddevices.md +0 -16
- package/dist/docs/markdown/plugin-meetings.meeting.default.gettotaljmt.md +0 -17
- package/dist/docs/markdown/plugin-meetings.meeting.default.guest.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.handledatachannelurlchange.md +0 -26
- package/dist/docs/markdown/plugin-meetings.meeting.default.handleroapfailure.md +0 -13
- package/dist/docs/markdown/plugin-meetings.meeting.default.hasjoinedonce.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.haswebsocketconnected.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.hostid.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.id.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.inmeetingactions.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.invite.md +0 -33
- package/dist/docs/markdown/plugin-meetings.meeting.default.isaudioconnected.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.isaudiomuted.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.isaudioself.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.islocalsharelive.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.ismultistream.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.isreactionssupported.md +0 -19
- package/dist/docs/markdown/plugin-meetings.meeting.default.isroapinprogress.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.issharing.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.istranscriptionsupported.md +0 -23
- package/dist/docs/markdown/plugin-meetings.meeting.default.isvideoconnected.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.isvideomuted.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.isvideoself.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.join.md +0 -28
- package/dist/docs/markdown/plugin-meetings.meeting.default.joinedwith.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.joinwithmedia.md +0 -36
- package/dist/docs/markdown/plugin-meetings.meeting.default.keepalivetimerid.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.lastvideolayoutinfo.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.leave.md +0 -31
- package/dist/docs/markdown/plugin-meetings.meeting.default.lockmeeting.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.locusid.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.locusinfo.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.locusurl.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.md +0 -227
- package/dist/docs/markdown/plugin-meetings.meeting.default.mediaconnections.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.mediaid.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.medianegotiatedevent.md +0 -13
- package/dist/docs/markdown/plugin-meetings.meeting.default.mediaproperties.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.mediarequestmanagers.md +0 -16
- package/dist/docs/markdown/plugin-meetings.meeting.default.meetingfinitestatemachine.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.meetinginfo.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.meetinginfofailurereason.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.meetingjoinurl.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.meetingnumber.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.meetingrequest.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.meetingstate.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.members.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.movefrom.md +0 -28
- package/dist/docs/markdown/plugin-meetings.meeting.default.moveto.md +0 -28
- package/dist/docs/markdown/plugin-meetings.meeting.default.mute.md +0 -29
- package/dist/docs/markdown/plugin-meetings.meeting.default.muteaudio.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.mutevideo.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.namespace.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.networkqualitymonitor.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.networkstatus.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.options.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.orgid.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.owner.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.parsemeetinginfo.md +0 -34
- package/dist/docs/markdown/plugin-meetings.meeting.default.partner.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.passwordstatus.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.pauserecording.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.permissiontoken.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.policy.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.processnextqueuedmediaupdate.md +0 -13
- package/dist/docs/markdown/plugin-meetings.meeting.default.publishtracks.md +0 -33
- package/dist/docs/markdown/plugin-meetings.meeting.default.queuedmediaupdates.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.receiveslotmanager.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.reconnect.md +0 -28
- package/dist/docs/markdown/plugin-meetings.meeting.default.reconnectionmanager.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.recording.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.recordingcontroller.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.refreshcaptcha.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.remotemediamanager.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.remove.md +0 -28
- package/dist/docs/markdown/plugin-meetings.meeting.default.requiredcaptcha.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.resource.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.resourceid.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.resourceurl.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.resumerecording.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.roap.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.roapseq.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.selfid.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.senddtmf.md +0 -28
- package/dist/docs/markdown/plugin-meetings.meeting.default.sendreaction.md +0 -29
- package/dist/docs/markdown/plugin-meetings.meeting.default.setdisallowunmute.md +0 -26
- package/dist/docs/markdown/plugin-meetings.meeting.default.setendcallinitiatejoinreq.md +0 -17
- package/dist/docs/markdown/plugin-meetings.meeting.default.setendjoinreqresp.md +0 -17
- package/dist/docs/markdown/plugin-meetings.meeting.default.setendlocalsdpgenremotesdprecvdelay.md +0 -17
- package/dist/docs/markdown/plugin-meetings.meeting.default.setendsendingmediadelay.md +0 -24
- package/dist/docs/markdown/plugin-meetings.meeting.default.setendsetupdelay.md +0 -24
- package/dist/docs/markdown/plugin-meetings.meeting.default.setlocalsharetrack.md +0 -28
- package/dist/docs/markdown/plugin-meetings.meeting.default.setlocaltracks.md +0 -28
- package/dist/docs/markdown/plugin-meetings.meeting.default.setlocalvideoquality.md +0 -26
- package/dist/docs/markdown/plugin-meetings.meeting.default.setmeetingquality.md +0 -31
- package/dist/docs/markdown/plugin-meetings.meeting.default.setmercurylistener.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.setmuteall.md +0 -28
- package/dist/docs/markdown/plugin-meetings.meeting.default.setmuteonentry.md +0 -26
- package/dist/docs/markdown/plugin-meetings.meeting.default.setremotequalitylevel.md +0 -26
- package/dist/docs/markdown/plugin-meetings.meeting.default.setsipuri.md +0 -26
- package/dist/docs/markdown/plugin-meetings.meeting.default.setstartcallinitiatejoinreq.md +0 -17
- package/dist/docs/markdown/plugin-meetings.meeting.default.setstartjoinreqresp.md +0 -17
- package/dist/docs/markdown/plugin-meetings.meeting.default.setstartlocalsdpgenremotesdprecvdelay.md +0 -17
- package/dist/docs/markdown/plugin-meetings.meeting.default.setstartsendingmediadelay.md +0 -24
- package/dist/docs/markdown/plugin-meetings.meeting.default.setstartsetupdelay.md +0 -24
- package/dist/docs/markdown/plugin-meetings.meeting.default.setupbreakoutslistener.md +0 -19
- package/dist/docs/markdown/plugin-meetings.meeting.default.setupmediaconnectionlisteners.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.setupstatsanalyzereventhandlers.md +0 -13
- package/dist/docs/markdown/plugin-meetings.meeting.default.sharescreen.md +0 -32
- package/dist/docs/markdown/plugin-meetings.meeting.default.sharestatus.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.sipuri.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.startcallinitiatejoinreq.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.startjoinreqresp.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.startkeepalive.md +0 -13
- package/dist/docs/markdown/plugin-meetings.meeting.default.startlocalsdpgenremotesdprecvdelay.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.startrecording.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.startwhiteboardshare.md +0 -29
- package/dist/docs/markdown/plugin-meetings.meeting.default.state.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.statsanalyzer.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.stopkeepalive.md +0 -13
- package/dist/docs/markdown/plugin-meetings.meeting.default.stopreceivingtranscription.md +0 -19
- package/dist/docs/markdown/plugin-meetings.meeting.default.stoprecording.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.stopshare.md +0 -28
- package/dist/docs/markdown/plugin-meetings.meeting.default.stopwhiteboardshare.md +0 -28
- package/dist/docs/markdown/plugin-meetings.meeting.default.togglereactions.md +0 -28
- package/dist/docs/markdown/plugin-meetings.meeting.default.transcription.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.transfer.md +0 -29
- package/dist/docs/markdown/plugin-meetings.meeting.default.type.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.unlockmeeting.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.unmuteaudio.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.unmutevideo.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.unpublishtracks.md +0 -26
- package/dist/docs/markdown/plugin-meetings.meeting.default.unsetlocalsharetrack.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.unsetlocalvideotrack.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.unsetpeerconnections.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.unsetremotestream.md +0 -26
- package/dist/docs/markdown/plugin-meetings.meeting.default.unsetremotetracks.md +0 -19
- package/dist/docs/markdown/plugin-meetings.meeting.default.updateaudio.md +0 -34
- package/dist/docs/markdown/plugin-meetings.meeting.default.updatellmconnection.md +0 -19
- package/dist/docs/markdown/plugin-meetings.meeting.default.updatemedia.md +0 -32
- package/dist/docs/markdown/plugin-meetings.meeting.default.updatemediaconnections.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.updateshare.md +0 -35
- package/dist/docs/markdown/plugin-meetings.meeting.default.updatevideo.md +0 -34
- package/dist/docs/markdown/plugin-meetings.meeting.default.uploadlogs.md +0 -28
- package/dist/docs/markdown/plugin-meetings.meeting.default.usephoneaudio.md +0 -28
- package/dist/docs/markdown/plugin-meetings.meeting.default.userid.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.verifypassword.md +0 -35
- package/dist/docs/markdown/plugin-meetings.meeting.default.video.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.wirelessshare.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.md +0 -18
- package/dist/docs/markdown/plugin-meetings.meeting.media_update_type.md +0 -17
- package/dist/docs/markdown/plugin-meetings.meetings._constructor_.md +0 -22
- package/dist/docs/markdown/plugin-meetings.meetings.create.md +0 -30
- package/dist/docs/markdown/plugin-meetings.meetings.fetchuserpreferredwebexsite.md +0 -19
- package/dist/docs/markdown/plugin-meetings.meetings.geohintinfo.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meetings.getallmeetings.md +0 -31
- package/dist/docs/markdown/plugin-meetings.meetings.getgeohint.md +0 -19
- package/dist/docs/markdown/plugin-meetings.meetings.getlogger.md +0 -19
- package/dist/docs/markdown/plugin-meetings.meetings.getmeetingbytype.md +0 -29
- package/dist/docs/markdown/plugin-meetings.meetings.getpersonalmeetingroom.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meetings.getreachability.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meetings.getscheduledmeetings.md +0 -19
- package/dist/docs/markdown/plugin-meetings.meetings.loggerrequest.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meetings.md +0 -57
- package/dist/docs/markdown/plugin-meetings.meetings.media.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meetings.meetingcollection.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meetings.meetinginfo.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meetings.namespace.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meetings.personalmeetingroom.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meetings.preferredwebexsite.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meetings.reachability.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meetings.register.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meetings.registered.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meetings.request.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meetings.setreachability.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meetings.startreachability.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meetings.syncmeetings.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meetings.unregister.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meetings.uploadlogs.md +0 -34
- package/dist/docs/markdown/plugin-meetings.reactions.md +0 -13
- package/dist/docs/markdown/plugin-meetings.reactions.reactions.md +0 -11
- package/dist/docs/markdown/plugin-meetings.reactions.skintones.md +0 -11
- package/dist/docs/markdown/plugin-meetings.remotemedia.getmaxfs.md +0 -26
- package/dist/docs/markdown/plugin-meetings.remotemedia.md +0 -31
- package/dist/docs/markdown/plugin-meetings.remotemedia.remotemedia._constructor_.md +0 -22
- package/dist/docs/markdown/plugin-meetings.remotemedia.remotemedia.csi.md +0 -13
- package/dist/docs/markdown/plugin-meetings.remotemedia.remotemedia.id.md +0 -11
- package/dist/docs/markdown/plugin-meetings.remotemedia.remotemedia.md +0 -40
- package/dist/docs/markdown/plugin-meetings.remotemedia.remotemedia.mediatype.md +0 -13
- package/dist/docs/markdown/plugin-meetings.remotemedia.remotemedia.memberid.md +0 -13
- package/dist/docs/markdown/plugin-meetings.remotemedia.remotemedia.setsizehint.md +0 -25
- package/dist/docs/markdown/plugin-meetings.remotemedia.remotemedia.sourcestate.md +0 -13
- package/dist/docs/markdown/plugin-meetings.remotemedia.remotemedia.stream.md +0 -13
- package/dist/docs/markdown/plugin-meetings.remotemedia.remotemediaevents.md +0 -14
- package/dist/docs/markdown/plugin-meetings.remotemedia.remotemediaid.md +0 -11
- package/dist/docs/markdown/plugin-meetings.remotemedia.remotevideoresolution.md +0 -11
- package/dist/docs/markdown/plugin-meetings.remotemediagroup.md +0 -12
- package/dist/docs/markdown/plugin-meetings.remotemediagroup.remotemediagroup._constructor_.md +0 -24
- package/dist/docs/markdown/plugin-meetings.remotemediagroup.remotemediagroup.getremotemedia.md +0 -26
- package/dist/docs/markdown/plugin-meetings.remotemediagroup.remotemediagroup.includes.md +0 -27
- package/dist/docs/markdown/plugin-meetings.remotemediagroup.remotemediagroup.ispinned.md +0 -22
- package/dist/docs/markdown/plugin-meetings.remotemediagroup.remotemediagroup.md +0 -28
- package/dist/docs/markdown/plugin-meetings.remotemediagroup.remotemediagroup.pin.md +0 -25
- package/dist/docs/markdown/plugin-meetings.remotemediagroup.remotemediagroup.unpin.md +0 -24
- package/dist/docs/markdown/plugin-meetings.triggerproxy.md +0 -11
- package/dist/docs/metadata/index.api.json +0 -14144
- package/dist/docs/metadata/index.api.md +0 -2075
- package/dist/docs/metadata/index.d.ts +0 -5594
- package/dist/meeting/effectsState.d.ts +0 -42
- package/dist/meeting/effectsState.js +0 -260
- package/dist/meeting/effectsState.js.map +0 -1
- package/dist/metrics/config.d.ts +0 -169
- package/dist/metrics/config.js +0 -291
- package/dist/metrics/config.js.map +0 -1
- package/dist/peer-connection-manager/index.d.ts +0 -6
- package/dist/peer-connection-manager/index.js +0 -671
- package/dist/peer-connection-manager/index.js.map +0 -1
- package/dist/peer-connection-manager/util.d.ts +0 -6
- package/dist/peer-connection-manager/util.js +0 -110
- package/dist/peer-connection-manager/util.js.map +0 -1
- package/dist/plugin-meetings.d.ts +0 -5399
- package/dist/roap/collection.d.ts +0 -10
- package/dist/roap/collection.js +0 -63
- package/dist/roap/collection.js.map +0 -1
- package/dist/roap/handler.d.ts +0 -47
- package/dist/roap/handler.js +0 -279
- package/dist/roap/handler.js.map +0 -1
- package/dist/roap/state.d.ts +0 -9
- package/dist/roap/state.js +0 -127
- package/dist/roap/state.js.map +0 -1
- package/dist/roap/util.d.ts +0 -2
- package/dist/roap/util.js +0 -76
- package/dist/roap/util.js.map +0 -1
- package/dist/types/common/browser-detection.d.ts +0 -9
- package/dist/types/common/collection.d.ts +0 -48
- package/dist/types/common/config.d.ts +0 -2
- package/dist/types/common/errors/captcha-error.d.ts +0 -15
- package/dist/types/common/errors/intent-to-join.d.ts +0 -16
- package/dist/types/common/errors/join-meeting.d.ts +0 -17
- package/dist/types/common/errors/media.d.ts +0 -15
- package/dist/types/common/errors/parameter.d.ts +0 -15
- package/dist/types/common/errors/password-error.d.ts +0 -15
- package/dist/types/common/errors/reconnection-in-progress.d.ts +0 -9
- package/dist/types/common/errors/reconnection.d.ts +0 -15
- package/dist/types/common/errors/stats.d.ts +0 -15
- package/dist/types/common/errors/webex-errors.d.ts +0 -69
- package/dist/types/common/errors/webex-meetings-error.d.ts +0 -20
- package/dist/types/common/events/events-scope.d.ts +0 -17
- package/dist/types/common/events/events.d.ts +0 -12
- package/dist/types/common/events/trigger-proxy.d.ts +0 -2
- package/dist/types/common/events/util.d.ts +0 -2
- package/dist/types/common/logs/logger-config.d.ts +0 -2
- package/dist/types/common/logs/logger-proxy.d.ts +0 -2
- package/dist/types/common/logs/request.d.ts +0 -34
- package/dist/types/common/queue.d.ts +0 -32
- package/dist/types/config.d.ts +0 -78
- package/dist/types/constants.d.ts +0 -957
- package/dist/types/controls-options-manager/constants.d.ts +0 -4
- package/dist/types/controls-options-manager/enums.d.ts +0 -13
- package/dist/types/controls-options-manager/index.d.ts +0 -136
- package/dist/types/controls-options-manager/util.d.ts +0 -1
- package/dist/types/index.d.ts +0 -7
- package/dist/types/locus-info/controlsUtils.d.ts +0 -2
- package/dist/types/locus-info/embeddedAppsUtils.d.ts +0 -2
- package/dist/types/locus-info/fullState.d.ts +0 -2
- package/dist/types/locus-info/hostUtils.d.ts +0 -2
- package/dist/types/locus-info/index.d.ts +0 -277
- package/dist/types/locus-info/infoUtils.d.ts +0 -2
- package/dist/types/locus-info/mediaSharesUtils.d.ts +0 -2
- package/dist/types/locus-info/parser.d.ts +0 -212
- package/dist/types/locus-info/selfUtils.d.ts +0 -2
- package/dist/types/media/index.d.ts +0 -32
- package/dist/types/media/properties.d.ts +0 -108
- package/dist/types/media/util.d.ts +0 -2
- package/dist/types/mediaQualityMetrics/config.d.ts +0 -365
- package/dist/types/meeting/effectsState.d.ts +0 -42
- package/dist/types/meeting/in-meeting-actions.d.ts +0 -105
- package/dist/types/meeting/index.d.ts +0 -1724
- package/dist/types/meeting/muteState.d.ts +0 -185
- package/dist/types/meeting/request.d.ts +0 -271
- package/dist/types/meeting/state.d.ts +0 -9
- package/dist/types/meeting/util.d.ts +0 -2
- package/dist/types/meeting-info/collection.d.ts +0 -20
- package/dist/types/meeting-info/index.d.ts +0 -57
- package/dist/types/meeting-info/meeting-info-v2.d.ts +0 -111
- package/dist/types/meeting-info/request.d.ts +0 -22
- package/dist/types/meeting-info/util.d.ts +0 -2
- package/dist/types/meeting-info/utilv2.d.ts +0 -2
- package/dist/types/meetings/collection.d.ts +0 -31
- package/dist/types/meetings/index.d.ts +0 -316
- package/dist/types/meetings/request.d.ts +0 -27
- package/dist/types/meetings/util.d.ts +0 -18
- package/dist/types/member/index.d.ts +0 -156
- package/dist/types/member/util.d.ts +0 -2
- package/dist/types/members/collection.d.ts +0 -29
- package/dist/types/members/index.d.ts +0 -353
- package/dist/types/members/request.d.ts +0 -69
- package/dist/types/members/util.d.ts +0 -2
- package/dist/types/metrics/config.d.ts +0 -171
- package/dist/types/metrics/constants.d.ts +0 -54
- package/dist/types/metrics/index.d.ts +0 -152
- package/dist/types/networkQualityMonitor/index.d.ts +0 -70
- package/dist/types/personal-meeting-room/index.d.ts +0 -47
- package/dist/types/personal-meeting-room/request.d.ts +0 -14
- package/dist/types/personal-meeting-room/util.d.ts +0 -2
- package/dist/types/reachability/index.d.ts +0 -152
- package/dist/types/reachability/request.d.ts +0 -37
- package/dist/types/reactions/reactions.d.ts +0 -4
- package/dist/types/reactions/reactions.type.d.ts +0 -52
- package/dist/types/reconnection-manager/index.d.ts +0 -126
- package/dist/types/recording-controller/enums.d.ts +0 -7
- package/dist/types/recording-controller/index.d.ts +0 -193
- package/dist/types/recording-controller/util.d.ts +0 -13
- package/dist/types/roap/index.d.ts +0 -77
- package/dist/types/roap/request.d.ts +0 -38
- package/dist/types/roap/turnDiscovery.d.ts +0 -74
- package/dist/types/statsAnalyzer/global.d.ts +0 -36
- package/dist/types/statsAnalyzer/index.d.ts +0 -200
- package/dist/types/statsAnalyzer/mqaUtil.d.ts +0 -24
- package/dist/types/transcription/index.d.ts +0 -64
- package/dist/types/tsdoc-metadata.json +0 -11
- package/src/metrics/config.ts +0 -487
- /package/dist/{types/breakouts → breakouts}/breakout.d.ts +0 -0
- /package/dist/{types/breakouts → breakouts}/collection.d.ts +0 -0
- /package/dist/{types/breakouts → breakouts}/edit-lock-error.d.ts +0 -0
- /package/dist/{types/breakouts → breakouts}/index.d.ts +0 -0
- /package/dist/{types/breakouts → breakouts}/request.d.ts +0 -0
- /package/dist/{types/meeting → meeting}/request.type.d.ts +0 -0
- /package/dist/{types/multistream → multistream}/receiveSlotManager.d.ts +0 -0
- /package/dist/{types/reactions → reactions}/constants.d.ts +0 -0
package/src/meetings/index.ts
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import '@webex/internal-plugin-mercury';
|
|
4
4
|
import '@webex/internal-plugin-conversation';
|
|
5
|
+
import '@webex/internal-plugin-metrics';
|
|
5
6
|
// @ts-ignore
|
|
6
7
|
import {WebexPlugin} from '@webex/webex-core';
|
|
7
8
|
import {setLogger} from '@webex/internal-media-core';
|
|
@@ -11,7 +12,6 @@ import * as mediaHelpersModule from '@webex/media-helpers';
|
|
|
11
12
|
import 'webrtc-adapter';
|
|
12
13
|
|
|
13
14
|
import Metrics from '../metrics';
|
|
14
|
-
import {trigger, eventType} from '../metrics/config';
|
|
15
15
|
import LoggerConfig from '../common/logs/logger-config';
|
|
16
16
|
import StaticConfig from '../common/config';
|
|
17
17
|
import LoggerProxy from '../common/logs/logger-proxy';
|
|
@@ -43,14 +43,13 @@ import {
|
|
|
43
43
|
_CONVERSATION_URL_,
|
|
44
44
|
CONVERSATION_URL,
|
|
45
45
|
MEETINGNUMBER,
|
|
46
|
-
BREAKOUTS,
|
|
47
46
|
_JOINED_,
|
|
48
47
|
_MOVED_,
|
|
49
48
|
} from '../constants';
|
|
50
49
|
import BEHAVIORAL_METRICS from '../metrics/constants';
|
|
51
50
|
import MeetingInfo from '../meeting-info';
|
|
52
51
|
import MeetingInfoV2 from '../meeting-info/meeting-info-v2';
|
|
53
|
-
import Meeting from '../meeting';
|
|
52
|
+
import Meeting, {CallStateForMetrics} from '../meeting';
|
|
54
53
|
import PersonalMeetingRoom from '../personal-meeting-room';
|
|
55
54
|
import Reachability from '../reachability';
|
|
56
55
|
import Request from './request';
|
|
@@ -60,6 +59,9 @@ import CaptchaError from '../common/errors/captcha-error';
|
|
|
60
59
|
import MeetingCollection from './collection';
|
|
61
60
|
import MeetingsUtil from './util';
|
|
62
61
|
import PermissionError from '../common/errors/permission';
|
|
62
|
+
import {INoiseReductionEffect, IVirtualBackgroundEffect} from './meetings.types';
|
|
63
|
+
import {SpaceIDDeprecatedError} from '../common/errors/webex-errors';
|
|
64
|
+
import NoMeetingInfoError from '../common/errors/no-meeting-info';
|
|
63
65
|
|
|
64
66
|
let mediaLogger;
|
|
65
67
|
|
|
@@ -146,13 +148,13 @@ export default class Meetings extends WebexPlugin {
|
|
|
146
148
|
meetingCollection: any;
|
|
147
149
|
personalMeetingRoom: any;
|
|
148
150
|
preferredWebexSite: any;
|
|
149
|
-
reachability:
|
|
151
|
+
reachability: Reachability;
|
|
150
152
|
registered: any;
|
|
151
153
|
request: any;
|
|
152
154
|
geoHintInfo: any;
|
|
153
155
|
meetingInfo: any;
|
|
154
156
|
mediaHelpers: any;
|
|
155
|
-
|
|
157
|
+
breakoutLocusForHandleLater: any;
|
|
156
158
|
namespace = MEETINGS;
|
|
157
159
|
|
|
158
160
|
/**
|
|
@@ -202,15 +204,17 @@ export default class Meetings extends WebexPlugin {
|
|
|
202
204
|
* @memberof Meetings
|
|
203
205
|
*/
|
|
204
206
|
this.personalMeetingRoom = null;
|
|
207
|
+
|
|
205
208
|
/**
|
|
206
|
-
* The Reachability object to interact with server
|
|
209
|
+
* The Reachability object to interact with server
|
|
207
210
|
* starts as null
|
|
208
211
|
* @instance
|
|
209
212
|
* @type {Object}
|
|
210
213
|
* @private
|
|
211
214
|
* @memberof Meetings
|
|
212
215
|
*/
|
|
213
|
-
|
|
216
|
+
// @ts-ignore
|
|
217
|
+
this.reachability = new Reachability(this.webex);
|
|
214
218
|
|
|
215
219
|
/**
|
|
216
220
|
* If the meetings plugin has been registered and listening via {@link Meetings#register}
|
|
@@ -240,7 +244,6 @@ export default class Meetings extends WebexPlugin {
|
|
|
240
244
|
*/
|
|
241
245
|
this.media = {
|
|
242
246
|
getUserMedia: Media.getUserMedia,
|
|
243
|
-
getSupportedDevice: Media.getSupportedDevice,
|
|
244
247
|
};
|
|
245
248
|
|
|
246
249
|
this.onReady();
|
|
@@ -260,8 +263,17 @@ export default class Meetings extends WebexPlugin {
|
|
|
260
263
|
|
|
261
264
|
const isSelfJoined = newLocus?.self?.state === _JOINED_;
|
|
262
265
|
const isSelfMoved = newLocus?.self?.state === _LEFT_ && newLocus?.self?.reason === _MOVED_;
|
|
263
|
-
|
|
264
|
-
const
|
|
266
|
+
// @ts-ignore
|
|
267
|
+
const deviceFromNewLocus = MeetingsUtil.getThisDevice(newLocus, this.webex.internal.device.url);
|
|
268
|
+
const isResourceMovedOnThisDevice =
|
|
269
|
+
deviceFromNewLocus?.state === _LEFT_ && deviceFromNewLocus?.reason === _MOVED_;
|
|
270
|
+
|
|
271
|
+
const isNewLocusJoinThisDevice = MeetingsUtil.joinedOnThisDevice(
|
|
272
|
+
meeting,
|
|
273
|
+
newLocus,
|
|
274
|
+
// @ts-ignore
|
|
275
|
+
this.webex.internal.device.url
|
|
276
|
+
);
|
|
265
277
|
const isBreakoutLocusJoinThisDevice =
|
|
266
278
|
breakoutLocus?.joinedWith?.correlationId &&
|
|
267
279
|
breakoutLocus.joinedWith.correlationId === meeting?.correlationId;
|
|
@@ -295,9 +307,16 @@ export default class Meetings extends WebexPlugin {
|
|
|
295
307
|
|
|
296
308
|
return false;
|
|
297
309
|
}
|
|
298
|
-
if (isSelfMoved && newLocus?.self?.removed) {
|
|
310
|
+
if (isSelfMoved && (newLocus?.self?.removed || isResourceMovedOnThisDevice)) {
|
|
299
311
|
LoggerProxy.logger.log(
|
|
300
|
-
'Meetings:index#isNeedHandleMainLocus --> self moved main locus with self removed status, not need to handle'
|
|
312
|
+
'Meetings:index#isNeedHandleMainLocus --> self moved main locus with self removed status or with device resource moved, not need to handle'
|
|
313
|
+
);
|
|
314
|
+
|
|
315
|
+
return false;
|
|
316
|
+
}
|
|
317
|
+
if (isSelfJoined && isResourceMovedOnThisDevice) {
|
|
318
|
+
LoggerProxy.logger.log(
|
|
319
|
+
'Meetings:index#isNeedHandleMainLocus --> self device left&moved in main locus with self joined status, not need to handle'
|
|
301
320
|
);
|
|
302
321
|
|
|
303
322
|
return false;
|
|
@@ -319,8 +338,7 @@ export default class Meetings extends WebexPlugin {
|
|
|
319
338
|
*/
|
|
320
339
|
private isNeedHandleLocusDTO(meeting: any, newLocus: any) {
|
|
321
340
|
if (newLocus) {
|
|
322
|
-
const isNewLocusAsBreakout =
|
|
323
|
-
newLocus.controls?.breakout?.sessionType === BREAKOUTS.SESSION_TYPES.BREAKOUT;
|
|
341
|
+
const isNewLocusAsBreakout = MeetingsUtil.isBreakoutLocusDTO(newLocus);
|
|
324
342
|
const isSelfMoved = newLocus?.self?.state === _LEFT_ && newLocus?.self?.reason === _MOVED_;
|
|
325
343
|
if (!meeting) {
|
|
326
344
|
if (isNewLocusAsBreakout) {
|
|
@@ -344,22 +362,19 @@ export default class Meetings extends WebexPlugin {
|
|
|
344
362
|
}
|
|
345
363
|
|
|
346
364
|
/**
|
|
347
|
-
*
|
|
365
|
+
* get corresponding meeting object by locus data
|
|
348
366
|
* @param {Object} data a locus event
|
|
349
367
|
* @param {String} data.locusUrl
|
|
350
368
|
* @param {Object} data.locus
|
|
351
|
-
* @
|
|
352
|
-
* @param {String} data.eventType
|
|
353
|
-
* @returns {undefined}
|
|
369
|
+
* @returns {Object}
|
|
354
370
|
* @private
|
|
355
371
|
* @memberof Meetings
|
|
356
372
|
*/
|
|
357
|
-
|
|
358
|
-
let meeting = null;
|
|
373
|
+
getCorrespondingMeetingByLocus(data) {
|
|
359
374
|
// getting meeting by correlationId. This will happen for the new event
|
|
360
375
|
// Either the locus
|
|
361
376
|
// TODO : Add check for the callBack Address
|
|
362
|
-
|
|
377
|
+
return (
|
|
363
378
|
this.meetingCollection.getByKey(LOCUS_URL, data.locusUrl) ||
|
|
364
379
|
// @ts-ignore
|
|
365
380
|
this.meetingCollection.getByKey(
|
|
@@ -376,7 +391,23 @@ export default class Meetings extends WebexPlugin {
|
|
|
376
391
|
(data.locus.info?.isUnifiedSpaceMeeting
|
|
377
392
|
? undefined
|
|
378
393
|
: this.meetingCollection.getByKey(CONVERSATION_URL, data.locus.conversationUrl)) ||
|
|
379
|
-
this.meetingCollection.getByKey(MEETINGNUMBER, data.locus?.info?.webExMeetingId)
|
|
394
|
+
this.meetingCollection.getByKey(MEETINGNUMBER, data.locus?.info?.webExMeetingId)
|
|
395
|
+
);
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
/**
|
|
399
|
+
* handle locus events and takes meeting actions with them as they come in
|
|
400
|
+
* @param {Object} data a locus event
|
|
401
|
+
* @param {String} data.locusUrl
|
|
402
|
+
* @param {Object} data.locus
|
|
403
|
+
* @param {Boolean} useRandomDelayForInfo whether a random delay should be added to fetching meeting info
|
|
404
|
+
* @param {String} data.eventType
|
|
405
|
+
* @returns {undefined}
|
|
406
|
+
* @private
|
|
407
|
+
* @memberof Meetings
|
|
408
|
+
*/
|
|
409
|
+
private handleLocusEvent(data: {locusUrl: string; locus: any}, useRandomDelayForInfo = false) {
|
|
410
|
+
let meeting = this.getCorrespondingMeetingByLocus(data);
|
|
380
411
|
|
|
381
412
|
// Special case when locus has got replaced, This only happend once if a replace locus exists
|
|
382
413
|
// https://sqbu-github.cisco.com/WebExSquared/locus/wiki/Locus-changing-mid-call
|
|
@@ -389,6 +420,9 @@ export default class Meetings extends WebexPlugin {
|
|
|
389
420
|
);
|
|
390
421
|
}
|
|
391
422
|
|
|
423
|
+
if (meeting && !MeetingsUtil.isBreakoutLocusDTO(data.locus)) {
|
|
424
|
+
meeting.locusInfo.updateMainSessionLocusCache(data.locus);
|
|
425
|
+
}
|
|
392
426
|
if (!this.isNeedHandleLocusDTO(meeting, data.locus)) {
|
|
393
427
|
LoggerProxy.logger.log(
|
|
394
428
|
`Meetings:index#handleLocusEvent --> doesn't need to process locus event`
|
|
@@ -452,6 +486,7 @@ export default class Meetings extends WebexPlugin {
|
|
|
452
486
|
|
|
453
487
|
// It's a new meeting so initialize the locus data
|
|
454
488
|
meeting.locusInfo.initialSetup(data.locus);
|
|
489
|
+
this.checkHandleBreakoutLocus(data.locus);
|
|
455
490
|
})
|
|
456
491
|
.catch((e) => {
|
|
457
492
|
LoggerProxy.logger.error(e);
|
|
@@ -461,10 +496,15 @@ export default class Meetings extends WebexPlugin {
|
|
|
461
496
|
// because the other user left so before sending 'added' event make sure it exists in the collection
|
|
462
497
|
|
|
463
498
|
if (this.getMeetingByType(_ID_, meeting.id)) {
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
499
|
+
// @ts-ignore
|
|
500
|
+
this.webex.internal.newMetrics.submitClientEvent({
|
|
501
|
+
name: 'client.call.remote-started',
|
|
502
|
+
payload: {
|
|
503
|
+
trigger: 'mercury-event',
|
|
504
|
+
},
|
|
505
|
+
options: {
|
|
506
|
+
meetingId: meeting.id,
|
|
507
|
+
},
|
|
468
508
|
});
|
|
469
509
|
Trigger.trigger(
|
|
470
510
|
this,
|
|
@@ -544,7 +584,7 @@ export default class Meetings extends WebexPlugin {
|
|
|
544
584
|
|
|
545
585
|
// @ts-ignore
|
|
546
586
|
this.webex.internal.mercury.on(ONLINE, () => {
|
|
547
|
-
this.syncMeetings();
|
|
587
|
+
this.syncMeetings({keepOnlyLocusMeetings: false});
|
|
548
588
|
});
|
|
549
589
|
|
|
550
590
|
// @ts-ignore
|
|
@@ -617,7 +657,7 @@ export default class Meetings extends WebexPlugin {
|
|
|
617
657
|
|
|
618
658
|
MeetingsUtil.checkH264Support({disableNotifications: true});
|
|
619
659
|
// @ts-ignore
|
|
620
|
-
Metrics.initialSetup(this.
|
|
660
|
+
Metrics.initialSetup(this.webex);
|
|
621
661
|
});
|
|
622
662
|
}
|
|
623
663
|
|
|
@@ -642,35 +682,38 @@ export default class Meetings extends WebexPlugin {
|
|
|
642
682
|
}
|
|
643
683
|
|
|
644
684
|
/**
|
|
645
|
-
* API to
|
|
646
|
-
* @param {Boolean}
|
|
685
|
+
* API to toggle starting adhoc meeting
|
|
686
|
+
* @param {Boolean} changeState
|
|
647
687
|
* @private
|
|
648
688
|
* @memberof Meetings
|
|
649
689
|
* @returns {undefined}
|
|
650
690
|
*/
|
|
651
|
-
private
|
|
652
|
-
if (typeof
|
|
691
|
+
private _toggleAdhocMeetings(changeState: boolean) {
|
|
692
|
+
if (typeof changeState !== 'boolean') {
|
|
653
693
|
return;
|
|
654
694
|
}
|
|
655
695
|
// @ts-ignore
|
|
656
|
-
this.config
|
|
696
|
+
if (this.config?.experimental?.enableAdhocMeetings !== changeState) {
|
|
697
|
+
// @ts-ignore
|
|
698
|
+
this.config.experimental.enableAdhocMeetings = changeState;
|
|
699
|
+
}
|
|
657
700
|
}
|
|
658
701
|
|
|
659
702
|
/**
|
|
660
|
-
* API to toggle
|
|
661
|
-
* @param {Boolean}
|
|
703
|
+
* API to toggle TCP reachability, needs to be called before webex.meetings.register()
|
|
704
|
+
* @param {Boolean} newValue
|
|
662
705
|
* @private
|
|
663
706
|
* @memberof Meetings
|
|
664
707
|
* @returns {undefined}
|
|
665
708
|
*/
|
|
666
|
-
private
|
|
667
|
-
if (typeof
|
|
709
|
+
private _toggleTcpReachability(newValue: boolean) {
|
|
710
|
+
if (typeof newValue !== 'boolean') {
|
|
668
711
|
return;
|
|
669
712
|
}
|
|
670
713
|
// @ts-ignore
|
|
671
|
-
if (this.config
|
|
714
|
+
if (this.config.experimental.enableTcpReachability !== newValue) {
|
|
672
715
|
// @ts-ignore
|
|
673
|
-
this.config.experimental.
|
|
716
|
+
this.config.experimental.enableTcpReachability = newValue;
|
|
674
717
|
}
|
|
675
718
|
}
|
|
676
719
|
|
|
@@ -786,6 +829,36 @@ export default class Meetings extends WebexPlugin {
|
|
|
786
829
|
);
|
|
787
830
|
}
|
|
788
831
|
|
|
832
|
+
/**
|
|
833
|
+
* Creates a noise reduction effect
|
|
834
|
+
*
|
|
835
|
+
* @param {INoiseReductionEffect} options optional custom effect options
|
|
836
|
+
* @returns {Promise<effect>} noise reduction effect.
|
|
837
|
+
* @public
|
|
838
|
+
* @memberof Meetings
|
|
839
|
+
*/
|
|
840
|
+
createNoiseReductionEffect = async (options?: INoiseReductionEffect) => {
|
|
841
|
+
// @ts-ignore
|
|
842
|
+
const authToken = this.webex.credentials.supertoken.access_token;
|
|
843
|
+
|
|
844
|
+
return new mediaHelpersModule.NoiseReductionEffect({authToken, ...options});
|
|
845
|
+
};
|
|
846
|
+
|
|
847
|
+
/**
|
|
848
|
+
* Creates a virtual background effect
|
|
849
|
+
*
|
|
850
|
+
* @param {IVirtualBackgroundEffect} options optional custom effect options
|
|
851
|
+
* @returns {Promise<effect>} virtual background effect.
|
|
852
|
+
* @public
|
|
853
|
+
* @memberof Meetings
|
|
854
|
+
*/
|
|
855
|
+
createVirtualBackgroundEffect = async (options?: IVirtualBackgroundEffect) => {
|
|
856
|
+
// @ts-ignore
|
|
857
|
+
const authToken = this.webex.credentials.supertoken.access_token;
|
|
858
|
+
|
|
859
|
+
return new mediaHelpersModule.VirtualBackgroundEffect({authToken, ...options});
|
|
860
|
+
};
|
|
861
|
+
|
|
789
862
|
/**
|
|
790
863
|
* Uploads logs to the webex services for tracking
|
|
791
864
|
* @param {Object} [options={}]
|
|
@@ -800,8 +873,10 @@ export default class Meetings extends WebexPlugin {
|
|
|
800
873
|
*/
|
|
801
874
|
uploadLogs(
|
|
802
875
|
options: {
|
|
876
|
+
autoupload?: boolean;
|
|
803
877
|
callStart?: string;
|
|
804
878
|
feedbackId?: string;
|
|
879
|
+
locussessionid?: string;
|
|
805
880
|
locusId?: string;
|
|
806
881
|
correlationId?: string;
|
|
807
882
|
meetingId?: string;
|
|
@@ -818,6 +893,7 @@ export default class Meetings extends WebexPlugin {
|
|
|
818
893
|
'Meetings:index#uploadLogs --> Upload logs for meeting completed.',
|
|
819
894
|
uploadResult
|
|
820
895
|
);
|
|
896
|
+
Metrics.sendBehavioralMetric(BEHAVIORAL_METRICS.UPLOAD_LOGS_SUCCESS, options);
|
|
821
897
|
Trigger.trigger(
|
|
822
898
|
this,
|
|
823
899
|
{
|
|
@@ -852,8 +928,7 @@ export default class Meetings extends WebexPlugin {
|
|
|
852
928
|
);
|
|
853
929
|
|
|
854
930
|
Metrics.sendBehavioralMetric(BEHAVIORAL_METRICS.UPLOAD_LOGS_FAILURE, {
|
|
855
|
-
|
|
856
|
-
meetingId: options.meetingsId,
|
|
931
|
+
...options,
|
|
857
932
|
reason: uploadError.message,
|
|
858
933
|
stack: uploadError.stack,
|
|
859
934
|
code: uploadError.code,
|
|
@@ -861,17 +936,6 @@ export default class Meetings extends WebexPlugin {
|
|
|
861
936
|
});
|
|
862
937
|
}
|
|
863
938
|
|
|
864
|
-
/**
|
|
865
|
-
* initializes the reachability instance for Meetings
|
|
866
|
-
* @returns {undefined}
|
|
867
|
-
* @public
|
|
868
|
-
* @memberof Meetings
|
|
869
|
-
*/
|
|
870
|
-
setReachability() {
|
|
871
|
-
// @ts-ignore
|
|
872
|
-
this.reachability = new Reachability(this.webex);
|
|
873
|
-
}
|
|
874
|
-
|
|
875
939
|
/**
|
|
876
940
|
* gets the reachability instance for Meetings
|
|
877
941
|
* @returns {Reachability}
|
|
@@ -889,10 +953,6 @@ export default class Meetings extends WebexPlugin {
|
|
|
889
953
|
* @memberof Meetings
|
|
890
954
|
*/
|
|
891
955
|
startReachability() {
|
|
892
|
-
if (!this.reachability) {
|
|
893
|
-
this.setReachability();
|
|
894
|
-
}
|
|
895
|
-
|
|
896
956
|
return this.getReachability().gatherReachability();
|
|
897
957
|
}
|
|
898
958
|
|
|
@@ -920,6 +980,29 @@ export default class Meetings extends WebexPlugin {
|
|
|
920
980
|
if (res) {
|
|
921
981
|
this.preferredWebexSite = MeetingsUtil.parseDefaultSiteFromMeetingPreferences(res);
|
|
922
982
|
}
|
|
983
|
+
|
|
984
|
+
// fall back to getting the preferred site from the user information
|
|
985
|
+
if (!this.preferredWebexSite) {
|
|
986
|
+
// @ts-ignore
|
|
987
|
+
return this.webex.internal.user
|
|
988
|
+
.get()
|
|
989
|
+
.then((user) => {
|
|
990
|
+
const preferredWebexSite =
|
|
991
|
+
user?.userPreferences?.userPreferencesItems?.preferredWebExSite;
|
|
992
|
+
if (preferredWebexSite) {
|
|
993
|
+
this.preferredWebexSite = preferredWebexSite;
|
|
994
|
+
} else {
|
|
995
|
+
throw new Error('site not found');
|
|
996
|
+
}
|
|
997
|
+
})
|
|
998
|
+
.catch(() => {
|
|
999
|
+
LoggerProxy.logger.error(
|
|
1000
|
+
'Failed to fetch preferred site from user - no site will be set'
|
|
1001
|
+
);
|
|
1002
|
+
});
|
|
1003
|
+
}
|
|
1004
|
+
|
|
1005
|
+
return Promise.resolve();
|
|
923
1006
|
});
|
|
924
1007
|
}
|
|
925
1008
|
|
|
@@ -960,29 +1043,55 @@ export default class Meetings extends WebexPlugin {
|
|
|
960
1043
|
}
|
|
961
1044
|
|
|
962
1045
|
/**
|
|
963
|
-
* Create a meeting.
|
|
964
|
-
*
|
|
1046
|
+
* Create a meeting or return an existing meeting.
|
|
1047
|
+
*
|
|
1048
|
+
* When meeting info passed it should be complete, e.g.: fetched after password or captcha provided
|
|
1049
|
+
*
|
|
1050
|
+
* @param {string} destination - sipURL, phonenumber, or locus object}
|
|
965
1051
|
* @param {string} [type] - the optional specified type, such as locusId
|
|
966
1052
|
* @param {Boolean} useRandomDelayForInfo - whether a random delay should be added to fetching meeting info
|
|
1053
|
+
* @param {Object} infoExtraParams extra parameters to be provided when fetching meeting info
|
|
1054
|
+
* @param {string} correlationId - the optional specified correlationId (callStateForMetrics.correlationId can be provided instead)
|
|
1055
|
+
* @param {Boolean} failOnMissingMeetingInfo - whether to throw an error if meeting info fails to fetch (for calls that are not 1:1 or content share)
|
|
1056
|
+
* @param {CallStateForMetrics} callStateForMetrics - information about call state for metrics
|
|
1057
|
+
* @param {Object} [meetingInfo] - Pre-fetched complete meeting info
|
|
1058
|
+
* @param {String} [meetingLookupUrl] - meeting info prefetch url
|
|
967
1059
|
* @returns {Promise<Meeting>} A new Meeting.
|
|
968
1060
|
* @public
|
|
969
1061
|
* @memberof Meetings
|
|
970
1062
|
*/
|
|
971
|
-
public create(
|
|
1063
|
+
public create(
|
|
1064
|
+
destination: string,
|
|
1065
|
+
type: string = null,
|
|
1066
|
+
useRandomDelayForInfo = false,
|
|
1067
|
+
infoExtraParams = {},
|
|
1068
|
+
correlationId: string = undefined,
|
|
1069
|
+
failOnMissingMeetingInfo = false,
|
|
1070
|
+
callStateForMetrics: CallStateForMetrics = undefined,
|
|
1071
|
+
meetingInfo = undefined,
|
|
1072
|
+
meetingLookupUrl = undefined
|
|
1073
|
+
) {
|
|
972
1074
|
// TODO: type should be from a dictionary
|
|
973
1075
|
|
|
974
1076
|
// Validate meeting information based on the provided destination and
|
|
975
1077
|
// type. This must be performed prior to determining if the meeting is
|
|
976
1078
|
// found in the collection, as we mutate the destination for hydra person
|
|
977
1079
|
// id values.
|
|
1080
|
+
if (correlationId) {
|
|
1081
|
+
callStateForMetrics = {...(callStateForMetrics || {}), correlationId};
|
|
1082
|
+
}
|
|
1083
|
+
|
|
978
1084
|
return (
|
|
979
1085
|
this.meetingInfo
|
|
980
1086
|
.fetchInfoOptions(destination, type)
|
|
981
1087
|
// Catch a failure to fetch info options.
|
|
982
1088
|
.catch((error) => {
|
|
983
|
-
LoggerProxy.logger.
|
|
984
|
-
`Meetings:index#create -->
|
|
1089
|
+
LoggerProxy.logger.error(
|
|
1090
|
+
`Meetings:index#create --> ERROR, unable to determine info options: ${error.message}`
|
|
985
1091
|
);
|
|
1092
|
+
if (error instanceof SpaceIDDeprecatedError) {
|
|
1093
|
+
throw new SpaceIDDeprecatedError();
|
|
1094
|
+
}
|
|
986
1095
|
})
|
|
987
1096
|
.then((options: any = {}) => {
|
|
988
1097
|
// Normalize the destination.
|
|
@@ -1013,49 +1122,61 @@ export default class Meetings extends WebexPlugin {
|
|
|
1013
1122
|
// Validate if a meeting was found.
|
|
1014
1123
|
if (!meeting) {
|
|
1015
1124
|
// Create a meeting based on the normalized destination and type.
|
|
1016
|
-
return this.createMeeting(
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1125
|
+
return this.createMeeting(
|
|
1126
|
+
targetDest,
|
|
1127
|
+
type,
|
|
1128
|
+
useRandomDelayForInfo,
|
|
1129
|
+
infoExtraParams,
|
|
1130
|
+
callStateForMetrics,
|
|
1131
|
+
failOnMissingMeetingInfo,
|
|
1132
|
+
meetingInfo,
|
|
1133
|
+
meetingLookupUrl
|
|
1134
|
+
).then((createdMeeting: any) => {
|
|
1135
|
+
// If the meeting was successfully created.
|
|
1136
|
+
if (createdMeeting && createdMeeting.on) {
|
|
1137
|
+
// Create a destruction event for the meeting.
|
|
1138
|
+
createdMeeting.on(EVENTS.DESTROY_MEETING, (payload) => {
|
|
1139
|
+
// @ts-ignore
|
|
1140
|
+
if (this.config.autoUploadLogs) {
|
|
1141
|
+
this.uploadLogs({
|
|
1142
|
+
callStart: createdMeeting.locusInfo?.fullState?.lastActive,
|
|
1143
|
+
locussessionid: createdMeeting.locusInfo?.fullState?.sessionId,
|
|
1144
|
+
correlationId: createdMeeting.correlationId,
|
|
1145
|
+
feedbackId: createdMeeting.correlationId,
|
|
1146
|
+
locusId: createdMeeting.locusId,
|
|
1147
|
+
meetingId: createdMeeting.locusInfo?.info?.webExMeetingId,
|
|
1148
|
+
autoupload: true,
|
|
1149
|
+
}).then(() => this.destroy(createdMeeting, payload.reason));
|
|
1150
|
+
} else {
|
|
1151
|
+
this.destroy(createdMeeting, payload.reason);
|
|
1152
|
+
}
|
|
1153
|
+
});
|
|
1154
|
+
|
|
1155
|
+
createdMeeting.on(EVENTS.REQUEST_UPLOAD_LOGS, (meetingInstance) => {
|
|
1156
|
+
// @ts-ignore
|
|
1157
|
+
if (this.config.autoUploadLogs) {
|
|
1158
|
+
this.uploadLogs({
|
|
1159
|
+
callStart: meetingInstance?.locusInfo?.fullState?.lastActive,
|
|
1160
|
+
locussessionid: meetingInstance?.locusInfo?.fullState?.sessionId,
|
|
1161
|
+
correlationId: meetingInstance.correlationId,
|
|
1162
|
+
feedbackId: meetingInstance.correlationId,
|
|
1163
|
+
locusId: meetingInstance.locusId,
|
|
1164
|
+
meetingId: meetingInstance.locusInfo?.info?.webExMeetingId,
|
|
1165
|
+
autoupload: true,
|
|
1166
|
+
});
|
|
1167
|
+
}
|
|
1168
|
+
});
|
|
1169
|
+
} else {
|
|
1170
|
+
LoggerProxy.logger.error(
|
|
1171
|
+
`Meetings:index#create --> ERROR, meeting does not have on method, will not be destroyed, meeting cleanup impossible for meeting: ${meeting}`
|
|
1172
|
+
);
|
|
1056
1173
|
}
|
|
1057
|
-
|
|
1174
|
+
|
|
1175
|
+
// Return the newly created meeting.
|
|
1176
|
+
return Promise.resolve(createdMeeting);
|
|
1177
|
+
});
|
|
1058
1178
|
}
|
|
1179
|
+
meeting.setCallStateForMetrics(callStateForMetrics);
|
|
1059
1180
|
|
|
1060
1181
|
// Return the existing meeting.
|
|
1061
1182
|
return Promise.resolve(meeting);
|
|
@@ -1064,9 +1185,18 @@ export default class Meetings extends WebexPlugin {
|
|
|
1064
1185
|
}
|
|
1065
1186
|
|
|
1066
1187
|
/**
|
|
1188
|
+
* Create meeting
|
|
1189
|
+
*
|
|
1190
|
+
* When meeting info passed it should be complete, e.g.: fetched after password or captcha provided
|
|
1191
|
+
*
|
|
1067
1192
|
* @param {String} destination see create()
|
|
1068
1193
|
* @param {String} type see create()
|
|
1069
1194
|
* @param {Boolean} useRandomDelayForInfo whether a random delay should be added to fetching meeting info
|
|
1195
|
+
* @param {Object} infoExtraParams extra parameters to be provided when fetching meeting info
|
|
1196
|
+
* @param {CallStateForMetrics} callStateForMetrics - information about call state for metrics
|
|
1197
|
+
* @param {Boolean} failOnMissingMeetingInfo - whether to throw an error if meeting info fails to fetch (for calls that are not 1:1 or content share)
|
|
1198
|
+
* @param {Object} [meetingInfo] - Pre-fetched complete meeting info
|
|
1199
|
+
* @param {String} [meetingLookupUrl] - meeting info prefetch url
|
|
1070
1200
|
* @returns {Promise} a new meeting instance complete with meeting info and destination
|
|
1071
1201
|
* @private
|
|
1072
1202
|
* @memberof Meetings
|
|
@@ -1074,7 +1204,12 @@ export default class Meetings extends WebexPlugin {
|
|
|
1074
1204
|
private async createMeeting(
|
|
1075
1205
|
destination: any,
|
|
1076
1206
|
type: string = null,
|
|
1077
|
-
useRandomDelayForInfo = false
|
|
1207
|
+
useRandomDelayForInfo = false,
|
|
1208
|
+
infoExtraParams = {},
|
|
1209
|
+
callStateForMetrics: CallStateForMetrics = undefined,
|
|
1210
|
+
failOnMissingMeetingInfo = false,
|
|
1211
|
+
meetingInfo = undefined,
|
|
1212
|
+
meetingLookupUrl = undefined
|
|
1078
1213
|
) {
|
|
1079
1214
|
const meeting = new Meeting(
|
|
1080
1215
|
{
|
|
@@ -1088,6 +1223,7 @@ export default class Meetings extends WebexPlugin {
|
|
|
1088
1223
|
meetingInfoProvider: this.meetingInfo,
|
|
1089
1224
|
destination,
|
|
1090
1225
|
destinationType: type,
|
|
1226
|
+
callStateForMetrics,
|
|
1091
1227
|
},
|
|
1092
1228
|
{
|
|
1093
1229
|
// @ts-ignore
|
|
@@ -1119,15 +1255,26 @@ export default class Meetings extends WebexPlugin {
|
|
|
1119
1255
|
const isMeetingActive = !!destination.fullState?.active;
|
|
1120
1256
|
// @ts-ignore
|
|
1121
1257
|
const {enableUnifiedMeetings} = this.config.experimental;
|
|
1122
|
-
|
|
1123
|
-
|
|
1258
|
+
const meetingInfoOptions = {
|
|
1259
|
+
extraParams: infoExtraParams,
|
|
1260
|
+
sendCAevents: !!callStateForMetrics?.correlationId, // if client sends correlation id as argument of public create(), then it means that this meeting creation is part of a pre-join intent from user
|
|
1261
|
+
};
|
|
1262
|
+
|
|
1263
|
+
if (meetingInfo) {
|
|
1264
|
+
meeting.injectMeetingInfo(meetingInfo, meetingInfoOptions, meetingLookupUrl);
|
|
1265
|
+
} else if (
|
|
1266
|
+
enableUnifiedMeetings &&
|
|
1267
|
+
!isMeetingActive &&
|
|
1268
|
+
useRandomDelayForInfo &&
|
|
1269
|
+
waitingTime > 0
|
|
1270
|
+
) {
|
|
1124
1271
|
meeting.fetchMeetingInfoTimeoutId = setTimeout(
|
|
1125
|
-
() => meeting.fetchMeetingInfo(
|
|
1272
|
+
() => meeting.fetchMeetingInfo(meetingInfoOptions),
|
|
1126
1273
|
waitingTime
|
|
1127
1274
|
);
|
|
1128
1275
|
meeting.parseMeetingInfo(undefined, destination);
|
|
1129
1276
|
} else {
|
|
1130
|
-
await meeting.fetchMeetingInfo(
|
|
1277
|
+
await meeting.fetchMeetingInfo(meetingInfoOptions);
|
|
1131
1278
|
}
|
|
1132
1279
|
} catch (err) {
|
|
1133
1280
|
if (
|
|
@@ -1135,10 +1282,18 @@ export default class Meetings extends WebexPlugin {
|
|
|
1135
1282
|
!(err instanceof PasswordError) &&
|
|
1136
1283
|
!(err instanceof PermissionError)
|
|
1137
1284
|
) {
|
|
1138
|
-
// if there is no meeting info we assume its a 1:1 call or wireless share
|
|
1139
1285
|
LoggerProxy.logger.info(
|
|
1140
1286
|
`Meetings:index#createMeeting --> Info Unable to fetch meeting info for ${destination}.`
|
|
1141
1287
|
);
|
|
1288
|
+
if (failOnMissingMeetingInfo) {
|
|
1289
|
+
LoggerProxy.logger.info(
|
|
1290
|
+
`Meetings:index#createMeeting --> Destroying meeting due to missing meeting info.`
|
|
1291
|
+
);
|
|
1292
|
+
// @ts-ignore
|
|
1293
|
+
this.destroy(meeting, MEETING_REMOVED_REASON.MISSING_MEETING_INFO);
|
|
1294
|
+
throw new NoMeetingInfoError();
|
|
1295
|
+
}
|
|
1296
|
+
// if there is no meeting info and no error should be thrown then we assume its a 1:1 call or wireless share
|
|
1142
1297
|
LoggerProxy.logger.info(
|
|
1143
1298
|
'Meetings:index#createMeeting --> Info assuming this destination is a 1:1 or wireless share'
|
|
1144
1299
|
);
|
|
@@ -1191,7 +1346,7 @@ export default class Meetings extends WebexPlugin {
|
|
|
1191
1346
|
//
|
|
1192
1347
|
// Our job is to determine the appropriate one
|
|
1193
1348
|
// and its corresponding service so that developers
|
|
1194
|
-
// need only sipURL
|
|
1349
|
+
// need only sipURL to get a meeting
|
|
1195
1350
|
// and its ID, but have the option to use createWithType()
|
|
1196
1351
|
// and specify those types to get meetingInfo
|
|
1197
1352
|
}
|
|
@@ -1229,19 +1384,30 @@ export default class Meetings extends WebexPlugin {
|
|
|
1229
1384
|
}
|
|
1230
1385
|
|
|
1231
1386
|
/**
|
|
1232
|
-
*
|
|
1233
|
-
* @
|
|
1387
|
+
* Syncs all the meetings from server. Does nothing and returns immediately if unverified guest.
|
|
1388
|
+
* @param {boolean} keepOnlyLocusMeetings - whether the sync should keep only locus meetings or any other meeting in meetingCollection
|
|
1389
|
+
* @returns {Promise<void>}
|
|
1234
1390
|
* @public
|
|
1235
1391
|
* @memberof Meetings
|
|
1236
1392
|
*/
|
|
1237
|
-
public syncMeetings() {
|
|
1393
|
+
public syncMeetings({keepOnlyLocusMeetings = true} = {}): Promise<void> {
|
|
1394
|
+
// @ts-ignore
|
|
1395
|
+
if (this.webex.credentials.isUnverifiedGuest) {
|
|
1396
|
+
LoggerProxy.logger.info(
|
|
1397
|
+
'Meetings:index#syncMeetings --> skipping meeting sync as unverified guest'
|
|
1398
|
+
);
|
|
1399
|
+
|
|
1400
|
+
return Promise.resolve();
|
|
1401
|
+
}
|
|
1402
|
+
|
|
1238
1403
|
return this.request
|
|
1239
1404
|
.getActiveMeetings()
|
|
1240
1405
|
.then((locusArray) => {
|
|
1241
1406
|
const activeLocusUrl = [];
|
|
1242
1407
|
|
|
1243
1408
|
if (locusArray?.loci && locusArray.loci.length > 0) {
|
|
1244
|
-
locusArray.loci
|
|
1409
|
+
const lociToUpdate = this.sortLocusArrayToUpdate(locusArray.loci);
|
|
1410
|
+
lociToUpdate.forEach((locus) => {
|
|
1245
1411
|
activeLocusUrl.push(locus.url);
|
|
1246
1412
|
this.handleLocusEvent({
|
|
1247
1413
|
locus,
|
|
@@ -1252,11 +1418,13 @@ export default class Meetings extends WebexPlugin {
|
|
|
1252
1418
|
const meetingsCollection = this.meetingCollection.getAll();
|
|
1253
1419
|
|
|
1254
1420
|
if (Object.keys(meetingsCollection).length > 0) {
|
|
1255
|
-
//
|
|
1256
|
-
//
|
|
1421
|
+
// Sometimes the mercury events are lost after mercury reconnect
|
|
1422
|
+
// Remove any Locus meetings that are not returned by Locus
|
|
1423
|
+
// (they had a locusUrl previously but are no longer active) in the sync
|
|
1257
1424
|
for (const meeting of Object.values(meetingsCollection)) {
|
|
1258
1425
|
// @ts-ignore
|
|
1259
|
-
|
|
1426
|
+
const {locusUrl} = meeting;
|
|
1427
|
+
if ((keepOnlyLocusMeetings || locusUrl) && !activeLocusUrl.includes(locusUrl)) {
|
|
1260
1428
|
// destroy function also uploads logs
|
|
1261
1429
|
// @ts-ignore
|
|
1262
1430
|
this.destroy(meeting, MEETING_REMOVED_REASON.NO_MEETINGS_TO_SYNC);
|
|
@@ -1272,6 +1440,72 @@ export default class Meetings extends WebexPlugin {
|
|
|
1272
1440
|
});
|
|
1273
1441
|
}
|
|
1274
1442
|
|
|
1443
|
+
/**
|
|
1444
|
+
* sort out locus array for initial creating
|
|
1445
|
+
* @param {Array} loci original locus array
|
|
1446
|
+
* @returns {undefined}
|
|
1447
|
+
* @public
|
|
1448
|
+
* @memberof Meetings
|
|
1449
|
+
*/
|
|
1450
|
+
sortLocusArrayToUpdate(loci: any[]) {
|
|
1451
|
+
const mainLoci = loci.filter((locus) => !MeetingsUtil.isBreakoutLocusDTO(locus));
|
|
1452
|
+
const breakoutLoci = loci.filter((locus) => MeetingsUtil.isValidBreakoutLocus(locus));
|
|
1453
|
+
this.breakoutLocusForHandleLater = [];
|
|
1454
|
+
const lociToUpdate = [...mainLoci];
|
|
1455
|
+
breakoutLoci.forEach((breakoutLocus) => {
|
|
1456
|
+
const associateMainLocus = mainLoci.find(
|
|
1457
|
+
(mainLocus) => mainLocus.controls?.breakout?.url === breakoutLocus.controls?.breakout?.url
|
|
1458
|
+
);
|
|
1459
|
+
const existCorrespondingMeeting = this.getCorrespondingMeetingByLocus({
|
|
1460
|
+
locus: breakoutLocus,
|
|
1461
|
+
locusUrl: breakoutLocus.url,
|
|
1462
|
+
});
|
|
1463
|
+
|
|
1464
|
+
if (associateMainLocus && !existCorrespondingMeeting) {
|
|
1465
|
+
// if exists both main session and breakout session locus of the same non-exist meeting, handle main locus first,
|
|
1466
|
+
// after meeting create with main locus, then handle the associate breakout locus.
|
|
1467
|
+
// if only handle breakout locus, will miss some date
|
|
1468
|
+
this.breakoutLocusForHandleLater.push(breakoutLocus);
|
|
1469
|
+
} else {
|
|
1470
|
+
lociToUpdate.push(breakoutLocus);
|
|
1471
|
+
}
|
|
1472
|
+
});
|
|
1473
|
+
|
|
1474
|
+
return lociToUpdate;
|
|
1475
|
+
}
|
|
1476
|
+
|
|
1477
|
+
/**
|
|
1478
|
+
* check breakout locus which waiting for main locus's meeting to be created, then handle the breakout locus
|
|
1479
|
+
* @param {Object} newCreatedLocus the locus which just create meeting object of it
|
|
1480
|
+
* @returns {undefined}
|
|
1481
|
+
* @public
|
|
1482
|
+
* @memberof Meetings
|
|
1483
|
+
*/
|
|
1484
|
+
checkHandleBreakoutLocus(newCreatedLocus) {
|
|
1485
|
+
if (
|
|
1486
|
+
!newCreatedLocus ||
|
|
1487
|
+
!this.breakoutLocusForHandleLater ||
|
|
1488
|
+
!this.breakoutLocusForHandleLater.length
|
|
1489
|
+
) {
|
|
1490
|
+
return;
|
|
1491
|
+
}
|
|
1492
|
+
if (MeetingsUtil.isBreakoutLocusDTO(newCreatedLocus)) {
|
|
1493
|
+
return;
|
|
1494
|
+
}
|
|
1495
|
+
const existIndex = this.breakoutLocusForHandleLater.findIndex(
|
|
1496
|
+
(breakoutLocus) =>
|
|
1497
|
+
breakoutLocus.controls?.breakout?.url === newCreatedLocus.controls?.breakout?.url
|
|
1498
|
+
);
|
|
1499
|
+
|
|
1500
|
+
if (existIndex < 0) {
|
|
1501
|
+
return;
|
|
1502
|
+
}
|
|
1503
|
+
|
|
1504
|
+
const associateBreakoutLocus = this.breakoutLocusForHandleLater[existIndex];
|
|
1505
|
+
this.handleLocusEvent({locus: associateBreakoutLocus, locusUrl: associateBreakoutLocus.url});
|
|
1506
|
+
this.breakoutLocusForHandleLater.splice(existIndex, 1);
|
|
1507
|
+
}
|
|
1508
|
+
|
|
1275
1509
|
/**
|
|
1276
1510
|
* Get all scheduled meetings.
|
|
1277
1511
|
* @param {object} options
|
|
@@ -1291,4 +1525,15 @@ export default class Meetings extends WebexPlugin {
|
|
|
1291
1525
|
getLogger() {
|
|
1292
1526
|
return LoggerProxy.get();
|
|
1293
1527
|
}
|
|
1528
|
+
|
|
1529
|
+
/**
|
|
1530
|
+
* Returns the first meeting it finds that has the webrtc media connection created.
|
|
1531
|
+
* Useful for debugging in the console.
|
|
1532
|
+
*
|
|
1533
|
+
* @private
|
|
1534
|
+
* @returns {Meeting} Meeting object that has a webrtc media connection, else undefined
|
|
1535
|
+
*/
|
|
1536
|
+
getActiveWebrtcMeeting() {
|
|
1537
|
+
return this.meetingCollection.getActiveWebrtcMeeting();
|
|
1538
|
+
}
|
|
1294
1539
|
}
|