@webex/plugin-meetings 2.35.2 → 2.35.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/common/browser-detection.js.map +1 -1
- package/dist/common/collection.js.map +1 -1
- package/dist/common/config.js.map +1 -1
- package/dist/common/errors/captcha-error.js +7 -0
- package/dist/common/errors/captcha-error.js.map +1 -1
- package/dist/common/errors/intent-to-join.js +8 -0
- package/dist/common/errors/intent-to-join.js.map +1 -1
- package/dist/common/errors/join-meeting.js +8 -0
- package/dist/common/errors/join-meeting.js.map +1 -1
- package/dist/common/errors/media.js +7 -0
- package/dist/common/errors/media.js.map +1 -1
- package/dist/common/errors/parameter.js.map +1 -1
- package/dist/common/errors/password-error.js +7 -0
- package/dist/common/errors/password-error.js.map +1 -1
- package/dist/common/errors/permission.js +7 -0
- package/dist/common/errors/permission.js.map +1 -1
- package/dist/common/errors/reconnection-in-progress.js.map +1 -1
- package/dist/common/errors/reconnection.js +7 -0
- package/dist/common/errors/reconnection.js.map +1 -1
- package/dist/common/errors/stats.js +7 -0
- package/dist/common/errors/stats.js.map +1 -1
- package/dist/common/errors/webex-errors.js.map +1 -1
- package/dist/common/errors/webex-meetings-error.js +5 -2
- package/dist/common/errors/webex-meetings-error.js.map +1 -1
- package/dist/common/events/events-scope.js.map +1 -1
- package/dist/common/events/events.js.map +1 -1
- package/dist/common/events/trigger-proxy.js.map +1 -1
- package/dist/common/events/util.js.map +1 -1
- package/dist/common/logs/logger-config.js.map +1 -1
- package/dist/common/logs/logger-proxy.js.map +1 -1
- package/dist/common/logs/request.js +3 -0
- package/dist/common/logs/request.js.map +1 -1
- package/dist/common/queue.js.map +1 -1
- package/dist/config.js.map +1 -1
- package/dist/constants.js.map +1 -1
- package/dist/locus-info/controlsUtils.js.map +1 -1
- package/dist/locus-info/embeddedAppsUtils.js.map +1 -1
- package/dist/locus-info/fullState.js.map +1 -1
- package/dist/locus-info/hostUtils.js.map +1 -1
- package/dist/locus-info/index.js +43 -5
- package/dist/locus-info/index.js.map +1 -1
- package/dist/locus-info/infoUtils.js.map +1 -1
- package/dist/locus-info/mediaSharesUtils.js.map +1 -1
- package/dist/locus-info/parser.js +12 -3
- package/dist/locus-info/parser.js.map +1 -1
- package/dist/locus-info/selfUtils.js.map +1 -1
- package/dist/media/index.js.map +1 -1
- package/dist/media/properties.js +12 -0
- package/dist/media/properties.js.map +1 -1
- package/dist/media/util.js.map +1 -1
- package/dist/mediaQualityMetrics/config.js.map +1 -1
- package/dist/meeting/effectsState.js +8 -1
- package/dist/meeting/effectsState.js.map +1 -1
- package/dist/meeting/index.js +151 -32
- package/dist/meeting/index.js.map +1 -1
- package/dist/meeting/muteState.js +6 -0
- package/dist/meeting/muteState.js.map +1 -1
- package/dist/meeting/request.js +54 -24
- package/dist/meeting/request.js.map +1 -1
- package/dist/meeting/state.js.map +1 -1
- package/dist/meeting/util.js.map +1 -1
- package/dist/meeting-info/collection.js +4 -1
- package/dist/meeting-info/collection.js.map +1 -1
- package/dist/meeting-info/index.js +5 -0
- package/dist/meeting-info/index.js.map +1 -1
- package/dist/meeting-info/meeting-info-v2.js +14 -2
- package/dist/meeting-info/meeting-info-v2.js.map +1 -1
- package/dist/meeting-info/request.js +3 -0
- package/dist/meeting-info/request.js.map +1 -1
- package/dist/meeting-info/util.js.map +1 -1
- package/dist/meeting-info/utilv2.js.map +1 -1
- package/dist/meetings/collection.js +4 -1
- package/dist/meetings/collection.js.map +1 -1
- package/dist/meetings/index.js +72 -20
- package/dist/meetings/index.js.map +1 -1
- package/dist/meetings/request.js +4 -0
- package/dist/meetings/request.js.map +1 -1
- package/dist/meetings/util.js.map +1 -1
- package/dist/member/index.js +30 -7
- package/dist/member/index.js.map +1 -1
- package/dist/member/util.js +2 -1
- package/dist/member/util.js.map +1 -1
- package/dist/members/collection.js +1 -0
- package/dist/members/collection.js.map +1 -1
- package/dist/members/index.js +12 -1
- package/dist/members/index.js.map +1 -1
- package/dist/members/request.js +19 -9
- package/dist/members/request.js.map +1 -1
- package/dist/members/util.js.map +1 -1
- package/dist/metrics/config.js.map +1 -1
- package/dist/metrics/constants.js.map +1 -1
- package/dist/metrics/index.js +8 -0
- package/dist/metrics/index.js.map +1 -1
- package/dist/networkQualityMonitor/index.js +10 -2
- package/dist/networkQualityMonitor/index.js.map +1 -1
- package/dist/peer-connection-manager/index.js +11 -4
- package/dist/peer-connection-manager/index.js.map +1 -1
- package/dist/personal-meeting-room/index.js +11 -0
- package/dist/personal-meeting-room/index.js.map +1 -1
- package/dist/personal-meeting-room/request.js +2 -1
- package/dist/personal-meeting-room/request.js.map +1 -1
- package/dist/personal-meeting-room/util.js.map +1 -1
- package/dist/reachability/index.js +17 -7
- package/dist/reachability/index.js.map +1 -1
- package/dist/reachability/request.js +1 -0
- package/dist/reachability/request.js.map +1 -1
- package/dist/reconnection-manager/index.js +21 -2
- package/dist/reconnection-manager/index.js.map +1 -1
- package/dist/roap/collection.js +1 -0
- package/dist/roap/collection.js.map +1 -1
- package/dist/roap/handler.js +14 -2
- package/dist/roap/handler.js.map +1 -1
- package/dist/roap/index.js +11 -1
- package/dist/roap/index.js.map +1 -1
- package/dist/roap/request.js +7 -2
- package/dist/roap/request.js.map +1 -1
- package/dist/roap/state.js.map +1 -1
- package/dist/roap/turnDiscovery.js +9 -1
- package/dist/roap/turnDiscovery.js.map +1 -1
- package/dist/roap/util.js.map +1 -1
- package/dist/statsAnalyzer/global.js.map +1 -1
- package/dist/statsAnalyzer/index.js +19 -1
- package/dist/statsAnalyzer/index.js.map +1 -1
- package/dist/statsAnalyzer/mqaUtil.js +9 -3
- package/dist/statsAnalyzer/mqaUtil.js.map +1 -1
- package/dist/transcription/index.js +10 -3
- package/dist/transcription/index.js.map +1 -1
- package/package.json +19 -19
- package/src/common/{browser-detection.js → browser-detection.ts} +1 -1
- package/src/common/collection.ts +6 -6
- package/src/common/{config.js → config.ts} +1 -1
- package/src/common/errors/{captcha-error.js → captcha-error.ts} +5 -1
- package/src/common/errors/{intent-to-join.js → intent-to-join.ts} +6 -1
- package/src/common/errors/{join-meeting.js → join-meeting.ts} +6 -1
- package/src/common/errors/{media.js → media.ts} +5 -1
- package/src/common/errors/parameter.ts +3 -2
- package/src/common/errors/{password-error.js → password-error.ts} +5 -1
- package/src/common/errors/{permission.js → permission.ts} +5 -1
- package/src/common/errors/{reconnection-in-progress.js → reconnection-in-progress.ts} +0 -0
- package/src/common/errors/{reconnection.js → reconnection.ts} +5 -1
- package/src/common/errors/{stats.js → stats.ts} +5 -1
- package/src/common/errors/{webex-errors.js → webex-errors.ts} +1 -2
- package/src/common/errors/{webex-meetings-error.js → webex-meetings-error.ts} +3 -1
- package/src/common/events/{events-scope.js → events-scope.ts} +1 -1
- package/src/common/events/{events.js → events.ts} +0 -0
- package/src/common/events/{trigger-proxy.js → trigger-proxy.ts} +1 -2
- package/src/common/events/{util.js → util.ts} +1 -1
- package/src/common/logs/{logger-config.js → logger-config.ts} +1 -2
- package/src/common/logs/{logger-proxy.js → logger-proxy.ts} +1 -1
- package/src/common/logs/{request.js → request.ts} +12 -2
- package/src/common/queue.ts +1 -2
- package/src/{config.js → config.ts} +1 -0
- package/src/constants.ts +1 -0
- package/src/locus-info/{controlsUtils.js → controlsUtils.ts} +4 -4
- package/src/locus-info/{embeddedAppsUtils.js → embeddedAppsUtils.ts} +5 -6
- package/src/locus-info/{fullState.js → fullState.ts} +1 -1
- package/src/locus-info/{hostUtils.js → hostUtils.ts} +5 -5
- package/src/locus-info/{index.js → index.ts} +67 -32
- package/src/locus-info/{infoUtils.js → infoUtils.ts} +3 -4
- package/src/locus-info/{mediaSharesUtils.js → mediaSharesUtils.ts} +13 -13
- package/src/locus-info/{parser.js → parser.ts} +22 -12
- package/src/locus-info/{selfUtils.js → selfUtils.ts} +17 -19
- package/src/media/{index.js → index.ts} +108 -39
- package/src/media/{properties.js → properties.ts} +16 -4
- package/src/media/{util.js → util.ts} +2 -3
- package/src/mediaQualityMetrics/{config.js → config.ts} +1 -1
- package/src/meeting/{effectsState.js → effectsState.ts} +12 -6
- package/src/meeting/{index.js → index.ts} +323 -147
- package/src/meeting/{muteState.js → muteState.ts} +16 -11
- package/src/meeting/{request.js → request.ts} +124 -36
- package/src/meeting/{state.js → state.ts} +6 -6
- package/src/meeting/{util.js → util.ts} +4 -4
- package/src/meeting-info/{collection.js → collection.ts} +4 -1
- package/src/meeting-info/{index.js → index.ts} +10 -6
- package/src/meeting-info/{meeting-info-v2.js → meeting-info-v2.ts} +28 -10
- package/src/meeting-info/{request.js → request.ts} +6 -2
- package/src/meeting-info/{util.js → util.ts} +6 -5
- package/src/meeting-info/{utilv2.js → utilv2.ts} +8 -7
- package/src/meetings/{collection.js → collection.ts} +5 -2
- package/src/meetings/{index.js → index.ts} +88 -22
- package/src/meetings/{request.js → request.ts} +6 -1
- package/src/meetings/{util.js → util.ts} +5 -3
- package/src/member/{index.js → index.ts} +46 -15
- package/src/member/{util.js → util.ts} +17 -16
- package/src/members/{collection.js → collection.ts} +2 -1
- package/src/members/{index.js → index.ts} +39 -26
- package/src/members/{request.js → request.ts} +16 -5
- package/src/members/{util.js → util.ts} +7 -7
- package/src/metrics/{config.js → config.ts} +0 -2
- package/src/metrics/{constants.js → constants.ts} +0 -0
- package/src/metrics/{index.js → index.ts} +27 -8
- package/src/networkQualityMonitor/{index.js → index.ts} +18 -3
- package/src/peer-connection-manager/{index.js → index.ts} +72 -28
- package/src/personal-meeting-room/{index.js → index.ts} +17 -4
- package/src/personal-meeting-room/{request.js → request.ts} +3 -1
- package/src/personal-meeting-room/{util.js → util.ts} +1 -1
- package/src/reachability/{index.js → index.ts} +28 -17
- package/src/reachability/request.ts +4 -2
- package/src/reconnection-manager/{index.js → index.ts} +42 -13
- package/src/roap/{collection.js → collection.ts} +1 -0
- package/src/roap/{handler.js → handler.ts} +15 -4
- package/src/roap/{index.js → index.ts} +23 -10
- package/src/roap/{request.js → request.ts} +19 -3
- package/src/roap/{state.js → state.ts} +3 -2
- package/src/roap/turnDiscovery.ts +14 -5
- package/src/roap/{util.js → util.ts} +1 -2
- package/src/statsAnalyzer/{global.js → global.ts} +0 -0
- package/src/statsAnalyzer/{index.js → index.ts} +36 -17
- package/src/statsAnalyzer/{mqaUtil.js → mqaUtil.ts} +6 -1
- package/src/transcription/{index.js → index.ts} +16 -11
- package/test/integration/spec/space-meeting.js +1 -2
- package/test/unit/spec/roap/util.js +1 -1
package/dist/meeting/index.js
CHANGED
|
@@ -485,6 +485,81 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
485
485
|
* @memberof Meeting
|
|
486
486
|
*/
|
|
487
487
|
|
|
488
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "attrs", void 0);
|
|
489
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "audio", void 0);
|
|
490
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "conversationUrl", void 0);
|
|
491
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "correlationId", void 0);
|
|
492
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "destination", void 0);
|
|
493
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "destinationType", void 0);
|
|
494
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "deviceUrl", void 0);
|
|
495
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "effects", void 0);
|
|
496
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "hostId", void 0);
|
|
497
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "id", void 0);
|
|
498
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "locusUrl", void 0);
|
|
499
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "mediaConnections", void 0);
|
|
500
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "meetingFiniteStateMachine", void 0);
|
|
501
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "meetingInfo", void 0);
|
|
502
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "meetingRequest", void 0);
|
|
503
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "members", void 0);
|
|
504
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "options", void 0);
|
|
505
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "orgId", void 0);
|
|
506
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "owner", void 0);
|
|
507
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "partner", void 0);
|
|
508
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "policy", void 0);
|
|
509
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "reconnectionManager", void 0);
|
|
510
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "resource", void 0);
|
|
511
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "roap", void 0);
|
|
512
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "roapSeq", void 0);
|
|
513
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "sipUri", void 0);
|
|
514
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "type", void 0);
|
|
515
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "userId", void 0);
|
|
516
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "video", void 0);
|
|
517
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "callEvents", void 0);
|
|
518
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "deferJoin", void 0);
|
|
519
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "dialInDeviceStatus", void 0);
|
|
520
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "dialInUrl", void 0);
|
|
521
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "dialOutDeviceStatus", void 0);
|
|
522
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "dialOutUrl", void 0);
|
|
523
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "fetchMeetingInfoTimeoutId", void 0);
|
|
524
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "floorGrantPending", void 0);
|
|
525
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "hasJoinedOnce", void 0);
|
|
526
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "hasWebsocketConnected", void 0);
|
|
527
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "inMeetingActions", void 0);
|
|
528
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "isLocalShareLive", void 0);
|
|
529
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "isSharing", void 0);
|
|
530
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "keepAliveTimerId", void 0);
|
|
531
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "lastVideoLayoutInfo", void 0);
|
|
532
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "locusInfo", void 0);
|
|
533
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "mediaProperties", void 0);
|
|
534
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "meetingInfoFailureReason", void 0);
|
|
535
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "networkQualityMonitor", void 0);
|
|
536
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "networkStatus", void 0);
|
|
537
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "passwordStatus", void 0);
|
|
538
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "queuedMediaUpdates", void 0);
|
|
539
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "recording", void 0);
|
|
540
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "requiredCaptcha", void 0);
|
|
541
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "shareStatus", void 0);
|
|
542
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "statsAnalyzer", void 0);
|
|
543
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "transcription", void 0);
|
|
544
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "updateMediaConnections", void 0);
|
|
545
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "endCallInitiateJoinReq", void 0);
|
|
546
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "endJoinReqResp", void 0);
|
|
547
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "endLocalSDPGenRemoteSDPRecvDelay", void 0);
|
|
548
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "joinedWith", void 0);
|
|
549
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "locusId", void 0);
|
|
550
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "startCallInitiateJoinReq", void 0);
|
|
551
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "startJoinReqResp", void 0);
|
|
552
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "startLocalSDPGenRemoteSDPRecvDelay", void 0);
|
|
553
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "wirelessShare", void 0);
|
|
554
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "guest", void 0);
|
|
555
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "meetingJoinUrl", void 0);
|
|
556
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "meetingNumber", void 0);
|
|
557
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "meetingState", void 0);
|
|
558
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "permissionToken", void 0);
|
|
559
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "resourceId", void 0);
|
|
560
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "resourceUrl", void 0);
|
|
561
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "selfId", void 0);
|
|
562
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "state", void 0);
|
|
488
563
|
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "namespace", _constants.MEETINGS);
|
|
489
564
|
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "getMediaStreams", function (mediaDirection) {
|
|
490
565
|
var audioVideo = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _constants.VIDEO_RESOLUTIONS[_this.mediaProperties.localQualityLevel];
|
|
@@ -551,7 +626,8 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
551
626
|
sendAudio: devicePermissions.sendAudio,
|
|
552
627
|
sendVideo: devicePermissions.sendVideo,
|
|
553
628
|
isSharing: _this.shareStatus === _constants.SHARE_STATUS.LOCAL_SHARE_ACTIVE
|
|
554
|
-
}), audioVideo, sharePreferences,
|
|
629
|
+
}), audioVideo, sharePreferences, // @ts-ignore - config coming from registerPlugin
|
|
630
|
+
_this.config).catch(function (error) {
|
|
555
631
|
var _this$locusUrl;
|
|
556
632
|
|
|
557
633
|
// Whenever there is a failure when trying to access a user's device
|
|
@@ -597,6 +673,7 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
597
673
|
|
|
598
674
|
// TODO: might have to send the same event to the developer
|
|
599
675
|
// Add ip address info if geo hint is present
|
|
676
|
+
// @ts-ignore fix type
|
|
600
677
|
options.data.intervalMetadata.peerReflexiveIP = ((_this$webex$meetings$ = _this.webex.meetings.geoHintInfo) === null || _this$webex$meetings$ === void 0 ? void 0 : _this$webex$meetings$.clientAddress) || options.data.intervalMetadata.peerReflexiveIP || _constants.MQA_STATS.DEFAULT_IP;
|
|
601
678
|
|
|
602
679
|
_metrics.default.postEvent({
|
|
@@ -660,6 +737,7 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
660
737
|
});
|
|
661
738
|
});
|
|
662
739
|
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "mediaNegotiatedEvent", function () {
|
|
740
|
+
// @ts-ignore - config coming from registerPlugin
|
|
663
741
|
if (_this.config.experimental.enableMediaNegotiatedEvent) {
|
|
664
742
|
_loggerProxy.default.logger.info('Meeting:mediaNegotiatedEvent --> Media server negotiated');
|
|
665
743
|
|
|
@@ -866,6 +944,7 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
866
944
|
* @public
|
|
867
945
|
* @memberof Meeting
|
|
868
946
|
*/
|
|
947
|
+
// @ts-ignore - Fix type
|
|
869
948
|
|
|
870
949
|
_this.members = new _index2.default({
|
|
871
950
|
locusUrl: attrs.locus && attrs.locus.url
|
|
@@ -879,6 +958,7 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
879
958
|
* @private
|
|
880
959
|
* @memberof Meeting
|
|
881
960
|
*/
|
|
961
|
+
// @ts-ignore - Fix type
|
|
882
962
|
|
|
883
963
|
_this.roap = new _index.default({}, {
|
|
884
964
|
parent: _this.webex
|
|
@@ -1092,7 +1172,7 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
1092
1172
|
_this.isSharing = false;
|
|
1093
1173
|
/**
|
|
1094
1174
|
* @instance
|
|
1095
|
-
* @type {
|
|
1175
|
+
* @type {string}
|
|
1096
1176
|
* @readonly
|
|
1097
1177
|
* @public
|
|
1098
1178
|
* @memberof Meeting
|
|
@@ -1137,7 +1217,7 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
1137
1217
|
/**
|
|
1138
1218
|
* There is a pending floor requested by the user
|
|
1139
1219
|
* @instance
|
|
1140
|
-
* @type {
|
|
1220
|
+
* @type {boolean}
|
|
1141
1221
|
* @private
|
|
1142
1222
|
* @memberof Meeting
|
|
1143
1223
|
*/
|
|
@@ -1213,6 +1293,7 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
1213
1293
|
* @private
|
|
1214
1294
|
* @memberof Meeting
|
|
1215
1295
|
*/
|
|
1296
|
+
// @ts-ignore - Fix type
|
|
1216
1297
|
|
|
1217
1298
|
_this.locusInfo = new _locusInfo.default(_this.updateMeetingObject.bind((0, _assertThisInitialized2.default)(_this)), _this.webex, _this.id); // We had to add listeners first before setting up the locus instance
|
|
1218
1299
|
|
|
@@ -1241,6 +1322,7 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
1241
1322
|
* @private
|
|
1242
1323
|
* @memberof Meeting
|
|
1243
1324
|
*/
|
|
1325
|
+
// @ts-ignore - Fix type
|
|
1244
1326
|
|
|
1245
1327
|
_this.hasWebsocketConnected = _this.webex.internal.mercury.connected;
|
|
1246
1328
|
/**
|
|
@@ -1407,6 +1489,7 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
1407
1489
|
break;
|
|
1408
1490
|
}
|
|
1409
1491
|
|
|
1492
|
+
// @ts-ignore
|
|
1410
1493
|
_loggerProxy.default.logger.info("Meeting:index#fetchMeetingInfo --> Info Unable to fetch meeting info for ".concat(this.destination, " - password required (code=").concat(_context.t0 === null || _context.t0 === void 0 ? void 0 : (_err$body = _context.t0.body) === null || _err$body === void 0 ? void 0 : _err$body.code, ").")); // when wbxappapi requires password it still populates partial meeting info in the response
|
|
1411
1494
|
|
|
1412
1495
|
|
|
@@ -1435,6 +1518,7 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
1435
1518
|
break;
|
|
1436
1519
|
}
|
|
1437
1520
|
|
|
1521
|
+
// @ts-ignore
|
|
1438
1522
|
_loggerProxy.default.logger.info("Meeting:index#fetchMeetingInfo --> Info Unable to fetch meeting info for ".concat(this.destination, " - captcha required (code=").concat(_context.t0 === null || _context.t0 === void 0 ? void 0 : (_err$body2 = _context.t0.body) === null || _err$body2 === void 0 ? void 0 : _err$body2.code, ")."));
|
|
1439
1523
|
|
|
1440
1524
|
this.meetingInfoFailureReason = this.requiredCaptcha ? _constants.MEETING_INFO_FAILURE_REASON.WRONG_CAPTCHA : _constants.MEETING_INFO_FAILURE_REASON.WRONG_PASSWORD;
|
|
@@ -1592,7 +1676,8 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
1592
1676
|
function: 'setUpLocusInfoMediaInactiveListener'
|
|
1593
1677
|
}, _constants.EVENTS.REQUEST_UPLOAD_LOGS, _this4);
|
|
1594
1678
|
|
|
1595
|
-
_loggerProxy.default.logger.error("Meeting:index#setUpLocusInfoMediaInactiveListener --> Meeting disconnected due to inactivity: ".concat(res.reason));
|
|
1679
|
+
_loggerProxy.default.logger.error("Meeting:index#setUpLocusInfoMediaInactiveListener --> Meeting disconnected due to inactivity: ".concat(res.reason)); // @ts-ignore - config coming from registerPlugin
|
|
1680
|
+
|
|
1596
1681
|
|
|
1597
1682
|
if (_this4.config.reconnection.autoRejoin) {
|
|
1598
1683
|
_this4.reconnect();
|
|
@@ -1671,7 +1756,7 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
1671
1756
|
if (options) {
|
|
1672
1757
|
var event = options.event,
|
|
1673
1758
|
trackingId = options.trackingId,
|
|
1674
|
-
|
|
1759
|
+
_mediaConnections = options.mediaConnections;
|
|
1675
1760
|
|
|
1676
1761
|
if (!event) {
|
|
1677
1762
|
_loggerProxy.default.logger.error('Meeting:index#getAnalyzerMetricsPrePayload --> Error [Call Analyzer Event', event || '', "]: invalid identifers or event type! ".concat(this.correlationId));
|
|
@@ -1684,6 +1769,7 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
1684
1769
|
userId: this.userId,
|
|
1685
1770
|
deviceId: this.deviceUrl,
|
|
1686
1771
|
orgId: this.orgId,
|
|
1772
|
+
// @ts-ignore fix type
|
|
1687
1773
|
locusUrl: this.webex.internal.services.get('locus')
|
|
1688
1774
|
};
|
|
1689
1775
|
|
|
@@ -1694,10 +1780,10 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
1694
1780
|
} // Check if mediaConnections has been passed in or else use this.mediaConnections
|
|
1695
1781
|
|
|
1696
1782
|
|
|
1697
|
-
if (
|
|
1698
|
-
identifiers.mediaAgentAlias =
|
|
1699
|
-
identifiers.mediaAgentGroupId =
|
|
1700
|
-
identifiers.mediaAgentCluster =
|
|
1783
|
+
if (_mediaConnections) {
|
|
1784
|
+
identifiers.mediaAgentAlias = _mediaConnections === null || _mediaConnections === void 0 ? void 0 : _mediaConnections[0].mediaAgentAlias;
|
|
1785
|
+
identifiers.mediaAgentGroupId = _mediaConnections === null || _mediaConnections === void 0 ? void 0 : _mediaConnections[0].mediaAgentGroupId;
|
|
1786
|
+
identifiers.mediaAgentCluster = _mediaConnections === null || _mediaConnections === void 0 ? void 0 : _mediaConnections[0].mediaAgentCluster;
|
|
1701
1787
|
} else if (this.mediaConnections) {
|
|
1702
1788
|
var _this$mediaConnection, _this$mediaConnection2, _this$mediaConnection3;
|
|
1703
1789
|
|
|
@@ -1801,7 +1887,8 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
1801
1887
|
}, {
|
|
1802
1888
|
key: "sendCallAnalyzerMetrics",
|
|
1803
1889
|
value: function sendCallAnalyzerMetrics(options) {
|
|
1804
|
-
var payload = this.getAnalyzerMetricsPrePayload(_objectSpread(_objectSpread({}, (0, _pick2.default)(this.config.metrics, ['clientType', 'subClientType'])), options));
|
|
1890
|
+
var payload = this.getAnalyzerMetricsPrePayload(_objectSpread(_objectSpread({}, (0, _pick2.default)(this.config.metrics, ['clientType', 'subClientType'])), options)); // @ts-ignore - fix type
|
|
1891
|
+
|
|
1805
1892
|
return this.webex.internal.metrics.submitCallDiagnosticEvents(payload);
|
|
1806
1893
|
}
|
|
1807
1894
|
/**
|
|
@@ -1820,7 +1907,8 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
1820
1907
|
value: function sendMediaQualityAnalyzerMetrics(options) {
|
|
1821
1908
|
var payload = this.getAnalyzerMetricsPrePayload(_objectSpread(_objectSpread({
|
|
1822
1909
|
type: _constants.MQA_STATS.CA_TYPE
|
|
1823
|
-
}, (0, _pick2.default)(this.config.metrics, ['clientType', 'subClientType'])), options));
|
|
1910
|
+
}, (0, _pick2.default)(this.config.metrics, ['clientType', 'subClientType'])), options)); // @ts-ignore
|
|
1911
|
+
|
|
1824
1912
|
return this.webex.internal.metrics.submitCallDiagnosticEvents(payload);
|
|
1825
1913
|
}
|
|
1826
1914
|
/**
|
|
@@ -2052,6 +2140,7 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
2052
2140
|
var caption = _ref7.caption,
|
|
2053
2141
|
transcribing = _ref7.transcribing;
|
|
2054
2142
|
|
|
2143
|
+
// @ts-ignore - config coming from registerPlugin
|
|
2055
2144
|
if (transcribing && _this11.transcription && _this11.config.receiveTranscription) {
|
|
2056
2145
|
_this11.receiveTranscription();
|
|
2057
2146
|
} else if (!transcribing && _this11.transcription) {
|
|
@@ -2470,7 +2559,8 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
2470
2559
|
meeting: _this16
|
|
2471
2560
|
});
|
|
2472
2561
|
}
|
|
2473
|
-
});
|
|
2562
|
+
}); // @ts-ignore - check if MEDIA_INACTIVITY exists
|
|
2563
|
+
|
|
2474
2564
|
this.locusInfo.on(_constants.LOCUSINFO.EVENTS.MEDIA_INACTIVITY, function () {
|
|
2475
2565
|
_metrics.default.sendBehavioralMetric(_constants2.default.MEETING_MEDIA_INACTIVE, {
|
|
2476
2566
|
correlation_id: _this16.correlationId,
|
|
@@ -2538,6 +2628,7 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
2538
2628
|
}).then(function () {
|
|
2539
2629
|
_loggerProxy.default.logger.info('Meeting:index#setUpLocusInfoMeetingListener --> REMOTE_RESPONSE. Attempting to leave meeting.');
|
|
2540
2630
|
}).catch(function (error) {
|
|
2631
|
+
// @ts-ignore
|
|
2541
2632
|
_loggerProxy.default.logger.error("Meeting:index#setUpLocusInfoMeetingListener --> REMOTE_RESPONSE. Issue with leave for meeting, meeting still in collection: ".concat(_this17.meeting, ", error: ").concat(error));
|
|
2542
2633
|
});
|
|
2543
2634
|
}
|
|
@@ -2568,6 +2659,7 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
2568
2659
|
}).then(function () {
|
|
2569
2660
|
_loggerProxy.default.logger.warn('Meeting:index#setUpLocusInfoMeetingListener --> DESTROY_MEETING. The meeting has been left, but has not been destroyed, you should see a later event for leave.');
|
|
2570
2661
|
}).catch(function (error) {
|
|
2662
|
+
// @ts-ignore
|
|
2571
2663
|
_loggerProxy.default.logger.error("Meeting:index#setUpLocusInfoMeetingListener --> DESTROY_MEETING. Issue with leave for meeting, meeting still in collection: ".concat(_this17.meeting, ", error: ").concat(error));
|
|
2572
2664
|
});
|
|
2573
2665
|
} else {
|
|
@@ -2812,8 +2904,9 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
2812
2904
|
var _locusMeetingObject, _locusMeetingObject2, _locusMeetingObject3, _locusMeetingObject4, _locusMeetingObject6;
|
|
2813
2905
|
|
|
2814
2906
|
this.conversationUrl = ((_locusMeetingObject = locusMeetingObject) === null || _locusMeetingObject === void 0 ? void 0 : _locusMeetingObject.conversationUrl) || (webexMeetingInfo === null || webexMeetingInfo === void 0 ? void 0 : webexMeetingInfo.conversationUrl) || this.conversationUrl;
|
|
2815
|
-
this.locusUrl = ((_locusMeetingObject2 = locusMeetingObject) === null || _locusMeetingObject2 === void 0 ? void 0 : _locusMeetingObject2.url) || (webexMeetingInfo === null || webexMeetingInfo === void 0 ? void 0 : webexMeetingInfo.locusUrl) || this.locusUrl;
|
|
2816
|
-
|
|
2907
|
+
this.locusUrl = ((_locusMeetingObject2 = locusMeetingObject) === null || _locusMeetingObject2 === void 0 ? void 0 : _locusMeetingObject2.url) || (webexMeetingInfo === null || webexMeetingInfo === void 0 ? void 0 : webexMeetingInfo.locusUrl) || this.locusUrl; // @ts-ignore - config coming from registerPlugin
|
|
2908
|
+
|
|
2909
|
+
this.setSipUri(this.config.experimental.enableUnifiedMeetings ? ((_locusMeetingObject3 = locusMeetingObject) === null || _locusMeetingObject3 === void 0 ? void 0 : _locusMeetingObject3.info.sipUri) || (webexMeetingInfo === null || webexMeetingInfo === void 0 ? void 0 : webexMeetingInfo.sipUrl) : ((_locusMeetingObject4 = locusMeetingObject) === null || _locusMeetingObject4 === void 0 ? void 0 : _locusMeetingObject4.info.sipUri) || (webexMeetingInfo === null || webexMeetingInfo === void 0 ? void 0 : webexMeetingInfo.sipMeetingUri) || this.sipUri); // @ts-ignore - config coming from registerPlugin
|
|
2817
2910
|
|
|
2818
2911
|
if (this.config.experimental.enableUnifiedMeetings) {
|
|
2819
2912
|
var _locusMeetingObject5;
|
|
@@ -2909,7 +3002,8 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
2909
3002
|
this.mediaConnections = locus.mediaConnections;
|
|
2910
3003
|
this.locusUrl = locus.locusUrl || locus.url;
|
|
2911
3004
|
this.locusId = locus.locusId;
|
|
2912
|
-
this.selfId = locus.selfId;
|
|
3005
|
+
this.selfId = locus.selfId; // @ts-ignore
|
|
3006
|
+
|
|
2913
3007
|
this.mediaId = locus.mediaId;
|
|
2914
3008
|
this.hostId = mtgLocus.host ? mtgLocus.host.id : this.hostId;
|
|
2915
3009
|
this.locusInfo.initialSetup(mtgLocus);
|
|
@@ -3257,7 +3351,7 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
3257
3351
|
}
|
|
3258
3352
|
/**
|
|
3259
3353
|
* Sets the local media stream on the class and emits an event to the developer
|
|
3260
|
-
* @param {
|
|
3354
|
+
* @param {MediaStream} localShare the local media stream
|
|
3261
3355
|
* @returns {undefined}
|
|
3262
3356
|
* @public
|
|
3263
3357
|
* @memberof Meeting
|
|
@@ -3401,6 +3495,7 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
3401
3495
|
|
|
3402
3496
|
// Client will have a socket manager and handle reconnecting to mercury, when we reconnect to mercury
|
|
3403
3497
|
// if the meeting has active peer connections, it should try to reconnect.
|
|
3498
|
+
// @ts-ignore
|
|
3404
3499
|
this.webex.internal.mercury.on(_constants.ONLINE, function () {
|
|
3405
3500
|
_loggerProxy.default.logger.info('Meeting:index#setMercuryListener --> Web socket online'); // Only send restore event when it was disconnected before and for connected later
|
|
3406
3501
|
|
|
@@ -3417,7 +3512,8 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
3417
3512
|
}
|
|
3418
3513
|
|
|
3419
3514
|
_this24.hasWebsocketConnected = true;
|
|
3420
|
-
});
|
|
3515
|
+
}); // @ts-ignore
|
|
3516
|
+
|
|
3421
3517
|
this.webex.internal.mercury.on(_constants.OFFLINE, function () {
|
|
3422
3518
|
_loggerProxy.default.logger.error('Meeting:index#setMercuryListener --> Web socket offline');
|
|
3423
3519
|
|
|
@@ -3456,9 +3552,10 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
3456
3552
|
}, {
|
|
3457
3553
|
key: "unsetPeerConnections",
|
|
3458
3554
|
value: function unsetPeerConnections() {
|
|
3459
|
-
this.mediaProperties.unsetPeerConnection();
|
|
3555
|
+
this.mediaProperties.unsetPeerConnection(); // @ts-ignore - config coming from registerPlugin
|
|
3460
3556
|
|
|
3461
3557
|
if (this.config.reconnection.detection) {
|
|
3558
|
+
// @ts-ignore
|
|
3462
3559
|
this.webex.internal.mercury.off(_constants.ONLINE);
|
|
3463
3560
|
}
|
|
3464
3561
|
}
|
|
@@ -3489,7 +3586,8 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
3489
3586
|
|
|
3490
3587
|
if (!_util.default.isUserInJoinedState(this.locusInfo)) {
|
|
3491
3588
|
return _promise.default.reject(new _webexErrors.UserNotJoinedError());
|
|
3492
|
-
}
|
|
3589
|
+
} // @ts-ignore
|
|
3590
|
+
|
|
3493
3591
|
|
|
3494
3592
|
if (!this.mediaId) {
|
|
3495
3593
|
// Happens when addMedia and mute are triggered in succession
|
|
@@ -3542,7 +3640,8 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
3542
3640
|
|
|
3543
3641
|
if (!_util.default.isUserInJoinedState(this.locusInfo)) {
|
|
3544
3642
|
return _promise.default.reject(new _webexErrors.UserNotJoinedError());
|
|
3545
|
-
}
|
|
3643
|
+
} // @ts-ignore
|
|
3644
|
+
|
|
3546
3645
|
|
|
3547
3646
|
if (!this.mediaId) {
|
|
3548
3647
|
// Happens when addMedia and mute are triggered in succession
|
|
@@ -3595,7 +3694,8 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
3595
3694
|
|
|
3596
3695
|
if (!_util.default.isUserInJoinedState(this.locusInfo)) {
|
|
3597
3696
|
return _promise.default.reject(new _webexErrors.UserNotJoinedError());
|
|
3598
|
-
}
|
|
3697
|
+
} // @ts-ignore
|
|
3698
|
+
|
|
3599
3699
|
|
|
3600
3700
|
if (!this.mediaId) {
|
|
3601
3701
|
// Happens when addMedia and mute are triggered in succession
|
|
@@ -3647,7 +3747,8 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
3647
3747
|
|
|
3648
3748
|
if (!_util.default.isUserInJoinedState(this.locusInfo)) {
|
|
3649
3749
|
return _promise.default.reject(new _webexErrors.UserNotJoinedError());
|
|
3650
|
-
}
|
|
3750
|
+
} // @ts-ignore
|
|
3751
|
+
|
|
3651
3752
|
|
|
3652
3753
|
if (!this.mediaId) {
|
|
3653
3754
|
// Happens when addMedia and mute are triggered in succession
|
|
@@ -3772,14 +3873,16 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
3772
3873
|
|
|
3773
3874
|
if (!this.reconnectionManager || !this.reconnectionManager.reconnect) {
|
|
3774
3875
|
return _promise.default.reject(new _parameter.default('Cannot reconnect, ReconnectionManager must first be defined.'));
|
|
3775
|
-
}
|
|
3876
|
+
} // @ts-ignore - currentMediaStatus coming from SelfUtil
|
|
3877
|
+
|
|
3776
3878
|
|
|
3777
3879
|
if (!_util.default.isMediaEstablished(this.currentMediaStatus)) {
|
|
3778
3880
|
return _promise.default.reject(new _parameter.default('Cannot reconnect, Media has not established to reconnect'));
|
|
3779
3881
|
}
|
|
3780
3882
|
|
|
3781
3883
|
try {
|
|
3782
|
-
_loggerProxy.default.logger.info('Meeting:index#reconnect --> Validating reconnect ability.');
|
|
3884
|
+
_loggerProxy.default.logger.info('Meeting:index#reconnect --> Validating reconnect ability.'); // @ts-ignore
|
|
3885
|
+
|
|
3783
3886
|
|
|
3784
3887
|
this.reconnectionManager.validate();
|
|
3785
3888
|
} catch (error) {
|
|
@@ -3900,7 +4003,8 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
3900
4003
|
_loggerProxy.default.logger.info("Meeting:index#receiveTranscription -->\n Attempting to generate a web socket url.");
|
|
3901
4004
|
|
|
3902
4005
|
_context2.prev = 1;
|
|
3903
|
-
datachannelUrl = this.locusInfo.info.datachannelUrl;
|
|
4006
|
+
datachannelUrl = this.locusInfo.info.datachannelUrl; // @ts-ignore - fix type
|
|
4007
|
+
|
|
3904
4008
|
_context2.next = 5;
|
|
3905
4009
|
return this.request({
|
|
3906
4010
|
method: _constants.HTTP_VERBS.POST,
|
|
@@ -3916,7 +4020,8 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
3916
4020
|
|
|
3917
4021
|
_loggerProxy.default.logger.info("Meeting:index#receiveTranscription -->\n Generated web socket url succesfully.");
|
|
3918
4022
|
|
|
3919
|
-
this.transcription = new _transcription.default(webSocketUrl,
|
|
4023
|
+
this.transcription = new _transcription.default(webSocketUrl, // @ts-ignore - fix type
|
|
4024
|
+
this.webex.sessionId, this.members);
|
|
3920
4025
|
|
|
3921
4026
|
_loggerProxy.default.logger.info("Meeting:index#receiveTranscription -->\n opened LLM web socket connection successfully."); // retrieve and pass the payload
|
|
3922
4027
|
|
|
@@ -3927,7 +4032,8 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
3927
4032
|
function: 'join'
|
|
3928
4033
|
}, _constants.EVENT_TRIGGERS.MEETING_STARTED_RECEIVING_TRANSCRIPTION, payload);
|
|
3929
4034
|
});
|
|
3930
|
-
this.monitorTranscriptionSocketConnection();
|
|
4035
|
+
this.monitorTranscriptionSocketConnection(); // @ts-ignore - fix type
|
|
4036
|
+
|
|
3931
4037
|
this.transcription.connect(this.webex.credentials.supertoken.access_token);
|
|
3932
4038
|
_context2.next = 19;
|
|
3933
4039
|
break;
|
|
@@ -4008,6 +4114,7 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
4008
4114
|
|
|
4009
4115
|
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
4010
4116
|
|
|
4117
|
+
// @ts-ignore - fix type
|
|
4011
4118
|
if (!this.webex.meetings.registered) {
|
|
4012
4119
|
var errorMessage = 'Meeting:index#join --> Device not registered';
|
|
4013
4120
|
var error = new Error(errorMessage);
|
|
@@ -4419,6 +4526,7 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
4419
4526
|
case 10:
|
|
4420
4527
|
_this36.mediaProperties.unsetMediaTracks(); // when a move to is intiated by the client , Locus delets the existing media node from the server as soon the DX answers the meeting
|
|
4421
4528
|
// once the DX answers we establish connection back the media server with only receiveShare enabled
|
|
4529
|
+
// @ts-ignore - reconnectMedia does not accept any argument
|
|
4422
4530
|
|
|
4423
4531
|
|
|
4424
4532
|
_context4.next = 13;
|
|
@@ -4563,6 +4671,7 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
4563
4671
|
if (_util.default.isUserInLeftState(this.locusInfo)) {
|
|
4564
4672
|
return _promise.default.reject(new _webexErrors.UserNotJoinedError());
|
|
4565
4673
|
} // If the user is unjoined or guest waiting in lobby dont allow the user to addMedia
|
|
4674
|
+
// @ts-ignore - isUserUnadmitted coming from SelfUtil
|
|
4566
4675
|
|
|
4567
4676
|
|
|
4568
4677
|
if (this.isUserUnadmitted && !this.wirelessShare) {
|
|
@@ -4616,7 +4725,9 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
4616
4725
|
return _media.default.attachMedia(_this38.mediaProperties, {
|
|
4617
4726
|
meetingId: _this38.id,
|
|
4618
4727
|
remoteQualityLevel: _this38.mediaProperties.remoteQualityLevel,
|
|
4728
|
+
// @ts-ignore - config coming from registerPlugin
|
|
4619
4729
|
enableRtx: _this38.config.enableRtx,
|
|
4730
|
+
// @ts-ignore - config coming from registerPlugin
|
|
4620
4731
|
enableExtmap: _this38.config.enableExtmap,
|
|
4621
4732
|
setStartLocalSDPGenRemoteSDPRecvDelay: _this38.setStartLocalSDPGenRemoteSDPRecvDelay.bind(_this38)
|
|
4622
4733
|
});
|
|
@@ -4631,11 +4742,14 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
4631
4742
|
|
|
4632
4743
|
_loggerProxy.default.logger.info("".concat(LOG_HEADER, " PeerConnection Received from attachMedia "));
|
|
4633
4744
|
|
|
4634
|
-
_this38.setRemoteStream(peerConnection);
|
|
4745
|
+
_this38.setRemoteStream(peerConnection); // @ts-ignore - config coming from registerPlugin
|
|
4746
|
+
|
|
4635
4747
|
|
|
4636
4748
|
if (_this38.config.stats.enableStatsAnalyzer) {
|
|
4637
4749
|
// TODO: ** Dont re create StatsAnalyzer on reconnect or rejoin
|
|
4638
|
-
|
|
4750
|
+
// @ts-ignore - config coming from registerPlugin
|
|
4751
|
+
_this38.networkQualityMonitor = new _networkQualityMonitor.default(_this38.config.stats); // @ts-ignore - config coming from registerPlugin
|
|
4752
|
+
|
|
4639
4753
|
_this38.statsAnalyzer = new _statsAnalyzer.StatsAnalyzer(_this38.config.stats, _this38.networkQualityMonitor);
|
|
4640
4754
|
|
|
4641
4755
|
_this38.setupStatsAnalyzerEventHandlers();
|
|
@@ -4836,7 +4950,9 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
4836
4950
|
return _media.default.updateMedia(_this40.mediaProperties, {
|
|
4837
4951
|
meetingId: _this40.id,
|
|
4838
4952
|
remoteQualityLevel: _this40.mediaProperties.remoteQualityLevel,
|
|
4953
|
+
// @ts-ignore - config coming from registerPlugin
|
|
4839
4954
|
enableRtx: _this40.config.enableRtx,
|
|
4955
|
+
// @ts-ignore - config coming from registerPlugin
|
|
4840
4956
|
enableExtmap: _this40.config.enableExtmap
|
|
4841
4957
|
}).then(function (peerConnection) {
|
|
4842
4958
|
_loggerProxy.default.logger.info("".concat(LOG_HEADER, " PeerConnection received from updateMedia, ").concat(peerConnection));
|
|
@@ -5148,7 +5264,7 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
5148
5264
|
_this43.mediaProperties.mediaDirection.sendShare = sendShare;
|
|
5149
5265
|
_this43.mediaProperties.mediaDirection.receiveShare = receiveShare;
|
|
5150
5266
|
}).catch(function (error) {
|
|
5151
|
-
_this43.unsetLocalShareTrack(
|
|
5267
|
+
_this43.unsetLocalShareTrack();
|
|
5152
5268
|
|
|
5153
5269
|
throw error;
|
|
5154
5270
|
}).finally(function () {
|
|
@@ -5182,6 +5298,7 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
5182
5298
|
value: function preMedia(localStream, localShare, mediaSettings) {
|
|
5183
5299
|
// eslint-disable-next-line no-warning-comments
|
|
5184
5300
|
// TODO wire into default config. There's currently an issue with the stateless plugin or how we register
|
|
5301
|
+
// @ts-ignore - config coming from registerPlugin
|
|
5185
5302
|
this.mediaProperties.setMediaDirection((0, _assign.default)(this.config.mediaSettings, mediaSettings)); // add a setup a function move the create and setup media in future
|
|
5186
5303
|
// TODO: delete old audio and video if stale
|
|
5187
5304
|
|
|
@@ -5427,7 +5544,8 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
5427
5544
|
}).catch(function (error) {
|
|
5428
5545
|
_loggerProxy.default.logger.error('Meeting:index#stopWhiteboardShare --> Error ', error);
|
|
5429
5546
|
|
|
5430
|
-
_metrics.default.sendBehavioralMetric(
|
|
5547
|
+
_metrics.default.sendBehavioralMetric( // @ts-ignore - check if STOP_WHITEBOARD_SHARE_FAILURE exists
|
|
5548
|
+
_constants2.default.STOP_WHITEBOARD_SHARE_FAILURE, {
|
|
5431
5549
|
correlation_id: _this48.correlationId,
|
|
5432
5550
|
locus_id: _this48.locusUrl.split('/').pop(),
|
|
5433
5551
|
reason: error.message,
|
|
@@ -5956,7 +6074,8 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
5956
6074
|
var shareConstraints = _objectSpread({
|
|
5957
6075
|
sendShare: true,
|
|
5958
6076
|
sendAudio: false
|
|
5959
|
-
}, options);
|
|
6077
|
+
}, options); // @ts-ignore - config coming from registerPlugin
|
|
6078
|
+
|
|
5960
6079
|
|
|
5961
6080
|
return _media.default.getDisplayMedia(shareConstraints, this.config).then(function (shareStream) {
|
|
5962
6081
|
return _this54.updateShare({
|