@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/dist/meetings/index.js
CHANGED
|
@@ -2,19 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
var _typeof = require("@babel/runtime-corejs2/helpers/typeof");
|
|
4
4
|
var _Reflect$construct = require("@babel/runtime-corejs2/core-js/reflect/construct");
|
|
5
|
-
var
|
|
6
|
-
var _Object$
|
|
5
|
+
var _Object$keys2 = require("@babel/runtime-corejs2/core-js/object/keys");
|
|
6
|
+
var _Object$getOwnPropertySymbols = require("@babel/runtime-corejs2/core-js/object/get-own-property-symbols");
|
|
7
7
|
var _Object$getOwnPropertyDescriptor = require("@babel/runtime-corejs2/core-js/object/get-own-property-descriptor");
|
|
8
|
+
var _Object$getOwnPropertyDescriptors = require("@babel/runtime-corejs2/core-js/object/get-own-property-descriptors");
|
|
9
|
+
var _Object$defineProperties = require("@babel/runtime-corejs2/core-js/object/define-properties");
|
|
10
|
+
var _Object$defineProperty = require("@babel/runtime-corejs2/core-js/object/define-property");
|
|
11
|
+
var _WeakMap = require("@babel/runtime-corejs2/core-js/weak-map");
|
|
8
12
|
var _interopRequireDefault = require("@babel/runtime-corejs2/helpers/interopRequireDefault");
|
|
9
13
|
_Object$defineProperty(exports, "__esModule", {
|
|
10
14
|
value: true
|
|
11
15
|
});
|
|
12
16
|
exports.default = void 0;
|
|
13
|
-
var _regenerator = _interopRequireDefault(require("@babel/runtime-corejs2/regenerator"));
|
|
14
17
|
var _promise = _interopRequireDefault(require("@babel/runtime-corejs2/core-js/promise"));
|
|
15
18
|
var _now = _interopRequireDefault(require("@babel/runtime-corejs2/core-js/date/now"));
|
|
16
19
|
var _keys = _interopRequireDefault(require("@babel/runtime-corejs2/core-js/object/keys"));
|
|
17
20
|
var _values = _interopRequireDefault(require("@babel/runtime-corejs2/core-js/object/values"));
|
|
21
|
+
var _regenerator = _interopRequireDefault(require("@babel/runtime-corejs2/regenerator"));
|
|
22
|
+
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/toConsumableArray"));
|
|
18
23
|
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/asyncToGenerator"));
|
|
19
24
|
var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/assertThisInitialized"));
|
|
20
25
|
var _inherits2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/inherits"));
|
|
@@ -25,14 +30,14 @@ var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime-corejs2/he
|
|
|
25
30
|
var _createClass2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/createClass"));
|
|
26
31
|
require("@webex/internal-plugin-mercury");
|
|
27
32
|
require("@webex/internal-plugin-conversation");
|
|
33
|
+
require("@webex/internal-plugin-metrics");
|
|
28
34
|
var _webexCore = require("@webex/webex-core");
|
|
29
35
|
var _internalMediaCore = require("@webex/internal-media-core");
|
|
30
36
|
var mediaHelpersModule = _interopRequireWildcard(require("@webex/media-helpers"));
|
|
31
37
|
require("webrtc-adapter");
|
|
32
38
|
var _metrics = _interopRequireDefault(require("../metrics"));
|
|
33
|
-
var _config = require("../metrics/config");
|
|
34
39
|
var _loggerConfig = _interopRequireDefault(require("../common/logs/logger-config"));
|
|
35
|
-
var
|
|
40
|
+
var _config = _interopRequireDefault(require("../common/config"));
|
|
36
41
|
var _loggerProxy = _interopRequireDefault(require("../common/logs/logger-proxy"));
|
|
37
42
|
var _request = _interopRequireDefault(require("../common/logs/request"));
|
|
38
43
|
var _triggerProxy = _interopRequireDefault(require("../common/events/trigger-proxy"));
|
|
@@ -51,10 +56,14 @@ var _captchaError = _interopRequireDefault(require("../common/errors/captcha-err
|
|
|
51
56
|
var _collection = _interopRequireDefault(require("./collection"));
|
|
52
57
|
var _util2 = _interopRequireDefault(require("./util"));
|
|
53
58
|
var _permission = _interopRequireDefault(require("../common/errors/permission"));
|
|
54
|
-
|
|
55
|
-
|
|
59
|
+
var _webexErrors = require("../common/errors/webex-errors");
|
|
60
|
+
var _noMeetingInfo = _interopRequireDefault(require("../common/errors/no-meeting-info"));
|
|
61
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof _WeakMap) return null; var r = new _WeakMap(), t = new _WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
62
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = _Object$defineProperty && _Object$getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? _Object$getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? _Object$defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
63
|
+
function ownKeys(e, r) { var t = _Object$keys2(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
64
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
56
65
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = _Reflect$construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
|
57
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !_Reflect$construct) return false; if (_Reflect$construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(_Reflect$construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
66
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !_Reflect$construct) return false; if (_Reflect$construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(_Reflect$construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } /* eslint no-shadow: ["error", { "allow": ["eventType"] }] */ // @ts-ignore
|
|
58
67
|
var mediaLogger;
|
|
59
68
|
var MediaLogger = /*#__PURE__*/function () {
|
|
60
69
|
function MediaLogger() {
|
|
@@ -146,7 +155,7 @@ var MediaLogger = /*#__PURE__*/function () {
|
|
|
146
155
|
* Maintain a cache of meetings and sync with services.
|
|
147
156
|
* @class
|
|
148
157
|
*/
|
|
149
|
-
var Meetings = /*#__PURE__*/function (_WebexPlugin) {
|
|
158
|
+
var Meetings = exports.default = /*#__PURE__*/function (_WebexPlugin) {
|
|
150
159
|
(0, _inherits2.default)(Meetings, _WebexPlugin);
|
|
151
160
|
var _super = _createSuper(Meetings);
|
|
152
161
|
/**
|
|
@@ -183,7 +192,66 @@ var Meetings = /*#__PURE__*/function (_WebexPlugin) {
|
|
|
183
192
|
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "geoHintInfo", void 0);
|
|
184
193
|
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "meetingInfo", void 0);
|
|
185
194
|
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "mediaHelpers", void 0);
|
|
195
|
+
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "breakoutLocusForHandleLater", void 0);
|
|
186
196
|
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "namespace", _constants.MEETINGS);
|
|
197
|
+
/**
|
|
198
|
+
* Creates a noise reduction effect
|
|
199
|
+
*
|
|
200
|
+
* @param {INoiseReductionEffect} options optional custom effect options
|
|
201
|
+
* @returns {Promise<effect>} noise reduction effect.
|
|
202
|
+
* @public
|
|
203
|
+
* @memberof Meetings
|
|
204
|
+
*/
|
|
205
|
+
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "createNoiseReductionEffect", /*#__PURE__*/function () {
|
|
206
|
+
var _ref = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(options) {
|
|
207
|
+
var authToken;
|
|
208
|
+
return _regenerator.default.wrap(function _callee$(_context) {
|
|
209
|
+
while (1) switch (_context.prev = _context.next) {
|
|
210
|
+
case 0:
|
|
211
|
+
// @ts-ignore
|
|
212
|
+
authToken = _this.webex.credentials.supertoken.access_token;
|
|
213
|
+
return _context.abrupt("return", new mediaHelpersModule.NoiseReductionEffect(_objectSpread({
|
|
214
|
+
authToken: authToken
|
|
215
|
+
}, options)));
|
|
216
|
+
case 2:
|
|
217
|
+
case "end":
|
|
218
|
+
return _context.stop();
|
|
219
|
+
}
|
|
220
|
+
}, _callee);
|
|
221
|
+
}));
|
|
222
|
+
return function (_x) {
|
|
223
|
+
return _ref.apply(this, arguments);
|
|
224
|
+
};
|
|
225
|
+
}());
|
|
226
|
+
/**
|
|
227
|
+
* Creates a virtual background effect
|
|
228
|
+
*
|
|
229
|
+
* @param {IVirtualBackgroundEffect} options optional custom effect options
|
|
230
|
+
* @returns {Promise<effect>} virtual background effect.
|
|
231
|
+
* @public
|
|
232
|
+
* @memberof Meetings
|
|
233
|
+
*/
|
|
234
|
+
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "createVirtualBackgroundEffect", /*#__PURE__*/function () {
|
|
235
|
+
var _ref2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2(options) {
|
|
236
|
+
var authToken;
|
|
237
|
+
return _regenerator.default.wrap(function _callee2$(_context2) {
|
|
238
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
239
|
+
case 0:
|
|
240
|
+
// @ts-ignore
|
|
241
|
+
authToken = _this.webex.credentials.supertoken.access_token;
|
|
242
|
+
return _context2.abrupt("return", new mediaHelpersModule.VirtualBackgroundEffect(_objectSpread({
|
|
243
|
+
authToken: authToken
|
|
244
|
+
}, options)));
|
|
245
|
+
case 2:
|
|
246
|
+
case "end":
|
|
247
|
+
return _context2.stop();
|
|
248
|
+
}
|
|
249
|
+
}, _callee2);
|
|
250
|
+
}));
|
|
251
|
+
return function (_x2) {
|
|
252
|
+
return _ref2.apply(this, arguments);
|
|
253
|
+
};
|
|
254
|
+
}());
|
|
187
255
|
_this.mediaHelpers = mediaHelpersModule;
|
|
188
256
|
|
|
189
257
|
/**
|
|
@@ -217,15 +285,17 @@ var Meetings = /*#__PURE__*/function (_WebexPlugin) {
|
|
|
217
285
|
* @memberof Meetings
|
|
218
286
|
*/
|
|
219
287
|
_this.personalMeetingRoom = null;
|
|
288
|
+
|
|
220
289
|
/**
|
|
221
|
-
* The Reachability object to interact with server
|
|
290
|
+
* The Reachability object to interact with server
|
|
222
291
|
* starts as null
|
|
223
292
|
* @instance
|
|
224
293
|
* @type {Object}
|
|
225
294
|
* @private
|
|
226
295
|
* @memberof Meetings
|
|
227
296
|
*/
|
|
228
|
-
|
|
297
|
+
// @ts-ignore
|
|
298
|
+
_this.reachability = new _reachability.default(_this.webex);
|
|
229
299
|
|
|
230
300
|
/**
|
|
231
301
|
* If the meetings plugin has been registered and listening via {@link Meetings#register}
|
|
@@ -254,8 +324,7 @@ var Meetings = /*#__PURE__*/function (_WebexPlugin) {
|
|
|
254
324
|
* @memberof Meetings
|
|
255
325
|
*/
|
|
256
326
|
_this.media = {
|
|
257
|
-
getUserMedia: _media.default.getUserMedia
|
|
258
|
-
getSupportedDevice: _media.default.getSupportedDevice
|
|
327
|
+
getUserMedia: _media.default.getUserMedia
|
|
259
328
|
};
|
|
260
329
|
_this.onReady();
|
|
261
330
|
return _this;
|
|
@@ -277,8 +346,12 @@ var Meetings = /*#__PURE__*/function (_WebexPlugin) {
|
|
|
277
346
|
var breakoutLocus = this.meetingCollection.getActiveBreakoutLocus(breakoutUrl);
|
|
278
347
|
var isSelfJoined = (newLocus === null || newLocus === void 0 ? void 0 : (_newLocus$self = newLocus.self) === null || _newLocus$self === void 0 ? void 0 : _newLocus$self.state) === _constants._JOINED_;
|
|
279
348
|
var isSelfMoved = (newLocus === null || newLocus === void 0 ? void 0 : (_newLocus$self2 = newLocus.self) === null || _newLocus$self2 === void 0 ? void 0 : _newLocus$self2.state) === _constants._LEFT_ && (newLocus === null || newLocus === void 0 ? void 0 : (_newLocus$self3 = newLocus.self) === null || _newLocus$self3 === void 0 ? void 0 : _newLocus$self3.reason) === _constants._MOVED_;
|
|
280
|
-
|
|
281
|
-
var
|
|
349
|
+
// @ts-ignore
|
|
350
|
+
var deviceFromNewLocus = _util2.default.getThisDevice(newLocus, this.webex.internal.device.url);
|
|
351
|
+
var isResourceMovedOnThisDevice = (deviceFromNewLocus === null || deviceFromNewLocus === void 0 ? void 0 : deviceFromNewLocus.state) === _constants._LEFT_ && (deviceFromNewLocus === null || deviceFromNewLocus === void 0 ? void 0 : deviceFromNewLocus.reason) === _constants._MOVED_;
|
|
352
|
+
var isNewLocusJoinThisDevice = _util2.default.joinedOnThisDevice(meeting, newLocus,
|
|
353
|
+
// @ts-ignore
|
|
354
|
+
this.webex.internal.device.url);
|
|
282
355
|
var isBreakoutLocusJoinThisDevice = (breakoutLocus === null || breakoutLocus === void 0 ? void 0 : (_breakoutLocus$joined = breakoutLocus.joinedWith) === null || _breakoutLocus$joined === void 0 ? void 0 : _breakoutLocus$joined.correlationId) && breakoutLocus.joinedWith.correlationId === (meeting === null || meeting === void 0 ? void 0 : meeting.correlationId);
|
|
283
356
|
if (isSelfJoined && isNewLocusJoinThisDevice) {
|
|
284
357
|
_loggerProxy.default.logger.log('Meetings:index#isNeedHandleMainLocus --> self this device shown as JOINED in the main session');
|
|
@@ -297,8 +370,12 @@ var Meetings = /*#__PURE__*/function (_WebexPlugin) {
|
|
|
297
370
|
_loggerProxy.default.logger.log("Meetings:index#isNeedHandleMainLocus --> there is active breakout session and joined on this device, and don't need to handle main session: ".concat(breakoutUrl));
|
|
298
371
|
return false;
|
|
299
372
|
}
|
|
300
|
-
if (isSelfMoved && newLocus !== null && newLocus !== void 0 && (_newLocus$self4 = newLocus.self) !== null && _newLocus$self4 !== void 0 && _newLocus$self4.removed) {
|
|
301
|
-
_loggerProxy.default.logger.log('Meetings:index#isNeedHandleMainLocus --> self moved main locus with self removed status, not need to handle');
|
|
373
|
+
if (isSelfMoved && (newLocus !== null && newLocus !== void 0 && (_newLocus$self4 = newLocus.self) !== null && _newLocus$self4 !== void 0 && _newLocus$self4.removed || isResourceMovedOnThisDevice)) {
|
|
374
|
+
_loggerProxy.default.logger.log('Meetings:index#isNeedHandleMainLocus --> self moved main locus with self removed status or with device resource moved, not need to handle');
|
|
375
|
+
return false;
|
|
376
|
+
}
|
|
377
|
+
if (isSelfJoined && isResourceMovedOnThisDevice) {
|
|
378
|
+
_loggerProxy.default.logger.log('Meetings:index#isNeedHandleMainLocus --> self device left&moved in main locus with self joined status, not need to handle');
|
|
302
379
|
return false;
|
|
303
380
|
}
|
|
304
381
|
_loggerProxy.default.logger.log('Meetings:index#isNeedHandleMainLocus --> this is a normal main session locusDTO update case');
|
|
@@ -317,8 +394,8 @@ var Meetings = /*#__PURE__*/function (_WebexPlugin) {
|
|
|
317
394
|
key: "isNeedHandleLocusDTO",
|
|
318
395
|
value: function isNeedHandleLocusDTO(meeting, newLocus) {
|
|
319
396
|
if (newLocus) {
|
|
320
|
-
var _newLocus$
|
|
321
|
-
var isNewLocusAsBreakout = (
|
|
397
|
+
var _newLocus$self5, _newLocus$self6;
|
|
398
|
+
var isNewLocusAsBreakout = _util2.default.isBreakoutLocusDTO(newLocus);
|
|
322
399
|
var isSelfMoved = (newLocus === null || newLocus === void 0 ? void 0 : (_newLocus$self5 = newLocus.self) === null || _newLocus$self5 === void 0 ? void 0 : _newLocus$self5.state) === _constants._LEFT_ && (newLocus === null || newLocus === void 0 ? void 0 : (_newLocus$self6 = newLocus.self) === null || _newLocus$self6 === void 0 ? void 0 : _newLocus$self6.reason) === _constants._MOVED_;
|
|
323
400
|
if (!meeting) {
|
|
324
401
|
if (isNewLocusAsBreakout) {
|
|
@@ -336,6 +413,29 @@ var Meetings = /*#__PURE__*/function (_WebexPlugin) {
|
|
|
336
413
|
return true;
|
|
337
414
|
}
|
|
338
415
|
|
|
416
|
+
/**
|
|
417
|
+
* get corresponding meeting object by locus data
|
|
418
|
+
* @param {Object} data a locus event
|
|
419
|
+
* @param {String} data.locusUrl
|
|
420
|
+
* @param {Object} data.locus
|
|
421
|
+
* @returns {Object}
|
|
422
|
+
* @private
|
|
423
|
+
* @memberof Meetings
|
|
424
|
+
*/
|
|
425
|
+
}, {
|
|
426
|
+
key: "getCorrespondingMeetingByLocus",
|
|
427
|
+
value: function getCorrespondingMeetingByLocus(data) {
|
|
428
|
+
var _data$locus$info, _data$locus, _data$locus$info2;
|
|
429
|
+
// getting meeting by correlationId. This will happen for the new event
|
|
430
|
+
// Either the locus
|
|
431
|
+
// TODO : Add check for the callBack Address
|
|
432
|
+
return this.meetingCollection.getByKey(_constants.LOCUS_URL, data.locusUrl) ||
|
|
433
|
+
// @ts-ignore
|
|
434
|
+
this.meetingCollection.getByKey(_constants.CORRELATION_ID,
|
|
435
|
+
// @ts-ignore
|
|
436
|
+
_util2.default.checkForCorrelationId(this.webex.internal.device.url, data.locus)) || this.meetingCollection.getByKey(_constants.SIP_URI, data.locus.self && data.locus.self.callbackInfo && data.locus.self.callbackInfo.callbackAddress) || ((_data$locus$info = data.locus.info) !== null && _data$locus$info !== void 0 && _data$locus$info.isUnifiedSpaceMeeting ? undefined : this.meetingCollection.getByKey(_constants.CONVERSATION_URL, data.locus.conversationUrl)) || this.meetingCollection.getByKey(_constants.MEETINGNUMBER, (_data$locus = data.locus) === null || _data$locus === void 0 ? void 0 : (_data$locus$info2 = _data$locus.info) === null || _data$locus$info2 === void 0 ? void 0 : _data$locus$info2.webExMeetingId);
|
|
437
|
+
}
|
|
438
|
+
|
|
339
439
|
/**
|
|
340
440
|
* handle locus events and takes meeting actions with them as they come in
|
|
341
441
|
* @param {Object} data a locus event
|
|
@@ -350,22 +450,11 @@ var Meetings = /*#__PURE__*/function (_WebexPlugin) {
|
|
|
350
450
|
}, {
|
|
351
451
|
key: "handleLocusEvent",
|
|
352
452
|
value: function handleLocusEvent(data) {
|
|
353
|
-
var _data$
|
|
354
|
-
_data$locus,
|
|
355
|
-
_data$locus$info2,
|
|
356
|
-
_data$locus2,
|
|
453
|
+
var _data$locus2,
|
|
357
454
|
_data$locus2$replaces,
|
|
358
455
|
_this2 = this;
|
|
359
456
|
var useRandomDelayForInfo = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
360
|
-
var meeting =
|
|
361
|
-
// getting meeting by correlationId. This will happen for the new event
|
|
362
|
-
// Either the locus
|
|
363
|
-
// TODO : Add check for the callBack Address
|
|
364
|
-
meeting = this.meetingCollection.getByKey(_constants.LOCUS_URL, data.locusUrl) ||
|
|
365
|
-
// @ts-ignore
|
|
366
|
-
this.meetingCollection.getByKey(_constants.CORRELATION_ID,
|
|
367
|
-
// @ts-ignore
|
|
368
|
-
_util2.default.checkForCorrelationId(this.webex.internal.device.url, data.locus)) || this.meetingCollection.getByKey(_constants.SIP_URI, data.locus.self && data.locus.self.callbackInfo && data.locus.self.callbackInfo.callbackAddress) || ((_data$locus$info = data.locus.info) !== null && _data$locus$info !== void 0 && _data$locus$info.isUnifiedSpaceMeeting ? undefined : this.meetingCollection.getByKey(_constants.CONVERSATION_URL, data.locus.conversationUrl)) || this.meetingCollection.getByKey(_constants.MEETINGNUMBER, (_data$locus = data.locus) === null || _data$locus === void 0 ? void 0 : (_data$locus$info2 = _data$locus.info) === null || _data$locus$info2 === void 0 ? void 0 : _data$locus$info2.webExMeetingId);
|
|
457
|
+
var meeting = this.getCorrespondingMeetingByLocus(data);
|
|
369
458
|
|
|
370
459
|
// Special case when locus has got replaced, This only happend once if a replace locus exists
|
|
371
460
|
// https://sqbu-github.cisco.com/WebExSquared/locus/wiki/Locus-changing-mid-call
|
|
@@ -374,6 +463,9 @@ var Meetings = /*#__PURE__*/function (_WebexPlugin) {
|
|
|
374
463
|
// Always the last element in the replace is the active one
|
|
375
464
|
meeting = this.meetingCollection.getByKey(_constants.LOCUS_URL, data.locus.replaces[data.locus.replaces.length - 1].locusUrl);
|
|
376
465
|
}
|
|
466
|
+
if (meeting && !_util2.default.isBreakoutLocusDTO(data.locus)) {
|
|
467
|
+
meeting.locusInfo.updateMainSessionLocusCache(data.locus);
|
|
468
|
+
}
|
|
377
469
|
if (!this.isNeedHandleLocusDTO(meeting, data.locus)) {
|
|
378
470
|
_loggerProxy.default.logger.log("Meetings:index#handleLocusEvent --> doesn't need to process locus event");
|
|
379
471
|
return;
|
|
@@ -417,6 +509,7 @@ var Meetings = /*#__PURE__*/function (_WebexPlugin) {
|
|
|
417
509
|
|
|
418
510
|
// It's a new meeting so initialize the locus data
|
|
419
511
|
meeting.locusInfo.initialSetup(data.locus);
|
|
512
|
+
_this2.checkHandleBreakoutLocus(data.locus);
|
|
420
513
|
}).catch(function (e) {
|
|
421
514
|
_loggerProxy.default.logger.error(e);
|
|
422
515
|
}).finally(function () {
|
|
@@ -424,11 +517,14 @@ var Meetings = /*#__PURE__*/function (_WebexPlugin) {
|
|
|
424
517
|
// because the other user left so before sending 'added' event make sure it exists in the collection
|
|
425
518
|
|
|
426
519
|
if (_this2.getMeetingByType(_constants._ID_, meeting.id)) {
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
trigger:
|
|
520
|
+
// @ts-ignore
|
|
521
|
+
_this2.webex.internal.newMetrics.submitClientEvent({
|
|
522
|
+
name: 'client.call.remote-started',
|
|
523
|
+
payload: {
|
|
524
|
+
trigger: 'mercury-event'
|
|
525
|
+
},
|
|
526
|
+
options: {
|
|
527
|
+
meetingId: meeting.id
|
|
432
528
|
}
|
|
433
529
|
});
|
|
434
530
|
_triggerProxy.default.trigger(_this2, {
|
|
@@ -504,7 +600,9 @@ var Meetings = /*#__PURE__*/function (_WebexPlugin) {
|
|
|
504
600
|
|
|
505
601
|
// @ts-ignore
|
|
506
602
|
this.webex.internal.mercury.on(_constants.ONLINE, function () {
|
|
507
|
-
_this3.syncMeetings(
|
|
603
|
+
_this3.syncMeetings({
|
|
604
|
+
keepOnlyLocusMeetings: false
|
|
605
|
+
});
|
|
508
606
|
});
|
|
509
607
|
|
|
510
608
|
// @ts-ignore
|
|
@@ -542,7 +640,7 @@ var Meetings = /*#__PURE__*/function (_WebexPlugin) {
|
|
|
542
640
|
// @ts-ignore
|
|
543
641
|
this.webex.once(_constants.READY, function () {
|
|
544
642
|
// @ts-ignore
|
|
545
|
-
|
|
643
|
+
_config.default.set(_this4.config);
|
|
546
644
|
// @ts-ignore
|
|
547
645
|
_loggerConfig.default.set(_this4.config.logging);
|
|
548
646
|
// @ts-ignore
|
|
@@ -579,7 +677,7 @@ var Meetings = /*#__PURE__*/function (_WebexPlugin) {
|
|
|
579
677
|
disableNotifications: true
|
|
580
678
|
});
|
|
581
679
|
// @ts-ignore
|
|
582
|
-
_metrics.default.initialSetup(_this4.
|
|
680
|
+
_metrics.default.initialSetup(_this4.webex);
|
|
583
681
|
});
|
|
584
682
|
}
|
|
585
683
|
|
|
@@ -607,40 +705,43 @@ var Meetings = /*#__PURE__*/function (_WebexPlugin) {
|
|
|
607
705
|
}
|
|
608
706
|
|
|
609
707
|
/**
|
|
610
|
-
* API to
|
|
611
|
-
* @param {Boolean}
|
|
708
|
+
* API to toggle starting adhoc meeting
|
|
709
|
+
* @param {Boolean} changeState
|
|
612
710
|
* @private
|
|
613
711
|
* @memberof Meetings
|
|
614
712
|
* @returns {undefined}
|
|
615
713
|
*/
|
|
616
714
|
}, {
|
|
617
|
-
key: "
|
|
618
|
-
value: function
|
|
619
|
-
|
|
715
|
+
key: "_toggleAdhocMeetings",
|
|
716
|
+
value: function _toggleAdhocMeetings(changeState) {
|
|
717
|
+
var _this$config2, _this$config2$experim;
|
|
718
|
+
if (typeof changeState !== 'boolean') {
|
|
620
719
|
return;
|
|
621
720
|
}
|
|
622
721
|
// @ts-ignore
|
|
623
|
-
this.config.experimental.
|
|
722
|
+
if (((_this$config2 = this.config) === null || _this$config2 === void 0 ? void 0 : (_this$config2$experim = _this$config2.experimental) === null || _this$config2$experim === void 0 ? void 0 : _this$config2$experim.enableAdhocMeetings) !== changeState) {
|
|
723
|
+
// @ts-ignore
|
|
724
|
+
this.config.experimental.enableAdhocMeetings = changeState;
|
|
725
|
+
}
|
|
624
726
|
}
|
|
625
727
|
|
|
626
728
|
/**
|
|
627
|
-
* API to toggle
|
|
628
|
-
* @param {Boolean}
|
|
729
|
+
* API to toggle TCP reachability, needs to be called before webex.meetings.register()
|
|
730
|
+
* @param {Boolean} newValue
|
|
629
731
|
* @private
|
|
630
732
|
* @memberof Meetings
|
|
631
733
|
* @returns {undefined}
|
|
632
734
|
*/
|
|
633
735
|
}, {
|
|
634
|
-
key: "
|
|
635
|
-
value: function
|
|
636
|
-
|
|
637
|
-
if (typeof changeState !== 'boolean') {
|
|
736
|
+
key: "_toggleTcpReachability",
|
|
737
|
+
value: function _toggleTcpReachability(newValue) {
|
|
738
|
+
if (typeof newValue !== 'boolean') {
|
|
638
739
|
return;
|
|
639
740
|
}
|
|
640
741
|
// @ts-ignore
|
|
641
|
-
if (
|
|
742
|
+
if (this.config.experimental.enableTcpReachability !== newValue) {
|
|
642
743
|
// @ts-ignore
|
|
643
|
-
this.config.experimental.
|
|
744
|
+
this.config.experimental.enableTcpReachability = newValue;
|
|
644
745
|
}
|
|
645
746
|
}
|
|
646
747
|
|
|
@@ -728,7 +829,9 @@ var Meetings = /*#__PURE__*/function (_WebexPlugin) {
|
|
|
728
829
|
})
|
|
729
830
|
);
|
|
730
831
|
}
|
|
731
|
-
|
|
832
|
+
}, {
|
|
833
|
+
key: "uploadLogs",
|
|
834
|
+
value:
|
|
732
835
|
/**
|
|
733
836
|
* Uploads logs to the webex services for tracking
|
|
734
837
|
* @param {Object} [options={}]
|
|
@@ -741,14 +844,13 @@ var Meetings = /*#__PURE__*/function (_WebexPlugin) {
|
|
|
741
844
|
* @param {String} [options.orgId] org id
|
|
742
845
|
* @returns {String} feedback ID logs were submitted under
|
|
743
846
|
*/
|
|
744
|
-
|
|
745
|
-
key: "uploadLogs",
|
|
746
|
-
value: function uploadLogs() {
|
|
847
|
+
function uploadLogs() {
|
|
747
848
|
var _this7 = this;
|
|
748
849
|
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
749
850
|
_loggerProxy.default.logger.info('Meetings:index#uploadLogs --> uploading logs');
|
|
750
851
|
return this.loggerRequest.uploadLogs(options).then(function (uploadResult) {
|
|
751
852
|
_loggerProxy.default.logger.info('Meetings:index#uploadLogs --> Upload logs for meeting completed.', uploadResult);
|
|
853
|
+
_metrics.default.sendBehavioralMetric(_constants2.default.UPLOAD_LOGS_SUCCESS, options);
|
|
752
854
|
_triggerProxy.default.trigger(_this7, {
|
|
753
855
|
file: 'meetings',
|
|
754
856
|
function: 'uploadLogs'
|
|
@@ -766,29 +868,14 @@ var Meetings = /*#__PURE__*/function (_WebexPlugin) {
|
|
|
766
868
|
meetingId: options.meetingId,
|
|
767
869
|
reason: uploadError
|
|
768
870
|
});
|
|
769
|
-
_metrics.default.sendBehavioralMetric(_constants2.default.UPLOAD_LOGS_FAILURE, {
|
|
770
|
-
// @ts-ignore - seems like typo
|
|
771
|
-
meetingId: options.meetingsId,
|
|
871
|
+
_metrics.default.sendBehavioralMetric(_constants2.default.UPLOAD_LOGS_FAILURE, _objectSpread(_objectSpread({}, options), {}, {
|
|
772
872
|
reason: uploadError.message,
|
|
773
873
|
stack: uploadError.stack,
|
|
774
874
|
code: uploadError.code
|
|
775
|
-
});
|
|
875
|
+
}));
|
|
776
876
|
});
|
|
777
877
|
}
|
|
778
878
|
|
|
779
|
-
/**
|
|
780
|
-
* initializes the reachability instance for Meetings
|
|
781
|
-
* @returns {undefined}
|
|
782
|
-
* @public
|
|
783
|
-
* @memberof Meetings
|
|
784
|
-
*/
|
|
785
|
-
}, {
|
|
786
|
-
key: "setReachability",
|
|
787
|
-
value: function setReachability() {
|
|
788
|
-
// @ts-ignore
|
|
789
|
-
this.reachability = new _reachability.default(this.webex);
|
|
790
|
-
}
|
|
791
|
-
|
|
792
879
|
/**
|
|
793
880
|
* gets the reachability instance for Meetings
|
|
794
881
|
* @returns {Reachability}
|
|
@@ -810,9 +897,6 @@ var Meetings = /*#__PURE__*/function (_WebexPlugin) {
|
|
|
810
897
|
}, {
|
|
811
898
|
key: "startReachability",
|
|
812
899
|
value: function startReachability() {
|
|
813
|
-
if (!this.reachability) {
|
|
814
|
-
this.setReachability();
|
|
815
|
-
}
|
|
816
900
|
return this.getReachability().gatherReachability();
|
|
817
901
|
}
|
|
818
902
|
|
|
@@ -846,6 +930,23 @@ var Meetings = /*#__PURE__*/function (_WebexPlugin) {
|
|
|
846
930
|
if (res) {
|
|
847
931
|
_this9.preferredWebexSite = _util2.default.parseDefaultSiteFromMeetingPreferences(res);
|
|
848
932
|
}
|
|
933
|
+
|
|
934
|
+
// fall back to getting the preferred site from the user information
|
|
935
|
+
if (!_this9.preferredWebexSite) {
|
|
936
|
+
// @ts-ignore
|
|
937
|
+
return _this9.webex.internal.user.get().then(function (user) {
|
|
938
|
+
var _user$userPreferences, _user$userPreferences2;
|
|
939
|
+
var preferredWebexSite = user === null || user === void 0 ? void 0 : (_user$userPreferences = user.userPreferences) === null || _user$userPreferences === void 0 ? void 0 : (_user$userPreferences2 = _user$userPreferences.userPreferencesItems) === null || _user$userPreferences2 === void 0 ? void 0 : _user$userPreferences2.preferredWebExSite;
|
|
940
|
+
if (preferredWebexSite) {
|
|
941
|
+
_this9.preferredWebexSite = preferredWebexSite;
|
|
942
|
+
} else {
|
|
943
|
+
throw new Error('site not found');
|
|
944
|
+
}
|
|
945
|
+
}).catch(function () {
|
|
946
|
+
_loggerProxy.default.logger.error('Failed to fetch preferred site from user - no site will be set');
|
|
947
|
+
});
|
|
948
|
+
}
|
|
949
|
+
return _promise.default.resolve();
|
|
849
950
|
});
|
|
850
951
|
}
|
|
851
952
|
|
|
@@ -884,10 +985,19 @@ var Meetings = /*#__PURE__*/function (_WebexPlugin) {
|
|
|
884
985
|
}
|
|
885
986
|
|
|
886
987
|
/**
|
|
887
|
-
* Create a meeting.
|
|
888
|
-
*
|
|
988
|
+
* Create a meeting or return an existing meeting.
|
|
989
|
+
*
|
|
990
|
+
* When meeting info passed it should be complete, e.g.: fetched after password or captcha provided
|
|
991
|
+
*
|
|
992
|
+
* @param {string} destination - sipURL, phonenumber, or locus object}
|
|
889
993
|
* @param {string} [type] - the optional specified type, such as locusId
|
|
890
994
|
* @param {Boolean} useRandomDelayForInfo - whether a random delay should be added to fetching meeting info
|
|
995
|
+
* @param {Object} infoExtraParams extra parameters to be provided when fetching meeting info
|
|
996
|
+
* @param {string} correlationId - the optional specified correlationId (callStateForMetrics.correlationId can be provided instead)
|
|
997
|
+
* @param {Boolean} failOnMissingMeetingInfo - whether to throw an error if meeting info fails to fetch (for calls that are not 1:1 or content share)
|
|
998
|
+
* @param {CallStateForMetrics} callStateForMetrics - information about call state for metrics
|
|
999
|
+
* @param {Object} [meetingInfo] - Pre-fetched complete meeting info
|
|
1000
|
+
* @param {String} [meetingLookupUrl] - meeting info prefetch url
|
|
891
1001
|
* @returns {Promise<Meeting>} A new Meeting.
|
|
892
1002
|
* @public
|
|
893
1003
|
* @memberof Meetings
|
|
@@ -898,16 +1008,30 @@ var Meetings = /*#__PURE__*/function (_WebexPlugin) {
|
|
|
898
1008
|
var _this10 = this;
|
|
899
1009
|
var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
|
|
900
1010
|
var useRandomDelayForInfo = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
|
1011
|
+
var infoExtraParams = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
|
|
1012
|
+
var correlationId = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : undefined;
|
|
1013
|
+
var failOnMissingMeetingInfo = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : false;
|
|
1014
|
+
var callStateForMetrics = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : undefined;
|
|
1015
|
+
var meetingInfo = arguments.length > 7 && arguments[7] !== undefined ? arguments[7] : undefined;
|
|
1016
|
+
var meetingLookupUrl = arguments.length > 8 && arguments[8] !== undefined ? arguments[8] : undefined;
|
|
901
1017
|
// TODO: type should be from a dictionary
|
|
902
1018
|
|
|
903
1019
|
// Validate meeting information based on the provided destination and
|
|
904
1020
|
// type. This must be performed prior to determining if the meeting is
|
|
905
1021
|
// found in the collection, as we mutate the destination for hydra person
|
|
906
1022
|
// id values.
|
|
1023
|
+
if (correlationId) {
|
|
1024
|
+
callStateForMetrics = _objectSpread(_objectSpread({}, callStateForMetrics || {}), {}, {
|
|
1025
|
+
correlationId: correlationId
|
|
1026
|
+
});
|
|
1027
|
+
}
|
|
907
1028
|
return this.meetingInfo.fetchInfoOptions(destination, type)
|
|
908
1029
|
// Catch a failure to fetch info options.
|
|
909
1030
|
.catch(function (error) {
|
|
910
|
-
_loggerProxy.default.logger.
|
|
1031
|
+
_loggerProxy.default.logger.error("Meetings:index#create --> ERROR, unable to determine info options: ".concat(error.message));
|
|
1032
|
+
if (error instanceof _webexErrors.SpaceIDDeprecatedError) {
|
|
1033
|
+
throw new _webexErrors.SpaceIDDeprecatedError();
|
|
1034
|
+
}
|
|
911
1035
|
}).then(function () {
|
|
912
1036
|
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
913
1037
|
// Normalize the destination.
|
|
@@ -936,20 +1060,22 @@ var Meetings = /*#__PURE__*/function (_WebexPlugin) {
|
|
|
936
1060
|
// Validate if a meeting was found.
|
|
937
1061
|
if (!meeting) {
|
|
938
1062
|
// Create a meeting based on the normalized destination and type.
|
|
939
|
-
return _this10.createMeeting(targetDest, type, useRandomDelayForInfo).then(function (createdMeeting) {
|
|
1063
|
+
return _this10.createMeeting(targetDest, type, useRandomDelayForInfo, infoExtraParams, callStateForMetrics, failOnMissingMeetingInfo, meetingInfo, meetingLookupUrl).then(function (createdMeeting) {
|
|
940
1064
|
// If the meeting was successfully created.
|
|
941
1065
|
if (createdMeeting && createdMeeting.on) {
|
|
942
1066
|
// Create a destruction event for the meeting.
|
|
943
1067
|
createdMeeting.on(_constants.EVENTS.DESTROY_MEETING, function (payload) {
|
|
944
1068
|
// @ts-ignore
|
|
945
1069
|
if (_this10.config.autoUploadLogs) {
|
|
946
|
-
var _createdMeeting$locus, _createdMeeting$locus2, _createdMeeting$locus3, _createdMeeting$locus4;
|
|
1070
|
+
var _createdMeeting$locus, _createdMeeting$locus2, _createdMeeting$locus3, _createdMeeting$locus4, _createdMeeting$locus5, _createdMeeting$locus6;
|
|
947
1071
|
_this10.uploadLogs({
|
|
948
1072
|
callStart: (_createdMeeting$locus = createdMeeting.locusInfo) === null || _createdMeeting$locus === void 0 ? void 0 : (_createdMeeting$locus2 = _createdMeeting$locus.fullState) === null || _createdMeeting$locus2 === void 0 ? void 0 : _createdMeeting$locus2.lastActive,
|
|
1073
|
+
locussessionid: (_createdMeeting$locus3 = createdMeeting.locusInfo) === null || _createdMeeting$locus3 === void 0 ? void 0 : (_createdMeeting$locus4 = _createdMeeting$locus3.fullState) === null || _createdMeeting$locus4 === void 0 ? void 0 : _createdMeeting$locus4.sessionId,
|
|
949
1074
|
correlationId: createdMeeting.correlationId,
|
|
950
1075
|
feedbackId: createdMeeting.correlationId,
|
|
951
1076
|
locusId: createdMeeting.locusId,
|
|
952
|
-
meetingId: (_createdMeeting$
|
|
1077
|
+
meetingId: (_createdMeeting$locus5 = createdMeeting.locusInfo) === null || _createdMeeting$locus5 === void 0 ? void 0 : (_createdMeeting$locus6 = _createdMeeting$locus5.info) === null || _createdMeeting$locus6 === void 0 ? void 0 : _createdMeeting$locus6.webExMeetingId,
|
|
1078
|
+
autoupload: true
|
|
953
1079
|
}).then(function () {
|
|
954
1080
|
return _this10.destroy(createdMeeting, payload.reason);
|
|
955
1081
|
});
|
|
@@ -960,13 +1086,15 @@ var Meetings = /*#__PURE__*/function (_WebexPlugin) {
|
|
|
960
1086
|
createdMeeting.on(_constants.EVENTS.REQUEST_UPLOAD_LOGS, function (meetingInstance) {
|
|
961
1087
|
// @ts-ignore
|
|
962
1088
|
if (_this10.config.autoUploadLogs) {
|
|
963
|
-
var _meetingInstance$locu, _meetingInstance$locu2, _meetingInstance$locu3, _meetingInstance$locu4;
|
|
1089
|
+
var _meetingInstance$locu, _meetingInstance$locu2, _meetingInstance$locu3, _meetingInstance$locu4, _meetingInstance$locu5, _meetingInstance$locu6;
|
|
964
1090
|
_this10.uploadLogs({
|
|
965
1091
|
callStart: meetingInstance === null || meetingInstance === void 0 ? void 0 : (_meetingInstance$locu = meetingInstance.locusInfo) === null || _meetingInstance$locu === void 0 ? void 0 : (_meetingInstance$locu2 = _meetingInstance$locu.fullState) === null || _meetingInstance$locu2 === void 0 ? void 0 : _meetingInstance$locu2.lastActive,
|
|
1092
|
+
locussessionid: meetingInstance === null || meetingInstance === void 0 ? void 0 : (_meetingInstance$locu3 = meetingInstance.locusInfo) === null || _meetingInstance$locu3 === void 0 ? void 0 : (_meetingInstance$locu4 = _meetingInstance$locu3.fullState) === null || _meetingInstance$locu4 === void 0 ? void 0 : _meetingInstance$locu4.sessionId,
|
|
966
1093
|
correlationId: meetingInstance.correlationId,
|
|
967
1094
|
feedbackId: meetingInstance.correlationId,
|
|
968
1095
|
locusId: meetingInstance.locusId,
|
|
969
|
-
meetingId: (_meetingInstance$
|
|
1096
|
+
meetingId: (_meetingInstance$locu5 = meetingInstance.locusInfo) === null || _meetingInstance$locu5 === void 0 ? void 0 : (_meetingInstance$locu6 = _meetingInstance$locu5.info) === null || _meetingInstance$locu6 === void 0 ? void 0 : _meetingInstance$locu6.webExMeetingId,
|
|
1097
|
+
autoupload: true
|
|
970
1098
|
});
|
|
971
1099
|
}
|
|
972
1100
|
});
|
|
@@ -978,6 +1106,7 @@ var Meetings = /*#__PURE__*/function (_WebexPlugin) {
|
|
|
978
1106
|
return _promise.default.resolve(createdMeeting);
|
|
979
1107
|
});
|
|
980
1108
|
}
|
|
1109
|
+
meeting.setCallStateForMetrics(callStateForMetrics);
|
|
981
1110
|
|
|
982
1111
|
// Return the existing meeting.
|
|
983
1112
|
return _promise.default.resolve(meeting);
|
|
@@ -985,19 +1114,33 @@ var Meetings = /*#__PURE__*/function (_WebexPlugin) {
|
|
|
985
1114
|
}
|
|
986
1115
|
|
|
987
1116
|
/**
|
|
1117
|
+
* Create meeting
|
|
1118
|
+
*
|
|
1119
|
+
* When meeting info passed it should be complete, e.g.: fetched after password or captcha provided
|
|
1120
|
+
*
|
|
988
1121
|
* @param {String} destination see create()
|
|
989
1122
|
* @param {String} type see create()
|
|
990
1123
|
* @param {Boolean} useRandomDelayForInfo whether a random delay should be added to fetching meeting info
|
|
1124
|
+
* @param {Object} infoExtraParams extra parameters to be provided when fetching meeting info
|
|
1125
|
+
* @param {CallStateForMetrics} callStateForMetrics - information about call state for metrics
|
|
1126
|
+
* @param {Boolean} failOnMissingMeetingInfo - whether to throw an error if meeting info fails to fetch (for calls that are not 1:1 or content share)
|
|
1127
|
+
* @param {Object} [meetingInfo] - Pre-fetched complete meeting info
|
|
1128
|
+
* @param {String} [meetingLookupUrl] - meeting info prefetch url
|
|
991
1129
|
* @returns {Promise} a new meeting instance complete with meeting info and destination
|
|
992
1130
|
* @private
|
|
993
1131
|
* @memberof Meetings
|
|
994
1132
|
*/
|
|
995
1133
|
}, {
|
|
996
1134
|
key: "createMeeting",
|
|
997
|
-
value: function () {
|
|
998
|
-
var _createMeeting = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1135
|
+
value: (function () {
|
|
1136
|
+
var _createMeeting = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3(destination) {
|
|
999
1137
|
var type,
|
|
1000
1138
|
useRandomDelayForInfo,
|
|
1139
|
+
infoExtraParams,
|
|
1140
|
+
callStateForMetrics,
|
|
1141
|
+
failOnMissingMeetingInfo,
|
|
1142
|
+
meetingInfo,
|
|
1143
|
+
meetingLookupUrl,
|
|
1001
1144
|
meeting,
|
|
1002
1145
|
_destination$fullStat,
|
|
1003
1146
|
waitingTime,
|
|
@@ -1008,13 +1151,19 @@ var Meetings = /*#__PURE__*/function (_WebexPlugin) {
|
|
|
1008
1151
|
maxWaitingTime,
|
|
1009
1152
|
isMeetingActive,
|
|
1010
1153
|
enableUnifiedMeetings,
|
|
1154
|
+
meetingInfoOptions,
|
|
1011
1155
|
meetingAddedType,
|
|
1012
|
-
|
|
1013
|
-
return _regenerator.default.wrap(function
|
|
1014
|
-
while (1) switch (
|
|
1156
|
+
_args3 = arguments;
|
|
1157
|
+
return _regenerator.default.wrap(function _callee3$(_context3) {
|
|
1158
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
1015
1159
|
case 0:
|
|
1016
|
-
type =
|
|
1017
|
-
useRandomDelayForInfo =
|
|
1160
|
+
type = _args3.length > 1 && _args3[1] !== undefined ? _args3[1] : null;
|
|
1161
|
+
useRandomDelayForInfo = _args3.length > 2 && _args3[2] !== undefined ? _args3[2] : false;
|
|
1162
|
+
infoExtraParams = _args3.length > 3 && _args3[3] !== undefined ? _args3[3] : {};
|
|
1163
|
+
callStateForMetrics = _args3.length > 4 && _args3[4] !== undefined ? _args3[4] : undefined;
|
|
1164
|
+
failOnMissingMeetingInfo = _args3.length > 5 && _args3[5] !== undefined ? _args3[5] : false;
|
|
1165
|
+
meetingInfo = _args3.length > 6 && _args3[6] !== undefined ? _args3[6] : undefined;
|
|
1166
|
+
meetingLookupUrl = _args3.length > 7 && _args3[7] !== undefined ? _args3[7] : undefined;
|
|
1018
1167
|
meeting = new _meeting.default({
|
|
1019
1168
|
// @ts-ignore
|
|
1020
1169
|
userId: this.webex.internal.device.userId,
|
|
@@ -1026,13 +1175,14 @@ var Meetings = /*#__PURE__*/function (_WebexPlugin) {
|
|
|
1026
1175
|
// pass the locus object if present
|
|
1027
1176
|
meetingInfoProvider: this.meetingInfo,
|
|
1028
1177
|
destination: destination,
|
|
1029
|
-
destinationType: type
|
|
1178
|
+
destinationType: type,
|
|
1179
|
+
callStateForMetrics: callStateForMetrics
|
|
1030
1180
|
}, {
|
|
1031
1181
|
// @ts-ignore
|
|
1032
1182
|
parent: this.webex
|
|
1033
1183
|
});
|
|
1034
1184
|
this.meetingCollection.set(meeting);
|
|
1035
|
-
|
|
1185
|
+
_context3.prev = 9;
|
|
1036
1186
|
// if no participant has joined the scheduled meeting (meaning meeting is not active) and we get a locusEvent,
|
|
1037
1187
|
// it means the meeting will start in 5-6 min. In that case, we want to fetchMeetingInfo
|
|
1038
1188
|
// between 5 and 2 min (random between 3 minutes) before the meeting starts
|
|
@@ -1048,33 +1198,57 @@ var Meetings = /*#__PURE__*/function (_WebexPlugin) {
|
|
|
1048
1198
|
}
|
|
1049
1199
|
isMeetingActive = !!((_destination$fullStat = destination.fullState) !== null && _destination$fullStat !== void 0 && _destination$fullStat.active); // @ts-ignore
|
|
1050
1200
|
enableUnifiedMeetings = this.config.experimental.enableUnifiedMeetings;
|
|
1201
|
+
meetingInfoOptions = {
|
|
1202
|
+
extraParams: infoExtraParams,
|
|
1203
|
+
sendCAevents: !!(callStateForMetrics !== null && callStateForMetrics !== void 0 && 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
|
|
1204
|
+
};
|
|
1205
|
+
if (!meetingInfo) {
|
|
1206
|
+
_context3.next = 19;
|
|
1207
|
+
break;
|
|
1208
|
+
}
|
|
1209
|
+
meeting.injectMeetingInfo(meetingInfo, meetingInfoOptions, meetingLookupUrl);
|
|
1210
|
+
_context3.next = 26;
|
|
1211
|
+
break;
|
|
1212
|
+
case 19:
|
|
1051
1213
|
if (!(enableUnifiedMeetings && !isMeetingActive && useRandomDelayForInfo && waitingTime > 0)) {
|
|
1052
|
-
|
|
1214
|
+
_context3.next = 24;
|
|
1053
1215
|
break;
|
|
1054
1216
|
}
|
|
1055
1217
|
meeting.fetchMeetingInfoTimeoutId = setTimeout(function () {
|
|
1056
|
-
return meeting.fetchMeetingInfo(
|
|
1218
|
+
return meeting.fetchMeetingInfo(meetingInfoOptions);
|
|
1057
1219
|
}, waitingTime);
|
|
1058
1220
|
meeting.parseMeetingInfo(undefined, destination);
|
|
1059
|
-
|
|
1221
|
+
_context3.next = 26;
|
|
1060
1222
|
break;
|
|
1061
|
-
case
|
|
1062
|
-
|
|
1063
|
-
return meeting.fetchMeetingInfo(
|
|
1064
|
-
case
|
|
1065
|
-
|
|
1223
|
+
case 24:
|
|
1224
|
+
_context3.next = 26;
|
|
1225
|
+
return meeting.fetchMeetingInfo(meetingInfoOptions);
|
|
1226
|
+
case 26:
|
|
1227
|
+
_context3.next = 38;
|
|
1066
1228
|
break;
|
|
1067
|
-
case
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
if (!(
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1229
|
+
case 28:
|
|
1230
|
+
_context3.prev = 28;
|
|
1231
|
+
_context3.t0 = _context3["catch"](9);
|
|
1232
|
+
if (!(!(_context3.t0 instanceof _captchaError.default) && !(_context3.t0 instanceof _passwordError.default) && !(_context3.t0 instanceof _permission.default))) {
|
|
1233
|
+
_context3.next = 37;
|
|
1234
|
+
break;
|
|
1235
|
+
}
|
|
1236
|
+
_loggerProxy.default.logger.info("Meetings:index#createMeeting --> Info Unable to fetch meeting info for ".concat(destination, "."));
|
|
1237
|
+
if (!failOnMissingMeetingInfo) {
|
|
1238
|
+
_context3.next = 36;
|
|
1239
|
+
break;
|
|
1074
1240
|
}
|
|
1075
|
-
_loggerProxy.default.logger.
|
|
1076
|
-
|
|
1077
|
-
|
|
1241
|
+
_loggerProxy.default.logger.info("Meetings:index#createMeeting --> Destroying meeting due to missing meeting info.");
|
|
1242
|
+
// @ts-ignore
|
|
1243
|
+
this.destroy(meeting, _constants.MEETING_REMOVED_REASON.MISSING_MEETING_INFO);
|
|
1244
|
+
throw new _noMeetingInfo.default();
|
|
1245
|
+
case 36:
|
|
1246
|
+
// if there is no meeting info and no error should be thrown then we assume its a 1:1 call or wireless share
|
|
1247
|
+
_loggerProxy.default.logger.info('Meetings:index#createMeeting --> Info assuming this destination is a 1:1 or wireless share');
|
|
1248
|
+
case 37:
|
|
1249
|
+
_loggerProxy.default.logger.debug("Meetings:index#createMeeting --> Debug ".concat(_context3.t0, " fetching /meetingInfo for creation."));
|
|
1250
|
+
case 38:
|
|
1251
|
+
_context3.prev = 38;
|
|
1078
1252
|
// For type LOCUS_ID we need to parse the locus object to get the information
|
|
1079
1253
|
// about the caller and callee
|
|
1080
1254
|
// Meeting Added event will be created in `handleLocusEvent`
|
|
@@ -1094,16 +1268,16 @@ var Meetings = /*#__PURE__*/function (_WebexPlugin) {
|
|
|
1094
1268
|
type: meetingAddedType
|
|
1095
1269
|
});
|
|
1096
1270
|
}
|
|
1097
|
-
return
|
|
1098
|
-
case
|
|
1099
|
-
return
|
|
1100
|
-
case
|
|
1271
|
+
return _context3.finish(38);
|
|
1272
|
+
case 41:
|
|
1273
|
+
return _context3.abrupt("return", meeting);
|
|
1274
|
+
case 42:
|
|
1101
1275
|
case "end":
|
|
1102
|
-
return
|
|
1276
|
+
return _context3.stop();
|
|
1103
1277
|
}
|
|
1104
|
-
},
|
|
1278
|
+
}, _callee3, this, [[9, 28, 38, 41]]);
|
|
1105
1279
|
}));
|
|
1106
|
-
function createMeeting(
|
|
1280
|
+
function createMeeting(_x3) {
|
|
1107
1281
|
return _createMeeting.apply(this, arguments);
|
|
1108
1282
|
}
|
|
1109
1283
|
return createMeeting;
|
|
@@ -1116,6 +1290,7 @@ var Meetings = /*#__PURE__*/function (_WebexPlugin) {
|
|
|
1116
1290
|
* @public
|
|
1117
1291
|
* @memberof Meetings
|
|
1118
1292
|
*/
|
|
1293
|
+
)
|
|
1119
1294
|
}, {
|
|
1120
1295
|
key: "getMeetingByType",
|
|
1121
1296
|
value: function getMeetingByType(type, value) {
|
|
@@ -1141,8 +1316,9 @@ var Meetings = /*#__PURE__*/function (_WebexPlugin) {
|
|
|
1141
1316
|
}
|
|
1142
1317
|
|
|
1143
1318
|
/**
|
|
1144
|
-
*
|
|
1145
|
-
* @
|
|
1319
|
+
* Syncs all the meetings from server. Does nothing and returns immediately if unverified guest.
|
|
1320
|
+
* @param {boolean} keepOnlyLocusMeetings - whether the sync should keep only locus meetings or any other meeting in meetingCollection
|
|
1321
|
+
* @returns {Promise<void>}
|
|
1146
1322
|
* @public
|
|
1147
1323
|
* @memberof Meetings
|
|
1148
1324
|
*/
|
|
@@ -1150,10 +1326,19 @@ var Meetings = /*#__PURE__*/function (_WebexPlugin) {
|
|
|
1150
1326
|
key: "syncMeetings",
|
|
1151
1327
|
value: function syncMeetings() {
|
|
1152
1328
|
var _this11 = this;
|
|
1329
|
+
var _ref3 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
|
|
1330
|
+
_ref3$keepOnlyLocusMe = _ref3.keepOnlyLocusMeetings,
|
|
1331
|
+
keepOnlyLocusMeetings = _ref3$keepOnlyLocusMe === void 0 ? true : _ref3$keepOnlyLocusMe;
|
|
1332
|
+
// @ts-ignore
|
|
1333
|
+
if (this.webex.credentials.isUnverifiedGuest) {
|
|
1334
|
+
_loggerProxy.default.logger.info('Meetings:index#syncMeetings --> skipping meeting sync as unverified guest');
|
|
1335
|
+
return _promise.default.resolve();
|
|
1336
|
+
}
|
|
1153
1337
|
return this.request.getActiveMeetings().then(function (locusArray) {
|
|
1154
1338
|
var activeLocusUrl = [];
|
|
1155
1339
|
if (locusArray !== null && locusArray !== void 0 && locusArray.loci && locusArray.loci.length > 0) {
|
|
1156
|
-
locusArray.loci
|
|
1340
|
+
var lociToUpdate = _this11.sortLocusArrayToUpdate(locusArray.loci);
|
|
1341
|
+
lociToUpdate.forEach(function (locus) {
|
|
1157
1342
|
activeLocusUrl.push(locus.url);
|
|
1158
1343
|
_this11.handleLocusEvent({
|
|
1159
1344
|
locus: locus,
|
|
@@ -1163,12 +1348,14 @@ var Meetings = /*#__PURE__*/function (_WebexPlugin) {
|
|
|
1163
1348
|
}
|
|
1164
1349
|
var meetingsCollection = _this11.meetingCollection.getAll();
|
|
1165
1350
|
if ((0, _keys.default)(meetingsCollection).length > 0) {
|
|
1166
|
-
//
|
|
1167
|
-
//
|
|
1351
|
+
// Sometimes the mercury events are lost after mercury reconnect
|
|
1352
|
+
// Remove any Locus meetings that are not returned by Locus
|
|
1353
|
+
// (they had a locusUrl previously but are no longer active) in the sync
|
|
1168
1354
|
for (var _i = 0, _Object$values = (0, _values.default)(meetingsCollection); _i < _Object$values.length; _i++) {
|
|
1169
1355
|
var meeting = _Object$values[_i];
|
|
1170
1356
|
// @ts-ignore
|
|
1171
|
-
|
|
1357
|
+
var locusUrl = meeting.locusUrl;
|
|
1358
|
+
if ((keepOnlyLocusMeetings || locusUrl) && !activeLocusUrl.includes(locusUrl)) {
|
|
1172
1359
|
// destroy function also uploads logs
|
|
1173
1360
|
// @ts-ignore
|
|
1174
1361
|
_this11.destroy(meeting, _constants.MEETING_REMOVED_REASON.NO_MEETINGS_TO_SYNC);
|
|
@@ -1181,6 +1368,77 @@ var Meetings = /*#__PURE__*/function (_WebexPlugin) {
|
|
|
1181
1368
|
});
|
|
1182
1369
|
}
|
|
1183
1370
|
|
|
1371
|
+
/**
|
|
1372
|
+
* sort out locus array for initial creating
|
|
1373
|
+
* @param {Array} loci original locus array
|
|
1374
|
+
* @returns {undefined}
|
|
1375
|
+
* @public
|
|
1376
|
+
* @memberof Meetings
|
|
1377
|
+
*/
|
|
1378
|
+
}, {
|
|
1379
|
+
key: "sortLocusArrayToUpdate",
|
|
1380
|
+
value: function sortLocusArrayToUpdate(loci) {
|
|
1381
|
+
var _this12 = this;
|
|
1382
|
+
var mainLoci = loci.filter(function (locus) {
|
|
1383
|
+
return !_util2.default.isBreakoutLocusDTO(locus);
|
|
1384
|
+
});
|
|
1385
|
+
var breakoutLoci = loci.filter(function (locus) {
|
|
1386
|
+
return _util2.default.isValidBreakoutLocus(locus);
|
|
1387
|
+
});
|
|
1388
|
+
this.breakoutLocusForHandleLater = [];
|
|
1389
|
+
var lociToUpdate = (0, _toConsumableArray2.default)(mainLoci);
|
|
1390
|
+
breakoutLoci.forEach(function (breakoutLocus) {
|
|
1391
|
+
var associateMainLocus = mainLoci.find(function (mainLocus) {
|
|
1392
|
+
var _mainLocus$controls, _mainLocus$controls$b, _breakoutLocus$contro, _breakoutLocus$contro2;
|
|
1393
|
+
return ((_mainLocus$controls = mainLocus.controls) === null || _mainLocus$controls === void 0 ? void 0 : (_mainLocus$controls$b = _mainLocus$controls.breakout) === null || _mainLocus$controls$b === void 0 ? void 0 : _mainLocus$controls$b.url) === ((_breakoutLocus$contro = breakoutLocus.controls) === null || _breakoutLocus$contro === void 0 ? void 0 : (_breakoutLocus$contro2 = _breakoutLocus$contro.breakout) === null || _breakoutLocus$contro2 === void 0 ? void 0 : _breakoutLocus$contro2.url);
|
|
1394
|
+
});
|
|
1395
|
+
var existCorrespondingMeeting = _this12.getCorrespondingMeetingByLocus({
|
|
1396
|
+
locus: breakoutLocus,
|
|
1397
|
+
locusUrl: breakoutLocus.url
|
|
1398
|
+
});
|
|
1399
|
+
if (associateMainLocus && !existCorrespondingMeeting) {
|
|
1400
|
+
// if exists both main session and breakout session locus of the same non-exist meeting, handle main locus first,
|
|
1401
|
+
// after meeting create with main locus, then handle the associate breakout locus.
|
|
1402
|
+
// if only handle breakout locus, will miss some date
|
|
1403
|
+
_this12.breakoutLocusForHandleLater.push(breakoutLocus);
|
|
1404
|
+
} else {
|
|
1405
|
+
lociToUpdate.push(breakoutLocus);
|
|
1406
|
+
}
|
|
1407
|
+
});
|
|
1408
|
+
return lociToUpdate;
|
|
1409
|
+
}
|
|
1410
|
+
|
|
1411
|
+
/**
|
|
1412
|
+
* check breakout locus which waiting for main locus's meeting to be created, then handle the breakout locus
|
|
1413
|
+
* @param {Object} newCreatedLocus the locus which just create meeting object of it
|
|
1414
|
+
* @returns {undefined}
|
|
1415
|
+
* @public
|
|
1416
|
+
* @memberof Meetings
|
|
1417
|
+
*/
|
|
1418
|
+
}, {
|
|
1419
|
+
key: "checkHandleBreakoutLocus",
|
|
1420
|
+
value: function checkHandleBreakoutLocus(newCreatedLocus) {
|
|
1421
|
+
if (!newCreatedLocus || !this.breakoutLocusForHandleLater || !this.breakoutLocusForHandleLater.length) {
|
|
1422
|
+
return;
|
|
1423
|
+
}
|
|
1424
|
+
if (_util2.default.isBreakoutLocusDTO(newCreatedLocus)) {
|
|
1425
|
+
return;
|
|
1426
|
+
}
|
|
1427
|
+
var existIndex = this.breakoutLocusForHandleLater.findIndex(function (breakoutLocus) {
|
|
1428
|
+
var _breakoutLocus$contro3, _breakoutLocus$contro4, _newCreatedLocus$cont, _newCreatedLocus$cont2;
|
|
1429
|
+
return ((_breakoutLocus$contro3 = breakoutLocus.controls) === null || _breakoutLocus$contro3 === void 0 ? void 0 : (_breakoutLocus$contro4 = _breakoutLocus$contro3.breakout) === null || _breakoutLocus$contro4 === void 0 ? void 0 : _breakoutLocus$contro4.url) === ((_newCreatedLocus$cont = newCreatedLocus.controls) === null || _newCreatedLocus$cont === void 0 ? void 0 : (_newCreatedLocus$cont2 = _newCreatedLocus$cont.breakout) === null || _newCreatedLocus$cont2 === void 0 ? void 0 : _newCreatedLocus$cont2.url);
|
|
1430
|
+
});
|
|
1431
|
+
if (existIndex < 0) {
|
|
1432
|
+
return;
|
|
1433
|
+
}
|
|
1434
|
+
var associateBreakoutLocus = this.breakoutLocusForHandleLater[existIndex];
|
|
1435
|
+
this.handleLocusEvent({
|
|
1436
|
+
locus: associateBreakoutLocus,
|
|
1437
|
+
locusUrl: associateBreakoutLocus.url
|
|
1438
|
+
});
|
|
1439
|
+
this.breakoutLocusForHandleLater.splice(existIndex, 1);
|
|
1440
|
+
}
|
|
1441
|
+
|
|
1184
1442
|
/**
|
|
1185
1443
|
* Get all scheduled meetings.
|
|
1186
1444
|
* @param {object} options
|
|
@@ -1206,8 +1464,20 @@ var Meetings = /*#__PURE__*/function (_WebexPlugin) {
|
|
|
1206
1464
|
value: function getLogger() {
|
|
1207
1465
|
return _loggerProxy.default.get();
|
|
1208
1466
|
}
|
|
1467
|
+
|
|
1468
|
+
/**
|
|
1469
|
+
* Returns the first meeting it finds that has the webrtc media connection created.
|
|
1470
|
+
* Useful for debugging in the console.
|
|
1471
|
+
*
|
|
1472
|
+
* @private
|
|
1473
|
+
* @returns {Meeting} Meeting object that has a webrtc media connection, else undefined
|
|
1474
|
+
*/
|
|
1475
|
+
}, {
|
|
1476
|
+
key: "getActiveWebrtcMeeting",
|
|
1477
|
+
value: function getActiveWebrtcMeeting() {
|
|
1478
|
+
return this.meetingCollection.getActiveWebrtcMeeting();
|
|
1479
|
+
}
|
|
1209
1480
|
}]);
|
|
1210
1481
|
return Meetings;
|
|
1211
1482
|
}(_webexCore.WebexPlugin);
|
|
1212
|
-
exports.default = Meetings;
|
|
1213
1483
|
//# sourceMappingURL=index.js.map
|