@webex/plugin-meetings 3.0.0-bnr.4 → 3.0.0-next.1
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 +1167 -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/{selfConstant.js → lib/selfConstant.js} +19 -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/selfUtils.js +132 -27
- 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/meeting/util.js
CHANGED
|
@@ -6,486 +6,719 @@ var _Object$getOwnPropertyDescriptor = require("@babel/runtime-corejs2/core-js/o
|
|
|
6
6
|
var _Object$getOwnPropertyDescriptors = require("@babel/runtime-corejs2/core-js/object/get-own-property-descriptors");
|
|
7
7
|
var _Object$defineProperties = require("@babel/runtime-corejs2/core-js/object/define-properties");
|
|
8
8
|
var _Object$defineProperty = require("@babel/runtime-corejs2/core-js/object/define-property");
|
|
9
|
+
var _Array$from = require("@babel/runtime-corejs2/core-js/array/from");
|
|
10
|
+
var _Symbol = require("@babel/runtime-corejs2/core-js/symbol");
|
|
11
|
+
var _Symbol$iterator = require("@babel/runtime-corejs2/core-js/symbol/iterator");
|
|
12
|
+
var _Array$isArray = require("@babel/runtime-corejs2/core-js/array/is-array");
|
|
9
13
|
var _interopRequireDefault = require("@babel/runtime-corejs2/helpers/interopRequireDefault");
|
|
10
14
|
_Object$defineProperty(exports, "__esModule", {
|
|
11
15
|
value: true
|
|
12
16
|
});
|
|
13
17
|
exports.default = void 0;
|
|
14
|
-
var _promise = _interopRequireDefault(require("@babel/runtime-corejs2/core-js/promise"));
|
|
15
|
-
var _stringify = _interopRequireDefault(require("@babel/runtime-corejs2/core-js/json/stringify"));
|
|
16
18
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/slicedToArray"));
|
|
17
19
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/defineProperty"));
|
|
18
|
-
var
|
|
20
|
+
var _promise = _interopRequireDefault(require("@babel/runtime-corejs2/core-js/promise"));
|
|
21
|
+
var _stringify = _interopRequireDefault(require("@babel/runtime-corejs2/core-js/json/stringify"));
|
|
22
|
+
var _lodash = require("lodash");
|
|
19
23
|
var _webexErrors = require("../common/errors/webex-errors");
|
|
20
|
-
var _metrics = _interopRequireDefault(require("../metrics"));
|
|
21
|
-
var _config = require("../metrics/config");
|
|
22
|
-
var _media = _interopRequireDefault(require("../media"));
|
|
23
24
|
var _loggerProxy = _interopRequireDefault(require("../common/logs/logger-proxy"));
|
|
24
25
|
var _constants = require("../constants");
|
|
26
|
+
var _browserDetection = _interopRequireDefault(require("../common/browser-detection"));
|
|
25
27
|
var _intentToJoin = _interopRequireDefault(require("../common/errors/intent-to-join"));
|
|
26
28
|
var _joinMeeting = _interopRequireDefault(require("../common/errors/join-meeting"));
|
|
27
29
|
var _parameter = _interopRequireDefault(require("../common/errors/parameter"));
|
|
28
30
|
var _permission = _interopRequireDefault(require("../common/errors/permission"));
|
|
29
31
|
var _passwordError = _interopRequireDefault(require("../common/errors/password-error"));
|
|
30
32
|
var _captchaError = _interopRequireDefault(require("../common/errors/captcha-error"));
|
|
31
|
-
|
|
32
|
-
function
|
|
33
|
-
var
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
var _triggerProxy = _interopRequireDefault(require("../common/events/trigger-proxy"));
|
|
34
|
+
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof _Symbol !== "undefined" && o[_Symbol$iterator] || o["@@iterator"]; if (!it) { if (_Array$isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
|
|
35
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return _Array$from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
36
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
37
|
+
function ownKeys(e, r) { var t = _Object$keys(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; }
|
|
38
|
+
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; }
|
|
39
|
+
var MeetingUtil = {
|
|
40
|
+
parseLocusJoin: function parseLocusJoin(response) {
|
|
41
|
+
var parsed = {};
|
|
36
42
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
+
// First todo: add check for existance
|
|
44
|
+
parsed.locus = response.body.locus;
|
|
45
|
+
parsed.mediaConnections = response.body.mediaConnections;
|
|
46
|
+
parsed.locusUrl = parsed.locus.url;
|
|
47
|
+
parsed.locusId = parsed.locus.url.split('/').pop();
|
|
48
|
+
parsed.selfId = parsed.locus.self.id;
|
|
43
49
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
});
|
|
50
|
-
return parsed;
|
|
51
|
-
};
|
|
52
|
-
MeetingUtil.remoteUpdateAudioVideo = function (audioMuted, videoMuted, meeting) {
|
|
53
|
-
if (!meeting) {
|
|
54
|
-
return _promise.default.reject(new _parameter.default('You need a meeting object.'));
|
|
55
|
-
}
|
|
56
|
-
var localMedias = _media.default.generateLocalMedias(meeting.mediaId, audioMuted, videoMuted);
|
|
57
|
-
if ((0, _isEmpty2.default)(localMedias)) {
|
|
58
|
-
return _promise.default.reject(new _parameter.default('You need a media id on the meeting to change remote audio.'));
|
|
59
|
-
}
|
|
60
|
-
_metrics.default.postEvent({
|
|
61
|
-
event: _config.eventType.MEDIA_REQUEST,
|
|
62
|
-
meeting: meeting
|
|
63
|
-
});
|
|
64
|
-
return meeting.meetingRequest.remoteAudioVideoToggle({
|
|
65
|
-
locusUrl: meeting.locusUrl,
|
|
66
|
-
selfId: meeting.selfId,
|
|
67
|
-
localMedias: localMedias,
|
|
68
|
-
deviceUrl: meeting.deviceUrl,
|
|
69
|
-
correlationId: meeting.correlationId,
|
|
70
|
-
preferTranscoding: !meeting.isMultistream
|
|
71
|
-
}).then(function (response) {
|
|
72
|
-
_metrics.default.postEvent({
|
|
73
|
-
event: _config.eventType.MEDIA_RESPONSE,
|
|
74
|
-
meeting: meeting
|
|
50
|
+
// we need mediaId before making roap calls
|
|
51
|
+
parsed.mediaConnections.forEach(function (mediaConnection) {
|
|
52
|
+
if (mediaConnection.mediaId) {
|
|
53
|
+
parsed.mediaId = mediaConnection.mediaId;
|
|
54
|
+
}
|
|
75
55
|
});
|
|
76
|
-
return
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
var _err$body;
|
|
87
|
-
return (err === null || err === void 0 ? void 0 : (_err$body = err.body) === null || _err$body === void 0 ? void 0 : _err$body.errorCode) && _constants.INTENT_TO_JOIN.includes(err.body.errorCode);
|
|
88
|
-
};
|
|
89
|
-
MeetingUtil.joinMeeting = function (meeting, options) {
|
|
90
|
-
if (!meeting) {
|
|
91
|
-
return _promise.default.reject(new _parameter.default('You need a meeting object.'));
|
|
92
|
-
}
|
|
93
|
-
_metrics.default.postEvent({
|
|
94
|
-
event: _config.eventType.LOCUS_JOIN_REQUEST,
|
|
95
|
-
meeting: meeting
|
|
96
|
-
});
|
|
56
|
+
return parsed;
|
|
57
|
+
},
|
|
58
|
+
remoteUpdateAudioVideo: function remoteUpdateAudioVideo(meeting, audioMuted, videoMuted) {
|
|
59
|
+
var webex = meeting.getWebexObject();
|
|
60
|
+
if (!meeting) {
|
|
61
|
+
return _promise.default.reject(new _parameter.default('You need a meeting object.'));
|
|
62
|
+
}
|
|
63
|
+
if (!meeting.locusMediaRequest) {
|
|
64
|
+
return _promise.default.reject(new _parameter.default('You need a meeting with a media connection, call Meeting.addMedia() first.'));
|
|
65
|
+
}
|
|
97
66
|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
meetingNumber: meeting.meetingNumber,
|
|
104
|
-
deviceUrl: meeting.deviceUrl,
|
|
105
|
-
locusUrl: meeting.locusUrl,
|
|
106
|
-
correlationId: meeting.correlationId,
|
|
107
|
-
roapMessage: options.roapMessage,
|
|
108
|
-
permissionToken: meeting.permissionToken,
|
|
109
|
-
resourceId: options.resourceId || null,
|
|
110
|
-
moderator: options.moderator,
|
|
111
|
-
pin: options.pin,
|
|
112
|
-
moveToResource: options.moveToResource,
|
|
113
|
-
preferTranscoding: !meeting.isMultistream,
|
|
114
|
-
asResourceOccupant: options.asResourceOccupant,
|
|
115
|
-
breakoutsSupported: options.breakoutsSupported
|
|
116
|
-
}).then(function (res) {
|
|
117
|
-
_metrics.default.postEvent({
|
|
118
|
-
event: _config.eventType.LOCUS_JOIN_RESPONSE,
|
|
119
|
-
meeting: meeting,
|
|
120
|
-
data: {
|
|
121
|
-
trigger: _config.trigger.LOCI_UPDATE,
|
|
122
|
-
locus: res.body.locus,
|
|
123
|
-
mediaConnections: res.body.mediaConnections,
|
|
124
|
-
trackingId: res.headers.trackingid
|
|
67
|
+
// @ts-ignore
|
|
68
|
+
webex.internal.newMetrics.submitClientEvent({
|
|
69
|
+
name: 'client.locus.media.request',
|
|
70
|
+
options: {
|
|
71
|
+
meetingId: meeting.id
|
|
125
72
|
}
|
|
126
73
|
});
|
|
127
|
-
return
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
74
|
+
return meeting.locusMediaRequest.send({
|
|
75
|
+
type: 'LocalMute',
|
|
76
|
+
selfUrl: meeting.selfUrl,
|
|
77
|
+
mediaId: meeting.mediaId,
|
|
78
|
+
sequence: meeting.locusInfo.sequence,
|
|
79
|
+
muteOptions: {
|
|
80
|
+
audioMuted: audioMuted,
|
|
81
|
+
videoMuted: videoMuted
|
|
82
|
+
}
|
|
83
|
+
}).then(function (response) {
|
|
84
|
+
var _response$body;
|
|
85
|
+
// @ts-ignore
|
|
86
|
+
webex.internal.newMetrics.submitClientEvent({
|
|
87
|
+
name: 'client.locus.media.response',
|
|
88
|
+
options: {
|
|
89
|
+
meetingId: meeting.id
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
return response === null || response === void 0 ? void 0 : (_response$body = response.body) === null || _response$body === void 0 ? void 0 : _response$body.locus;
|
|
93
|
+
});
|
|
94
|
+
},
|
|
95
|
+
hasOwner: function hasOwner(info) {
|
|
96
|
+
return info && info.owner;
|
|
97
|
+
},
|
|
98
|
+
isOwnerSelf: function isOwnerSelf(owner, selfId) {
|
|
99
|
+
return owner === selfId;
|
|
100
|
+
},
|
|
101
|
+
isPinOrGuest: function isPinOrGuest(err) {
|
|
102
|
+
var _err$body;
|
|
103
|
+
return (err === null || err === void 0 ? void 0 : (_err$body = err.body) === null || _err$body === void 0 ? void 0 : _err$body.errorCode) && _constants.INTENT_TO_JOIN.includes(err.body.errorCode);
|
|
104
|
+
},
|
|
105
|
+
/**
|
|
106
|
+
* Returns the current state of knowledge about whether we are on an ipv4-only or ipv6-only or mixed (ipv4 and ipv6) network.
|
|
107
|
+
* The return value matches the possible values of "ipver" parameter used by the backend APIs.
|
|
108
|
+
*
|
|
109
|
+
* @param {Object} webex webex instance
|
|
110
|
+
* @returns {IP_VERSION|undefined} ipver value to be passed to the backend APIs or undefined if we should not pass any value to the backend
|
|
111
|
+
*/
|
|
112
|
+
getIpVersion: function getIpVersion(webex) {
|
|
113
|
+
var _webex$internal$devic = webex.internal.device.ipNetworkDetector,
|
|
114
|
+
supportsIpV4 = _webex$internal$devic.supportsIpV4,
|
|
115
|
+
supportsIpV6 = _webex$internal$devic.supportsIpV6;
|
|
116
|
+
if ((0, _browserDetection.default)().isBrowser('firefox')) {
|
|
117
|
+
// our ipv6 solution relies on FQDN ICE candidates, but Firefox doesn't support them,
|
|
118
|
+
// see https://bugzilla.mozilla.org/show_bug.cgi?id=1713128
|
|
119
|
+
// so for Firefox we don't want the backend to activate the "ipv6 feature"
|
|
120
|
+
return undefined;
|
|
121
|
+
}
|
|
122
|
+
if (supportsIpV4 && supportsIpV6) {
|
|
123
|
+
return _constants.IP_VERSION.ipv4_and_ipv6;
|
|
124
|
+
}
|
|
125
|
+
if (supportsIpV4) {
|
|
126
|
+
return _constants.IP_VERSION.only_ipv4;
|
|
127
|
+
}
|
|
128
|
+
if (supportsIpV6) {
|
|
129
|
+
return _constants.IP_VERSION.only_ipv6;
|
|
130
|
+
}
|
|
131
|
+
return _constants.IP_VERSION.unknown;
|
|
132
|
+
},
|
|
133
|
+
joinMeeting: function joinMeeting(meeting, options) {
|
|
134
|
+
var _meeting$meetingInfo;
|
|
135
|
+
if (!meeting) {
|
|
136
|
+
return _promise.default.reject(new _parameter.default('You need a meeting object.'));
|
|
137
|
+
}
|
|
138
|
+
var webex = meeting.getWebexObject();
|
|
132
139
|
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
return meeting.closeRemoteTracks();
|
|
141
|
-
}).then(function () {
|
|
142
|
-
return meeting.closePeerConnections();
|
|
143
|
-
}).then(function () {
|
|
144
|
-
meeting.unsetLocalVideoTrack();
|
|
145
|
-
meeting.unsetLocalShareTrack();
|
|
146
|
-
meeting.unsetRemoteTracks();
|
|
147
|
-
meeting.unsetPeerConnections();
|
|
148
|
-
meeting.reconnectionManager.cleanUp();
|
|
149
|
-
}).then(function () {
|
|
150
|
-
return meeting.stopKeepAlive();
|
|
151
|
-
}).then(function () {
|
|
152
|
-
return meeting.updateLLMConnection();
|
|
153
|
-
});
|
|
154
|
-
};
|
|
155
|
-
MeetingUtil.disconnectPhoneAudio = function (meeting, phoneUrl) {
|
|
156
|
-
if (meeting.meetingState === _constants.FULL_STATE.INACTIVE) {
|
|
157
|
-
return _promise.default.reject(new _webexErrors.MeetingNotActiveError());
|
|
158
|
-
}
|
|
159
|
-
var options = {
|
|
160
|
-
locusUrl: meeting.locusUrl,
|
|
161
|
-
selfId: meeting.selfId,
|
|
162
|
-
correlationId: meeting.correlationId,
|
|
163
|
-
phoneUrl: phoneUrl
|
|
164
|
-
};
|
|
165
|
-
return meeting.meetingRequest.disconnectPhoneAudio(options).then(function (response) {
|
|
166
|
-
var _response$body;
|
|
167
|
-
if (response !== null && response !== void 0 && (_response$body = response.body) !== null && _response$body !== void 0 && _response$body.locus) {
|
|
168
|
-
meeting.locusInfo.onFullLocus(response.body.locus);
|
|
169
|
-
}
|
|
170
|
-
}).catch(function (err) {
|
|
171
|
-
_loggerProxy.default.logger.error("Meeting:util#disconnectPhoneAudio --> An error occured while disconnecting phone audio in meeting ".concat(meeting.id, ", error: ").concat(err));
|
|
172
|
-
return _promise.default.reject(err);
|
|
173
|
-
});
|
|
174
|
-
};
|
|
140
|
+
// @ts-ignore
|
|
141
|
+
webex.internal.newMetrics.submitClientEvent({
|
|
142
|
+
name: 'client.locus.join.request',
|
|
143
|
+
options: {
|
|
144
|
+
meetingId: meeting.id
|
|
145
|
+
}
|
|
146
|
+
});
|
|
175
147
|
|
|
176
|
-
//
|
|
177
|
-
//
|
|
178
|
-
//
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
};
|
|
216
|
-
MeetingUtil.declineMeeting = function (meeting, reason) {
|
|
217
|
-
return meeting.meetingRequest.declineMeeting({
|
|
218
|
-
locusUrl: meeting.locusUrl,
|
|
219
|
-
deviceUrl: meeting.deviceUrl,
|
|
220
|
-
reason: reason
|
|
221
|
-
});
|
|
222
|
-
};
|
|
223
|
-
MeetingUtil.isUserInLeftState = function (locusInfo) {
|
|
224
|
-
var _locusInfo$parsedLocu, _locusInfo$parsedLocu2;
|
|
225
|
-
return ((_locusInfo$parsedLocu = locusInfo.parsedLocus) === null || _locusInfo$parsedLocu === void 0 ? void 0 : (_locusInfo$parsedLocu2 = _locusInfo$parsedLocu.self) === null || _locusInfo$parsedLocu2 === void 0 ? void 0 : _locusInfo$parsedLocu2.state) === _constants._LEFT_;
|
|
226
|
-
};
|
|
227
|
-
MeetingUtil.isUserInIdleState = function (locusInfo) {
|
|
228
|
-
var _locusInfo$parsedLocu3, _locusInfo$parsedLocu4;
|
|
229
|
-
return ((_locusInfo$parsedLocu3 = locusInfo.parsedLocus) === null || _locusInfo$parsedLocu3 === void 0 ? void 0 : (_locusInfo$parsedLocu4 = _locusInfo$parsedLocu3.self) === null || _locusInfo$parsedLocu4 === void 0 ? void 0 : _locusInfo$parsedLocu4.state) === _constants._IDLE_;
|
|
230
|
-
};
|
|
231
|
-
MeetingUtil.isUserInJoinedState = function (locusInfo) {
|
|
232
|
-
var _locusInfo$parsedLocu5, _locusInfo$parsedLocu6;
|
|
233
|
-
return ((_locusInfo$parsedLocu5 = locusInfo.parsedLocus) === null || _locusInfo$parsedLocu5 === void 0 ? void 0 : (_locusInfo$parsedLocu6 = _locusInfo$parsedLocu5.self) === null || _locusInfo$parsedLocu6 === void 0 ? void 0 : _locusInfo$parsedLocu6.state) === _constants._JOINED_;
|
|
234
|
-
};
|
|
235
|
-
MeetingUtil.isMediaEstablished = function (currentMediaStatus) {
|
|
236
|
-
return currentMediaStatus && (currentMediaStatus.audio || currentMediaStatus.video || currentMediaStatus.share);
|
|
237
|
-
};
|
|
238
|
-
MeetingUtil.joinMeetingOptions = function (meeting) {
|
|
239
|
-
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
240
|
-
meeting.resourceId = meeting.resourceId || options.resourceId;
|
|
241
|
-
if (meeting.requiredCaptcha) {
|
|
242
|
-
return _promise.default.reject(new _captchaError.default());
|
|
243
|
-
}
|
|
244
|
-
if (meeting.passwordStatus === _constants.PASSWORD_STATUS.REQUIRED) {
|
|
245
|
-
return _promise.default.reject(new _passwordError.default());
|
|
246
|
-
}
|
|
247
|
-
if (options.pin) {
|
|
248
|
-
_metrics.default.postEvent({
|
|
249
|
-
event: _config.eventType.PIN_COLLECTED,
|
|
250
|
-
meeting: meeting
|
|
148
|
+
// eslint-disable-next-line no-warning-comments
|
|
149
|
+
// TODO: check if the meeting is in JOINING state
|
|
150
|
+
// if Joining state termintate the request as user might click multiple times
|
|
151
|
+
return meeting.meetingRequest.joinMeeting({
|
|
152
|
+
inviteeAddress: meeting.meetingJoinUrl || meeting.sipUri,
|
|
153
|
+
meetingNumber: meeting.meetingNumber,
|
|
154
|
+
deviceUrl: meeting.deviceUrl,
|
|
155
|
+
locusUrl: meeting.locusUrl,
|
|
156
|
+
locusClusterUrl: (_meeting$meetingInfo = meeting.meetingInfo) === null || _meeting$meetingInfo === void 0 ? void 0 : _meeting$meetingInfo.locusClusterUrl,
|
|
157
|
+
correlationId: meeting.correlationId,
|
|
158
|
+
roapMessage: options.roapMessage,
|
|
159
|
+
permissionToken: meeting.permissionToken,
|
|
160
|
+
resourceId: options.resourceId || null,
|
|
161
|
+
moderator: options.moderator,
|
|
162
|
+
pin: options.pin,
|
|
163
|
+
moveToResource: options.moveToResource,
|
|
164
|
+
preferTranscoding: !meeting.isMultistream,
|
|
165
|
+
asResourceOccupant: options.asResourceOccupant,
|
|
166
|
+
breakoutsSupported: options.breakoutsSupported,
|
|
167
|
+
locale: options.locale,
|
|
168
|
+
deviceCapabilities: options.deviceCapabilities,
|
|
169
|
+
liveAnnotationSupported: options.liveAnnotationSupported,
|
|
170
|
+
ipVersion: MeetingUtil.getIpVersion(meeting.getWebexObject())
|
|
171
|
+
}).then(function (res) {
|
|
172
|
+
// @ts-ignore
|
|
173
|
+
webex.internal.newMetrics.submitClientEvent({
|
|
174
|
+
name: 'client.locus.join.response',
|
|
175
|
+
payload: {
|
|
176
|
+
trigger: 'loci-update',
|
|
177
|
+
identifiers: {
|
|
178
|
+
trackingId: res.headers.trackingid
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
options: {
|
|
182
|
+
meetingId: meeting.id,
|
|
183
|
+
mediaConnections: res.body.mediaConnections
|
|
184
|
+
}
|
|
185
|
+
});
|
|
186
|
+
return MeetingUtil.parseLocusJoin(res);
|
|
251
187
|
});
|
|
252
|
-
}
|
|
188
|
+
},
|
|
189
|
+
cleanUp: function cleanUp(meeting) {
|
|
190
|
+
meeting.breakouts.cleanUp();
|
|
191
|
+
meeting.simultaneousInterpretation.cleanUp();
|
|
253
192
|
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
193
|
+
// make sure we send last metrics before we close the peerconnection
|
|
194
|
+
var stopStatsAnalyzer = meeting.statsAnalyzer ? meeting.statsAnalyzer.stopAnalyzer() : _promise.default.resolve();
|
|
195
|
+
return stopStatsAnalyzer.then(function () {
|
|
196
|
+
return meeting.closeRemoteStreams();
|
|
197
|
+
}).then(function () {
|
|
198
|
+
return meeting.closePeerConnections();
|
|
199
|
+
}).then(function () {
|
|
200
|
+
meeting.cleanupLocalStreams();
|
|
201
|
+
meeting.unsetRemoteStreams();
|
|
202
|
+
meeting.unsetPeerConnections();
|
|
203
|
+
meeting.reconnectionManager.cleanUp();
|
|
204
|
+
}).then(function () {
|
|
205
|
+
return meeting.stopKeepAlive();
|
|
206
|
+
}).then(function () {
|
|
207
|
+
var _meeting$config;
|
|
208
|
+
if ((_meeting$config = meeting.config) !== null && _meeting$config !== void 0 && _meeting$config.enableAutomaticLLM) {
|
|
209
|
+
meeting.updateLLMConnection();
|
|
210
|
+
}
|
|
211
|
+
});
|
|
212
|
+
},
|
|
213
|
+
disconnectPhoneAudio: function disconnectPhoneAudio(meeting, phoneUrl) {
|
|
214
|
+
if (meeting.meetingState === _constants.FULL_STATE.INACTIVE) {
|
|
215
|
+
return _promise.default.reject(new _webexErrors.MeetingNotActiveError());
|
|
216
|
+
}
|
|
217
|
+
var options = {
|
|
218
|
+
locusUrl: meeting.locusUrl,
|
|
219
|
+
selfId: meeting.selfId,
|
|
220
|
+
correlationId: meeting.correlationId,
|
|
221
|
+
phoneUrl: phoneUrl
|
|
222
|
+
};
|
|
223
|
+
return meeting.meetingRequest.disconnectPhoneAudio(options).catch(function (err) {
|
|
224
|
+
_loggerProxy.default.logger.error("Meeting:util#disconnectPhoneAudio --> An error occured while disconnecting phone audio in meeting ".concat(meeting.id, ", error: ").concat(err));
|
|
225
|
+
return _promise.default.reject(err);
|
|
226
|
+
});
|
|
227
|
+
},
|
|
228
|
+
/**
|
|
229
|
+
* Returns options for leaving a meeting.
|
|
230
|
+
* @param {any} meeting
|
|
231
|
+
* @param {any} options
|
|
232
|
+
* @returns {any} leave options
|
|
233
|
+
*/
|
|
234
|
+
prepareLeaveMeetingOptions: function prepareLeaveMeetingOptions(meeting) {
|
|
235
|
+
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
236
|
+
var defaultOptions = {
|
|
237
|
+
locusUrl: meeting.locusUrl,
|
|
238
|
+
selfId: meeting.selfId,
|
|
239
|
+
correlationId: meeting.correlationId,
|
|
240
|
+
resourceId: meeting.resourceId,
|
|
241
|
+
deviceUrl: meeting.deviceUrl
|
|
242
|
+
};
|
|
243
|
+
return _objectSpread(_objectSpread({}, defaultOptions), options);
|
|
244
|
+
},
|
|
245
|
+
// by default will leave on meeting's resourceId
|
|
246
|
+
// if you explicity want it not to leave on resource id, pass
|
|
247
|
+
// {resourceId: null}
|
|
248
|
+
// TODO: chris, you can modify this however you want
|
|
249
|
+
leaveMeeting: function leaveMeeting(meeting) {
|
|
250
|
+
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
251
|
+
if (meeting.meetingState === _constants.FULL_STATE.INACTIVE) {
|
|
252
|
+
// TODO: clean up if the meeting is already inactive
|
|
253
|
+
return _promise.default.reject(new _webexErrors.MeetingNotActiveError());
|
|
254
|
+
}
|
|
255
|
+
if (MeetingUtil.isUserInLeftState(meeting.locusInfo)) {
|
|
256
|
+
return _promise.default.reject(new _webexErrors.UserNotJoinedError());
|
|
257
|
+
}
|
|
258
|
+
var leaveOptions = MeetingUtil.prepareLeaveMeetingOptions(meeting, options);
|
|
259
|
+
return meeting.meetingRequest.leaveMeeting(leaveOptions).then(function () {
|
|
260
|
+
if (options.moveMeeting) {
|
|
261
|
+
return _promise.default.resolve();
|
|
262
|
+
}
|
|
263
|
+
return MeetingUtil.cleanUp(meeting);
|
|
264
|
+
}).catch(function (err) {
|
|
265
|
+
// TODO: If the meeting state comes as LEFT or INACTIVE as response then
|
|
266
|
+
// 1) on leave clean up the meeting or simply do a sync on the meeting
|
|
267
|
+
// 2) If the error says meeting is inactive then destroy the meeting object
|
|
268
|
+
_loggerProxy.default.logger.error("Meeting:util#leaveMeeting --> An error occured while trying to leave meeting with an id of ".concat(meeting.id, ", error: ").concat(err));
|
|
269
|
+
return _promise.default.reject(err);
|
|
270
|
+
});
|
|
271
|
+
},
|
|
272
|
+
declineMeeting: function declineMeeting(meeting, reason) {
|
|
273
|
+
return meeting.meetingRequest.declineMeeting({
|
|
274
|
+
locusUrl: meeting.locusUrl,
|
|
275
|
+
deviceUrl: meeting.deviceUrl,
|
|
276
|
+
reason: reason
|
|
277
|
+
});
|
|
278
|
+
},
|
|
279
|
+
isUserInLeftState: function isUserInLeftState(locusInfo) {
|
|
280
|
+
var _locusInfo$parsedLocu, _locusInfo$parsedLocu2;
|
|
281
|
+
return ((_locusInfo$parsedLocu = locusInfo.parsedLocus) === null || _locusInfo$parsedLocu === void 0 ? void 0 : (_locusInfo$parsedLocu2 = _locusInfo$parsedLocu.self) === null || _locusInfo$parsedLocu2 === void 0 ? void 0 : _locusInfo$parsedLocu2.state) === _constants._LEFT_;
|
|
282
|
+
},
|
|
283
|
+
isUserInIdleState: function isUserInIdleState(locusInfo) {
|
|
284
|
+
var _locusInfo$parsedLocu3, _locusInfo$parsedLocu4;
|
|
285
|
+
return ((_locusInfo$parsedLocu3 = locusInfo.parsedLocus) === null || _locusInfo$parsedLocu3 === void 0 ? void 0 : (_locusInfo$parsedLocu4 = _locusInfo$parsedLocu3.self) === null || _locusInfo$parsedLocu4 === void 0 ? void 0 : _locusInfo$parsedLocu4.state) === _constants._IDLE_;
|
|
286
|
+
},
|
|
287
|
+
isUserInJoinedState: function isUserInJoinedState(locusInfo) {
|
|
288
|
+
var _locusInfo$parsedLocu5, _locusInfo$parsedLocu6;
|
|
289
|
+
return ((_locusInfo$parsedLocu5 = locusInfo.parsedLocus) === null || _locusInfo$parsedLocu5 === void 0 ? void 0 : (_locusInfo$parsedLocu6 = _locusInfo$parsedLocu5.self) === null || _locusInfo$parsedLocu6 === void 0 ? void 0 : _locusInfo$parsedLocu6.state) === _constants._JOINED_;
|
|
290
|
+
},
|
|
291
|
+
isMediaEstablished: function isMediaEstablished(currentMediaStatus) {
|
|
292
|
+
return currentMediaStatus && (currentMediaStatus.audio || currentMediaStatus.video || currentMediaStatus.share);
|
|
293
|
+
},
|
|
294
|
+
joinMeetingOptions: function joinMeetingOptions(meeting) {
|
|
295
|
+
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
296
|
+
var webex = meeting.getWebexObject();
|
|
297
|
+
meeting.resourceId = meeting.resourceId || options.resourceId;
|
|
298
|
+
if (meeting.requiredCaptcha) {
|
|
299
|
+
return _promise.default.reject(new _captchaError.default());
|
|
300
|
+
}
|
|
301
|
+
if (meeting.passwordStatus === _constants.PASSWORD_STATUS.REQUIRED) {
|
|
302
|
+
return _promise.default.reject(new _passwordError.default());
|
|
303
|
+
}
|
|
304
|
+
if (options.pin) {
|
|
305
|
+
// @ts-ignore
|
|
306
|
+
webex.internal.newMetrics.submitClientEvent({
|
|
307
|
+
name: 'client.pin.collected',
|
|
308
|
+
options: {
|
|
309
|
+
meetingId: meeting.id
|
|
310
|
+
}
|
|
264
311
|
});
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
// normal join meeting, scenario A, D
|
|
315
|
+
return MeetingUtil.joinMeeting(meeting, options).then(function (response) {
|
|
316
|
+
meeting.setLocus(response);
|
|
317
|
+
return _promise.default.resolve(response);
|
|
318
|
+
}).catch(function (err) {
|
|
319
|
+
// joining a claimed PMR that is not my own, scenario B
|
|
320
|
+
if (MeetingUtil.isPinOrGuest(err)) {
|
|
321
|
+
// @ts-ignore
|
|
322
|
+
webex.internal.newMetrics.submitClientEvent({
|
|
323
|
+
name: 'client.pin.prompt',
|
|
324
|
+
options: {
|
|
325
|
+
meetingId: meeting.id
|
|
326
|
+
}
|
|
327
|
+
});
|
|
265
328
|
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
329
|
+
// request host pin or non host for unclaimed PMR, start of Scenario C
|
|
330
|
+
// see https://sqbu-github.cisco.com/WebExSquared/locus/wiki/Locus-Lobby-and--IVR-Feature
|
|
331
|
+
return _promise.default.reject(new _intentToJoin.default('Error Joining Meeting', err));
|
|
332
|
+
}
|
|
333
|
+
_loggerProxy.default.logger.error('Meeting:util#joinMeetingOptions --> Error joining the call, ', err);
|
|
334
|
+
return _promise.default.reject(new _joinMeeting.default(options, 'Error Joining Meeting', err));
|
|
335
|
+
});
|
|
336
|
+
},
|
|
337
|
+
/**
|
|
338
|
+
* Returns request options for leaving a meeting.
|
|
339
|
+
* @param {any} meeting
|
|
340
|
+
* @param {any} options
|
|
341
|
+
* @returns {any} request options
|
|
342
|
+
*/
|
|
343
|
+
buildLeaveFetchRequestOptions: function buildLeaveFetchRequestOptions(meeting) {
|
|
344
|
+
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
345
|
+
var leaveOptions = MeetingUtil.prepareLeaveMeetingOptions(meeting, options);
|
|
346
|
+
return meeting.meetingRequest.buildLeaveMeetingRequestOptions(leaveOptions);
|
|
347
|
+
},
|
|
348
|
+
getTrack: function getTrack(stream) {
|
|
349
|
+
var audioTrack = null;
|
|
350
|
+
var videoTrack = null;
|
|
351
|
+
var audioTracks = null;
|
|
352
|
+
var videoTracks = null;
|
|
353
|
+
if (!stream) {
|
|
354
|
+
return {
|
|
355
|
+
audioTrack: null,
|
|
356
|
+
videoTrack: null
|
|
357
|
+
};
|
|
358
|
+
}
|
|
359
|
+
if (stream.getAudioTracks) {
|
|
360
|
+
audioTracks = stream.getAudioTracks();
|
|
361
|
+
}
|
|
362
|
+
if (stream.getVideoTracks) {
|
|
363
|
+
videoTracks = stream.getVideoTracks();
|
|
364
|
+
}
|
|
365
|
+
if (audioTracks && audioTracks.length > 0) {
|
|
366
|
+
var _audioTracks = audioTracks;
|
|
367
|
+
var _audioTracks2 = (0, _slicedToArray2.default)(_audioTracks, 1);
|
|
368
|
+
audioTrack = _audioTracks2[0];
|
|
369
|
+
}
|
|
370
|
+
if (videoTracks && videoTracks.length > 0) {
|
|
371
|
+
var _videoTracks = videoTracks;
|
|
372
|
+
var _videoTracks2 = (0, _slicedToArray2.default)(_videoTracks, 1);
|
|
373
|
+
videoTrack = _videoTracks2[0];
|
|
269
374
|
}
|
|
270
|
-
_loggerProxy.default.logger.error('Meeting:util#joinMeetingOptions --> Error joining the call, ', err);
|
|
271
|
-
return _promise.default.reject(new _joinMeeting.default(options, 'Error Joining Meeting', err));
|
|
272
|
-
});
|
|
273
|
-
};
|
|
274
|
-
MeetingUtil.validateOptions = function (options) {
|
|
275
|
-
var sendVideo = options.sendVideo,
|
|
276
|
-
sendAudio = options.sendAudio,
|
|
277
|
-
sendShare = options.sendShare,
|
|
278
|
-
localStream = options.localStream,
|
|
279
|
-
localShare = options.localShare;
|
|
280
|
-
if (sendVideo && !MeetingUtil.getTrack(localStream).videoTrack) {
|
|
281
|
-
return _promise.default.reject(new _parameter.default('please pass valid video streams'));
|
|
282
|
-
}
|
|
283
|
-
if (sendAudio && !MeetingUtil.getTrack(localStream).audioTrack) {
|
|
284
|
-
return _promise.default.reject(new _parameter.default('please pass valid audio streams'));
|
|
285
|
-
}
|
|
286
|
-
if (sendShare && !MeetingUtil.getTrack(localShare).videoTrack) {
|
|
287
|
-
return _promise.default.reject(new _parameter.default('please pass valid share streams'));
|
|
288
|
-
}
|
|
289
|
-
return _promise.default.resolve();
|
|
290
|
-
};
|
|
291
|
-
MeetingUtil.getTrack = function (stream) {
|
|
292
|
-
var audioTrack = null;
|
|
293
|
-
var videoTrack = null;
|
|
294
|
-
var audioTracks = null;
|
|
295
|
-
var videoTracks = null;
|
|
296
|
-
if (!stream) {
|
|
297
375
|
return {
|
|
298
|
-
audioTrack:
|
|
299
|
-
videoTrack:
|
|
376
|
+
audioTrack: audioTrack,
|
|
377
|
+
videoTrack: videoTrack
|
|
300
378
|
};
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
var
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
}
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
379
|
+
},
|
|
380
|
+
getModeratorFromLocusInfo: function getModeratorFromLocusInfo(locusInfo) {
|
|
381
|
+
return locusInfo && locusInfo.parsedLocus && locusInfo.parsedLocus.info && locusInfo.parsedLocus.info && locusInfo.parsedLocus.info.moderator;
|
|
382
|
+
},
|
|
383
|
+
getPolicyFromLocusInfo: function getPolicyFromLocusInfo(locusInfo) {
|
|
384
|
+
return locusInfo && locusInfo.parsedLocus && locusInfo.parsedLocus.info && locusInfo.parsedLocus.info && locusInfo.parsedLocus.info.policy;
|
|
385
|
+
},
|
|
386
|
+
getUserDisplayHintsFromLocusInfo: function getUserDisplayHintsFromLocusInfo(locusInfo) {
|
|
387
|
+
var _locusInfo$parsedLocu7, _locusInfo$parsedLocu8;
|
|
388
|
+
return (locusInfo === null || locusInfo === void 0 ? void 0 : (_locusInfo$parsedLocu7 = locusInfo.parsedLocus) === null || _locusInfo$parsedLocu7 === void 0 ? void 0 : (_locusInfo$parsedLocu8 = _locusInfo$parsedLocu7.info) === null || _locusInfo$parsedLocu8 === void 0 ? void 0 : _locusInfo$parsedLocu8.userDisplayHints) || [];
|
|
389
|
+
},
|
|
390
|
+
canInviteNewParticipants: function canInviteNewParticipants(displayHints) {
|
|
391
|
+
return displayHints.includes(_constants.DISPLAY_HINTS.ADD_GUEST);
|
|
392
|
+
},
|
|
393
|
+
canAdmitParticipant: function canAdmitParticipant(displayHints) {
|
|
394
|
+
return displayHints.includes(_constants.DISPLAY_HINTS.ROSTER_WAITING_TO_JOIN);
|
|
395
|
+
},
|
|
396
|
+
canUserLock: function canUserLock(displayHints) {
|
|
397
|
+
return displayHints.includes(_constants.DISPLAY_HINTS.LOCK_CONTROL_LOCK) && displayHints.includes(_constants.DISPLAY_HINTS.LOCK_STATUS_UNLOCKED);
|
|
398
|
+
},
|
|
399
|
+
canUserUnlock: function canUserUnlock(displayHints) {
|
|
400
|
+
return displayHints.includes(_constants.DISPLAY_HINTS.LOCK_CONTROL_UNLOCK) && displayHints.includes(_constants.DISPLAY_HINTS.LOCK_STATUS_LOCKED);
|
|
401
|
+
},
|
|
402
|
+
canUserRaiseHand: function canUserRaiseHand(displayHints) {
|
|
403
|
+
return displayHints.includes(_constants.DISPLAY_HINTS.RAISE_HAND);
|
|
404
|
+
},
|
|
405
|
+
canUserLowerAllHands: function canUserLowerAllHands(displayHints) {
|
|
406
|
+
return displayHints.includes(_constants.DISPLAY_HINTS.LOWER_ALL_HANDS);
|
|
407
|
+
},
|
|
408
|
+
canUserLowerSomeoneElsesHand: function canUserLowerSomeoneElsesHand(displayHints) {
|
|
409
|
+
return displayHints.includes(_constants.DISPLAY_HINTS.LOWER_SOMEONE_ELSES_HAND);
|
|
410
|
+
},
|
|
411
|
+
bothLeaveAndEndMeetingAvailable: function bothLeaveAndEndMeetingAvailable(displayHints) {
|
|
412
|
+
return displayHints.includes(_constants.DISPLAY_HINTS.LEAVE_TRANSFER_HOST_END_MEETING) || displayHints.includes(_constants.DISPLAY_HINTS.LEAVE_END_MEETING);
|
|
413
|
+
},
|
|
414
|
+
canManageBreakout: function canManageBreakout(displayHints) {
|
|
415
|
+
return displayHints.includes(_constants.DISPLAY_HINTS.BREAKOUT_MANAGEMENT);
|
|
416
|
+
},
|
|
417
|
+
canBroadcastMessageToBreakout: function canBroadcastMessageToBreakout(displayHints) {
|
|
418
|
+
var policies = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
419
|
+
return displayHints.includes(_constants.DISPLAY_HINTS.BROADCAST_MESSAGE_TO_BREAKOUT) && !!policies[_constants.SELF_POLICY.SUPPORT_BROADCAST_MESSAGE];
|
|
420
|
+
},
|
|
421
|
+
isSuppressBreakoutSupport: function isSuppressBreakoutSupport(displayHints) {
|
|
422
|
+
return displayHints.includes(_constants.DISPLAY_HINTS.UCF_SUPPRESS_BREAKOUTS_SUPPORT);
|
|
423
|
+
},
|
|
424
|
+
canAdmitLobbyToBreakout: function canAdmitLobbyToBreakout(displayHints) {
|
|
425
|
+
return !displayHints.includes(_constants.DISPLAY_HINTS.DISABLE_LOBBY_TO_BREAKOUT);
|
|
426
|
+
},
|
|
427
|
+
isBreakoutPreassignmentsEnabled: function isBreakoutPreassignmentsEnabled(displayHints) {
|
|
428
|
+
return !displayHints.includes(_constants.DISPLAY_HINTS.DISABLE_BREAKOUT_PREASSIGNMENTS);
|
|
429
|
+
},
|
|
430
|
+
canUserAskForHelp: function canUserAskForHelp(displayHints) {
|
|
431
|
+
return !displayHints.includes(_constants.DISPLAY_HINTS.DISABLE_ASK_FOR_HELP);
|
|
432
|
+
},
|
|
433
|
+
lockMeeting: function lockMeeting(actions, request, locusUrl) {
|
|
434
|
+
if (actions && actions.canLock) {
|
|
435
|
+
return request.lockMeeting({
|
|
436
|
+
locusUrl: locusUrl,
|
|
437
|
+
lock: true
|
|
438
|
+
});
|
|
439
|
+
}
|
|
440
|
+
return _promise.default.reject(new _permission.default('Lock not allowed, due to joined property.'));
|
|
441
|
+
},
|
|
442
|
+
unlockMeeting: function unlockMeeting(actions, request, locusUrl) {
|
|
443
|
+
if (actions && actions.canUnlock) {
|
|
444
|
+
return request.lockMeeting({
|
|
445
|
+
locusUrl: locusUrl,
|
|
446
|
+
lock: false
|
|
447
|
+
});
|
|
448
|
+
}
|
|
449
|
+
return _promise.default.reject(new _permission.default('Unlock not allowed, due to joined property.'));
|
|
450
|
+
},
|
|
451
|
+
handleAudioLogging: function handleAudioLogging(audioStream) {
|
|
452
|
+
var LOG_HEADER = 'MeetingUtil#handleAudioLogging -->';
|
|
453
|
+
if (audioStream) {
|
|
454
|
+
var settings = audioStream.getSettings();
|
|
455
|
+
var deviceId = settings.deviceId;
|
|
456
|
+
_loggerProxy.default.logger.log(LOG_HEADER, "deviceId = ".concat(deviceId));
|
|
457
|
+
_loggerProxy.default.logger.log(LOG_HEADER, 'settings =', (0, _stringify.default)(settings));
|
|
458
|
+
}
|
|
459
|
+
},
|
|
460
|
+
handleVideoLogging: function handleVideoLogging(videoStream) {
|
|
461
|
+
var LOG_HEADER = 'MeetingUtil#handleVideoLogging -->';
|
|
462
|
+
if (videoStream) {
|
|
463
|
+
var settings = videoStream.getSettings();
|
|
464
|
+
var deviceId = settings.deviceId;
|
|
465
|
+
_loggerProxy.default.logger.log(LOG_HEADER, "deviceId = ".concat(deviceId));
|
|
466
|
+
_loggerProxy.default.logger.log(LOG_HEADER, 'settings =', (0, _stringify.default)(settings));
|
|
467
|
+
}
|
|
468
|
+
},
|
|
469
|
+
handleDeviceLogging: function handleDeviceLogging() {
|
|
470
|
+
var devices = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
471
|
+
var LOG_HEADER = 'MeetingUtil#handleDeviceLogging -->';
|
|
472
|
+
devices.forEach(function (device) {
|
|
473
|
+
_loggerProxy.default.logger.log(LOG_HEADER, "deviceId = ".concat(device.deviceId));
|
|
474
|
+
_loggerProxy.default.logger.log(LOG_HEADER, 'settings', (0, _stringify.default)(device));
|
|
377
475
|
});
|
|
378
|
-
}
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
locusUrl: locusUrl
|
|
385
|
-
|
|
476
|
+
},
|
|
477
|
+
endMeetingForAll: function endMeetingForAll(meeting) {
|
|
478
|
+
if (meeting.meetingState === _constants.FULL_STATE.INACTIVE) {
|
|
479
|
+
return _promise.default.reject(new _webexErrors.MeetingNotActiveError());
|
|
480
|
+
}
|
|
481
|
+
var endOptions = {
|
|
482
|
+
locusUrl: meeting.locusUrl
|
|
483
|
+
};
|
|
484
|
+
return meeting.meetingRequest.endMeetingForAll(endOptions).then(function () {
|
|
485
|
+
return MeetingUtil.cleanUp(meeting);
|
|
486
|
+
}).catch(function (err) {
|
|
487
|
+
_loggerProxy.default.logger.error("Meeting:util#endMeetingForAll An error occured while trying to end meeting for all with an id of ".concat(meeting.id, ", error: ").concat(err));
|
|
488
|
+
return _promise.default.reject(err);
|
|
386
489
|
});
|
|
490
|
+
},
|
|
491
|
+
canEnableClosedCaption: function canEnableClosedCaption(displayHints) {
|
|
492
|
+
return displayHints.includes(_constants.DISPLAY_HINTS.CAPTION_START);
|
|
493
|
+
},
|
|
494
|
+
isSaveTranscriptsEnabled: function isSaveTranscriptsEnabled(displayHints) {
|
|
495
|
+
return displayHints.includes(_constants.DISPLAY_HINTS.SAVE_TRANSCRIPTS_ENABLED);
|
|
496
|
+
},
|
|
497
|
+
canStartTranscribing: function canStartTranscribing(displayHints) {
|
|
498
|
+
return displayHints.includes(_constants.DISPLAY_HINTS.TRANSCRIPTION_CONTROL_START);
|
|
499
|
+
},
|
|
500
|
+
canStopTranscribing: function canStopTranscribing(displayHints) {
|
|
501
|
+
return displayHints.includes(_constants.DISPLAY_HINTS.TRANSCRIPTION_CONTROL_STOP);
|
|
502
|
+
},
|
|
503
|
+
isClosedCaptionActive: function isClosedCaptionActive(displayHints) {
|
|
504
|
+
return displayHints.includes(_constants.DISPLAY_HINTS.CAPTION_STATUS_ACTIVE);
|
|
505
|
+
},
|
|
506
|
+
isWebexAssistantActive: function isWebexAssistantActive(displayHints) {
|
|
507
|
+
return displayHints.includes(_constants.DISPLAY_HINTS.WEBEX_ASSISTANT_STATUS_ACTIVE);
|
|
508
|
+
},
|
|
509
|
+
canViewCaptionPanel: function canViewCaptionPanel(displayHints) {
|
|
510
|
+
return displayHints.includes(_constants.DISPLAY_HINTS.ENABLE_CAPTION_PANEL);
|
|
511
|
+
},
|
|
512
|
+
isRealTimeTranslationEnabled: function isRealTimeTranslationEnabled(displayHints) {
|
|
513
|
+
return displayHints.includes(_constants.DISPLAY_HINTS.DISPLAY_REAL_TIME_TRANSLATION);
|
|
514
|
+
},
|
|
515
|
+
canSelectSpokenLanguages: function canSelectSpokenLanguages(displayHints) {
|
|
516
|
+
return displayHints.includes(_constants.DISPLAY_HINTS.DISPLAY_NON_ENGLISH_ASR);
|
|
517
|
+
},
|
|
518
|
+
waitingForOthersToJoin: function waitingForOthersToJoin(displayHints) {
|
|
519
|
+
return displayHints.includes(_constants.DISPLAY_HINTS.WAITING_FOR_OTHERS);
|
|
520
|
+
},
|
|
521
|
+
canSendReactions: function canSendReactions(originalValue, displayHints) {
|
|
522
|
+
if (displayHints.includes(_constants.DISPLAY_HINTS.REACTIONS_ACTIVE)) {
|
|
523
|
+
return true;
|
|
524
|
+
}
|
|
525
|
+
if (displayHints.includes(_constants.DISPLAY_HINTS.REACTIONS_INACTIVE)) {
|
|
526
|
+
return false;
|
|
527
|
+
}
|
|
528
|
+
return originalValue;
|
|
529
|
+
},
|
|
530
|
+
canUserRenameSelfAndObserved: function canUserRenameSelfAndObserved(displayHints) {
|
|
531
|
+
return displayHints.includes(_constants.DISPLAY_HINTS.CAN_RENAME_SELF_AND_OBSERVED);
|
|
532
|
+
},
|
|
533
|
+
canUserRenameOthers: function canUserRenameOthers(displayHints) {
|
|
534
|
+
return displayHints.includes(_constants.DISPLAY_HINTS.CAN_RENAME_OTHERS);
|
|
535
|
+
},
|
|
536
|
+
canShareWhiteBoard: function canShareWhiteBoard(displayHints) {
|
|
537
|
+
return displayHints.includes(_constants.DISPLAY_HINTS.SHARE_WHITEBOARD);
|
|
538
|
+
},
|
|
539
|
+
/**
|
|
540
|
+
* Adds the current locus sequence information to a request body
|
|
541
|
+
* @param {Object} meeting The meeting object
|
|
542
|
+
* @param {Object} requestBody The body of a request to locus
|
|
543
|
+
* @returns {void}
|
|
544
|
+
*/
|
|
545
|
+
addSequence: function addSequence(meeting, requestBody) {
|
|
546
|
+
var _meeting$locusInfo;
|
|
547
|
+
var sequence = meeting === null || meeting === void 0 ? void 0 : (_meeting$locusInfo = meeting.locusInfo) === null || _meeting$locusInfo === void 0 ? void 0 : _meeting$locusInfo.sequence;
|
|
548
|
+
if (!sequence) {
|
|
549
|
+
return;
|
|
550
|
+
}
|
|
551
|
+
requestBody.sequence = sequence;
|
|
552
|
+
},
|
|
553
|
+
/**
|
|
554
|
+
* Updates the locus info for the meeting with the delta locus
|
|
555
|
+
* returned from requests that include the sequence information
|
|
556
|
+
* Returns the original response object
|
|
557
|
+
* @param {Object} meeting The meeting object
|
|
558
|
+
* @param {Object} response The response of the http request
|
|
559
|
+
* @returns {Object}
|
|
560
|
+
*/
|
|
561
|
+
updateLocusWithDelta: function updateLocusWithDelta(meeting, response) {
|
|
562
|
+
var _response$body2;
|
|
563
|
+
if (!meeting) {
|
|
564
|
+
return response;
|
|
565
|
+
}
|
|
566
|
+
var locus = response === null || response === void 0 ? void 0 : (_response$body2 = response.body) === null || _response$body2 === void 0 ? void 0 : _response$body2.locus;
|
|
567
|
+
if (locus) {
|
|
568
|
+
meeting.locusInfo.handleLocusDelta(locus, meeting);
|
|
569
|
+
}
|
|
570
|
+
return response;
|
|
571
|
+
},
|
|
572
|
+
generateBuildLocusDeltaRequestOptions: function generateBuildLocusDeltaRequestOptions(originalMeeting) {
|
|
573
|
+
var meetingRef = new WeakRef(originalMeeting);
|
|
574
|
+
var buildLocusDeltaRequestOptions = function buildLocusDeltaRequestOptions(originalOptions) {
|
|
575
|
+
var meeting = meetingRef.deref();
|
|
576
|
+
if (!meeting) {
|
|
577
|
+
return originalOptions;
|
|
578
|
+
}
|
|
579
|
+
var options = (0, _lodash.cloneDeep)(originalOptions);
|
|
580
|
+
if (!options.body) {
|
|
581
|
+
options.body = {};
|
|
582
|
+
}
|
|
583
|
+
MeetingUtil.addSequence(meeting, options.body);
|
|
584
|
+
return options;
|
|
585
|
+
};
|
|
586
|
+
return buildLocusDeltaRequestOptions;
|
|
587
|
+
},
|
|
588
|
+
generateLocusDeltaRequest: function generateLocusDeltaRequest(originalMeeting) {
|
|
589
|
+
var meetingRef = new WeakRef(originalMeeting);
|
|
590
|
+
var buildLocusDeltaRequestOptions = MeetingUtil.generateBuildLocusDeltaRequestOptions(originalMeeting);
|
|
591
|
+
var locusDeltaRequest = function locusDeltaRequest(originalOptions) {
|
|
592
|
+
var meeting = meetingRef.deref();
|
|
593
|
+
if (!meeting) {
|
|
594
|
+
return _promise.default.resolve();
|
|
595
|
+
}
|
|
596
|
+
var options = buildLocusDeltaRequestOptions(originalOptions);
|
|
597
|
+
return meeting.request(options).then(function (response) {
|
|
598
|
+
return MeetingUtil.updateLocusWithDelta(meeting, response);
|
|
599
|
+
});
|
|
600
|
+
};
|
|
601
|
+
return locusDeltaRequest;
|
|
602
|
+
},
|
|
603
|
+
selfSupportsFeature: function selfSupportsFeature(feature, userPolicies) {
|
|
604
|
+
if (!userPolicies) {
|
|
605
|
+
return true;
|
|
606
|
+
}
|
|
607
|
+
return userPolicies[feature];
|
|
608
|
+
},
|
|
609
|
+
parseInterpretationInfo: function parseInterpretationInfo(meeting, meetingInfo) {
|
|
610
|
+
var _meetingInfo$meetingS;
|
|
611
|
+
if (!meeting || !meetingInfo) {
|
|
612
|
+
return;
|
|
613
|
+
}
|
|
614
|
+
var siInfo = meetingInfo.simultaneousInterpretation;
|
|
615
|
+
meeting.simultaneousInterpretation.updateMeetingSIEnabled(!!meetingInfo.turnOnSimultaneousInterpretation, !!(siInfo !== null && siInfo !== void 0 && siInfo.currentSIInterpreter));
|
|
616
|
+
var hostSIEnabled = !!(meetingInfo.turnOnSimultaneousInterpretation && meetingInfo !== null && meetingInfo !== void 0 && (_meetingInfo$meetingS = meetingInfo.meetingSiteSetting) !== null && _meetingInfo$meetingS !== void 0 && _meetingInfo$meetingS.enableHostInterpreterControlSI);
|
|
617
|
+
meeting.simultaneousInterpretation.updateHostSIEnabled(hostSIEnabled);
|
|
618
|
+
function renameKey(obj, oldKey, newKey) {
|
|
619
|
+
if (oldKey in obj) {
|
|
620
|
+
obj[newKey] = obj[oldKey];
|
|
621
|
+
delete obj[oldKey];
|
|
622
|
+
}
|
|
623
|
+
}
|
|
624
|
+
if (siInfo) {
|
|
625
|
+
var _meeting$simultaneous, _meeting$simultaneous2;
|
|
626
|
+
var lanuagesInfo = (0, _lodash.cloneDeep)(siInfo.siLanguages);
|
|
627
|
+
var _iterator = _createForOfIteratorHelper(lanuagesInfo),
|
|
628
|
+
_step;
|
|
629
|
+
try {
|
|
630
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
631
|
+
var language = _step.value;
|
|
632
|
+
renameKey(language, 'languageCode', 'languageName');
|
|
633
|
+
renameKey(language, 'languageGroupId', 'languageCode');
|
|
634
|
+
}
|
|
635
|
+
} catch (err) {
|
|
636
|
+
_iterator.e(err);
|
|
637
|
+
} finally {
|
|
638
|
+
_iterator.f();
|
|
639
|
+
}
|
|
640
|
+
if (!((_meeting$simultaneous = meeting.simultaneousInterpretation) !== null && _meeting$simultaneous !== void 0 && (_meeting$simultaneous2 = _meeting$simultaneous.siLanguages) !== null && _meeting$simultaneous2 !== void 0 && _meeting$simultaneous2.length)) {
|
|
641
|
+
meeting.simultaneousInterpretation.updateInterpretation({
|
|
642
|
+
siLanguages: lanuagesInfo
|
|
643
|
+
});
|
|
644
|
+
}
|
|
645
|
+
}
|
|
646
|
+
_triggerProxy.default.trigger(meeting, {
|
|
647
|
+
file: 'meeting/util',
|
|
648
|
+
function: 'parseInterpretationInfo'
|
|
649
|
+
}, _constants.EVENT_TRIGGERS.MEETING_INTERPRETATION_UPDATE);
|
|
650
|
+
},
|
|
651
|
+
/**
|
|
652
|
+
* Returns a CA-recognized error payload for the specified raw error message/reason.
|
|
653
|
+
*
|
|
654
|
+
* New errors can be added to this function for handling in the future
|
|
655
|
+
*
|
|
656
|
+
* @param {String} reason the raw error message
|
|
657
|
+
* @returns {Array<object>} an array of payload objects
|
|
658
|
+
*/
|
|
659
|
+
getChangeMeetingFloorErrorPayload: function getChangeMeetingFloorErrorPayload(reason) {
|
|
660
|
+
var errorPayload = {
|
|
661
|
+
errorDescription: reason,
|
|
662
|
+
name: 'locus.response',
|
|
663
|
+
shownToUser: false
|
|
664
|
+
};
|
|
665
|
+
if (reason.includes(_constants.LOCAL_SHARE_ERRORS.UNDEFINED)) {
|
|
666
|
+
return [_objectSpread(_objectSpread({}, errorPayload), {}, {
|
|
667
|
+
fatal: true,
|
|
668
|
+
category: 'signaling',
|
|
669
|
+
errorCode: 1100
|
|
670
|
+
})];
|
|
671
|
+
}
|
|
672
|
+
if (reason.includes(_constants.LOCAL_SHARE_ERRORS.DEVICE_NOT_JOINED)) {
|
|
673
|
+
return [_objectSpread(_objectSpread({}, errorPayload), {}, {
|
|
674
|
+
fatal: true,
|
|
675
|
+
category: 'signaling',
|
|
676
|
+
errorCode: 4050
|
|
677
|
+
})];
|
|
678
|
+
}
|
|
679
|
+
if (reason.includes(_constants.LOCAL_SHARE_ERRORS.NO_MEDIA_FOR_DEVICE)) {
|
|
680
|
+
return [_objectSpread(_objectSpread({}, errorPayload), {}, {
|
|
681
|
+
fatal: true,
|
|
682
|
+
category: 'media',
|
|
683
|
+
errorCode: 2048
|
|
684
|
+
})];
|
|
685
|
+
}
|
|
686
|
+
if (reason.includes(_constants.LOCAL_SHARE_ERRORS.NO_CONFLUENCE_ID)) {
|
|
687
|
+
return [_objectSpread(_objectSpread({}, errorPayload), {}, {
|
|
688
|
+
fatal: true,
|
|
689
|
+
category: 'signaling',
|
|
690
|
+
errorCode: 4064
|
|
691
|
+
})];
|
|
692
|
+
}
|
|
693
|
+
if (reason.includes(_constants.LOCAL_SHARE_ERRORS.CONTENT_SHARING_DISABLED)) {
|
|
694
|
+
return [_objectSpread(_objectSpread({}, errorPayload), {}, {
|
|
695
|
+
fatal: true,
|
|
696
|
+
category: 'expected',
|
|
697
|
+
errorCode: 4065
|
|
698
|
+
})];
|
|
699
|
+
}
|
|
700
|
+
if (reason.includes(_constants.LOCAL_SHARE_ERRORS.LOCUS_PARTICIPANT_DNE)) {
|
|
701
|
+
return [_objectSpread(_objectSpread({}, errorPayload), {}, {
|
|
702
|
+
fatal: true,
|
|
703
|
+
category: 'signaling',
|
|
704
|
+
errorCode: 4066
|
|
705
|
+
})];
|
|
706
|
+
}
|
|
707
|
+
if (reason.includes(_constants.LOCAL_SHARE_ERRORS.CONTENT_REQUEST_WHILE_PENDING_WHITEBOARD)) {
|
|
708
|
+
return [_objectSpread(_objectSpread({}, errorPayload), {}, {
|
|
709
|
+
fatal: true,
|
|
710
|
+
category: 'expected',
|
|
711
|
+
errorCode: 4067
|
|
712
|
+
})];
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
// return unknown error
|
|
716
|
+
return [_objectSpread(_objectSpread({}, errorPayload), {}, {
|
|
717
|
+
fatal: true,
|
|
718
|
+
category: 'signaling',
|
|
719
|
+
errorCode: 1100
|
|
720
|
+
})];
|
|
387
721
|
}
|
|
388
|
-
return _promise.default.reject(new _permission.default('Unlock not allowed, due to joined property.'));
|
|
389
|
-
};
|
|
390
|
-
MeetingUtil.handleAudioLogging = function (audioTrack) {
|
|
391
|
-
var LOG_HEADER = 'MeetingUtil#handleAudioLogging -->';
|
|
392
|
-
if (audioTrack) {
|
|
393
|
-
var settings = audioTrack.underlyingTrack.getSettings();
|
|
394
|
-
var deviceId = settings.deviceId;
|
|
395
|
-
_loggerProxy.default.logger.log(LOG_HEADER, "deviceId = ".concat(deviceId));
|
|
396
|
-
_loggerProxy.default.logger.log(LOG_HEADER, 'settings =', (0, _stringify.default)(settings));
|
|
397
|
-
}
|
|
398
|
-
};
|
|
399
|
-
MeetingUtil.handleVideoLogging = function (videoTrack) {
|
|
400
|
-
var LOG_HEADER = 'MeetingUtil#handleVideoLogging -->';
|
|
401
|
-
if (videoTrack) {
|
|
402
|
-
var settings = videoTrack.underlyingTrack.getSettings();
|
|
403
|
-
var deviceId = settings.deviceId;
|
|
404
|
-
_loggerProxy.default.logger.log(LOG_HEADER, "deviceId = ".concat(deviceId));
|
|
405
|
-
_loggerProxy.default.logger.log(LOG_HEADER, 'settings =', (0, _stringify.default)(settings));
|
|
406
|
-
}
|
|
407
|
-
};
|
|
408
|
-
MeetingUtil.handleDeviceLogging = function () {
|
|
409
|
-
var devices = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
410
|
-
var LOG_HEADER = 'MeetingUtil#handleDeviceLogging -->';
|
|
411
|
-
devices.forEach(function (device) {
|
|
412
|
-
_loggerProxy.default.logger.log(LOG_HEADER, "deviceId = ".concat(device.deviceId));
|
|
413
|
-
_loggerProxy.default.logger.log(LOG_HEADER, 'settings', (0, _stringify.default)(device));
|
|
414
|
-
});
|
|
415
|
-
};
|
|
416
|
-
MeetingUtil.endMeetingForAll = function (meeting) {
|
|
417
|
-
if (meeting.meetingState === _constants.FULL_STATE.INACTIVE) {
|
|
418
|
-
return _promise.default.reject(new _webexErrors.MeetingNotActiveError());
|
|
419
|
-
}
|
|
420
|
-
var endOptions = {
|
|
421
|
-
locusUrl: meeting.locusUrl
|
|
422
|
-
};
|
|
423
|
-
return meeting.meetingRequest.endMeetingForAll(endOptions).then(function (response) {
|
|
424
|
-
if (response && response.body && response.body.locus) {
|
|
425
|
-
meeting.locusInfo.onFullLocus(response.body.locus);
|
|
426
|
-
}
|
|
427
|
-
return _promise.default.resolve();
|
|
428
|
-
}).then(function () {
|
|
429
|
-
return MeetingUtil.cleanUp(meeting);
|
|
430
|
-
}).catch(function (err) {
|
|
431
|
-
_loggerProxy.default.logger.error("Meeting:util#endMeetingForAll An error occured while trying to end meeting for all with an id of ".concat(meeting.id, ", error: ").concat(err));
|
|
432
|
-
return _promise.default.reject(err);
|
|
433
|
-
});
|
|
434
|
-
};
|
|
435
|
-
MeetingUtil.canEnableClosedCaption = function (displayHints) {
|
|
436
|
-
return displayHints.includes(_constants.DISPLAY_HINTS.CAPTION_START);
|
|
437
|
-
};
|
|
438
|
-
MeetingUtil.isSaveTranscriptsEnabled = function (displayHints) {
|
|
439
|
-
return displayHints.includes(_constants.DISPLAY_HINTS.SAVE_TRANSCRIPTS_ENABLED);
|
|
440
|
-
};
|
|
441
|
-
MeetingUtil.canStartTranscribing = function (displayHints) {
|
|
442
|
-
return displayHints.includes(_constants.DISPLAY_HINTS.TRANSCRIPTION_CONTROL_START);
|
|
443
|
-
};
|
|
444
|
-
MeetingUtil.canStopTranscribing = function (displayHints) {
|
|
445
|
-
return displayHints.includes(_constants.DISPLAY_HINTS.TRANSCRIPTION_CONTROL_STOP);
|
|
446
|
-
};
|
|
447
|
-
MeetingUtil.isClosedCaptionActive = function (displayHints) {
|
|
448
|
-
return displayHints.includes(_constants.DISPLAY_HINTS.CAPTION_STATUS_ACTIVE);
|
|
449
|
-
};
|
|
450
|
-
MeetingUtil.isWebexAssistantActive = function (displayHints) {
|
|
451
|
-
return displayHints.includes(_constants.DISPLAY_HINTS.WEBEX_ASSISTANT_STATUS_ACTIVE);
|
|
452
|
-
};
|
|
453
|
-
MeetingUtil.canViewCaptionPanel = function (displayHints) {
|
|
454
|
-
return displayHints.includes(_constants.DISPLAY_HINTS.ENABLE_CAPTION_PANEL);
|
|
455
|
-
};
|
|
456
|
-
MeetingUtil.isRealTimeTranslationEnabled = function (displayHints) {
|
|
457
|
-
return displayHints.includes(_constants.DISPLAY_HINTS.DISPLAY_REAL_TIME_TRANSLATION);
|
|
458
|
-
};
|
|
459
|
-
MeetingUtil.canSelectSpokenLanguages = function (displayHints) {
|
|
460
|
-
return displayHints.includes(_constants.DISPLAY_HINTS.DISPLAY_NON_ENGLISH_ASR);
|
|
461
|
-
};
|
|
462
|
-
MeetingUtil.waitingForOthersToJoin = function (displayHints) {
|
|
463
|
-
return displayHints.includes(_constants.DISPLAY_HINTS.WAITING_FOR_OTHERS);
|
|
464
|
-
};
|
|
465
|
-
MeetingUtil.canEnableReactions = function (originalValue, displayHints) {
|
|
466
|
-
if (displayHints.includes(_constants.DISPLAY_HINTS.ENABLE_REACTIONS)) {
|
|
467
|
-
return true;
|
|
468
|
-
}
|
|
469
|
-
if (displayHints.includes(_constants.DISPLAY_HINTS.DISABLE_REACTIONS)) {
|
|
470
|
-
return false;
|
|
471
|
-
}
|
|
472
|
-
return originalValue;
|
|
473
|
-
};
|
|
474
|
-
MeetingUtil.canSendReactions = function (originalValue, displayHints) {
|
|
475
|
-
if (displayHints.includes(_constants.DISPLAY_HINTS.REACTIONS_ACTIVE)) {
|
|
476
|
-
return true;
|
|
477
|
-
}
|
|
478
|
-
if (displayHints.includes(_constants.DISPLAY_HINTS.REACTIONS_INACTIVE)) {
|
|
479
|
-
return false;
|
|
480
|
-
}
|
|
481
|
-
return originalValue;
|
|
482
|
-
};
|
|
483
|
-
MeetingUtil.canUserRenameSelfAndObserved = function (displayHints) {
|
|
484
|
-
return displayHints.includes(_constants.DISPLAY_HINTS.CAN_RENAME_SELF_AND_OBSERVED);
|
|
485
|
-
};
|
|
486
|
-
MeetingUtil.canUserRenameOthers = function (displayHints) {
|
|
487
|
-
return displayHints.includes(_constants.DISPLAY_HINTS.CAN_RENAME_OTHERS);
|
|
488
722
|
};
|
|
489
|
-
var _default = MeetingUtil;
|
|
490
|
-
exports.default = _default;
|
|
723
|
+
var _default = exports.default = MeetingUtil;
|
|
491
724
|
//# sourceMappingURL=util.js.map
|