@webex/plugin-meetings 3.0.0-beta.293 → 3.0.0-beta.295
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/breakouts/breakout.js +1 -1
- package/dist/breakouts/index.js +1 -1
- package/dist/interpretation/index.js +1 -1
- package/dist/interpretation/siLanguage.js +1 -1
- package/dist/meeting/index.js +151 -127
- package/dist/meeting/index.js.map +1 -1
- package/dist/meetings/util.js +1 -5
- package/dist/meetings/util.js.map +1 -1
- package/dist/metrics/constants.js +2 -1
- package/dist/metrics/constants.js.map +1 -1
- package/dist/roap/index.js +37 -2
- package/dist/roap/index.js.map +1 -1
- package/dist/types/meeting/index.d.ts +6 -0
- package/dist/types/metrics/constants.d.ts +1 -0
- package/dist/webinar/index.js +1 -1
- package/package.json +20 -20
- package/src/meeting/index.ts +84 -42
- package/src/meetings/util.ts +1 -7
- package/src/metrics/constants.ts +1 -0
- package/src/roap/index.ts +38 -1
- package/test/unit/spec/meeting/index.js +115 -46
- package/test/unit/spec/meetings/utils.js +1 -5
- package/test/unit/spec/roap/index.ts +153 -13
package/dist/breakouts/index.js
CHANGED
|
@@ -1041,7 +1041,7 @@ var Breakouts = _webexCore.WebexPlugin.extend({
|
|
|
1041
1041
|
this.trigger(_constants.BREAKOUTS.EVENTS.ASK_RETURN_TO_MAIN);
|
|
1042
1042
|
}
|
|
1043
1043
|
},
|
|
1044
|
-
version: "3.0.0-beta.
|
|
1044
|
+
version: "3.0.0-beta.295"
|
|
1045
1045
|
});
|
|
1046
1046
|
var _default = Breakouts;
|
|
1047
1047
|
exports.default = _default;
|
package/dist/meeting/index.js
CHANGED
|
@@ -56,9 +56,10 @@ var _reconnectionManager = _interopRequireDefault(require("../reconnection-manag
|
|
|
56
56
|
var _request = _interopRequireDefault(require("./request"));
|
|
57
57
|
var _index2 = _interopRequireDefault(require("../members/index"));
|
|
58
58
|
var _util = _interopRequireDefault(require("./util"));
|
|
59
|
-
var _util2 = _interopRequireDefault(require("../
|
|
60
|
-
var _util3 = _interopRequireDefault(require("../
|
|
61
|
-
var _util4 = _interopRequireDefault(require("../
|
|
59
|
+
var _util2 = _interopRequireDefault(require("../meetings/util"));
|
|
60
|
+
var _util3 = _interopRequireDefault(require("../recording-controller/util"));
|
|
61
|
+
var _util4 = _interopRequireDefault(require("../controls-options-manager/util"));
|
|
62
|
+
var _util5 = _interopRequireDefault(require("../media/util"));
|
|
62
63
|
var _transcription = _interopRequireDefault(require("../transcription"));
|
|
63
64
|
var _reactions = require("../reactions/reactions");
|
|
64
65
|
var _passwordError = _interopRequireDefault(require("../common/errors/password-error"));
|
|
@@ -581,7 +582,61 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
581
582
|
});
|
|
582
583
|
}
|
|
583
584
|
});
|
|
585
|
+
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "roapMessageReceived", function (roapMessage) {
|
|
586
|
+
var mediaServer = _util2.default.getMediaServer(roapMessage.sdp);
|
|
587
|
+
_this.mediaProperties.webrtcMediaConnection.roapMessageReceived(roapMessage);
|
|
588
|
+
if (mediaServer) {
|
|
589
|
+
_this.mediaProperties.webrtcMediaConnection.mediaServer = mediaServer;
|
|
590
|
+
}
|
|
591
|
+
});
|
|
592
|
+
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "setupSdpListeners", function () {
|
|
593
|
+
_this.mediaProperties.webrtcMediaConnection.on(_internalMediaCore.Event.REMOTE_SDP_ANSWER_PROCESSED, function () {
|
|
594
|
+
// @ts-ignore
|
|
595
|
+
var cdl = _this.webex.internal.newMetrics.callDiagnosticLatencies;
|
|
596
|
+
|
|
597
|
+
// @ts-ignore
|
|
598
|
+
_this.webex.internal.newMetrics.submitClientEvent({
|
|
599
|
+
name: 'client.media-engine.remote-sdp-received',
|
|
600
|
+
options: {
|
|
601
|
+
meetingId: _this.id
|
|
602
|
+
}
|
|
603
|
+
});
|
|
604
|
+
_metrics.default.sendBehavioralMetric(_constants2.default.ROAP_OFFER_TO_ANSWER_LATENCY, {
|
|
605
|
+
correlation_id: _this.correlationId,
|
|
606
|
+
latency: cdl.getLocalSDPGenRemoteSDPRecv(),
|
|
607
|
+
meetingId: _this.id
|
|
608
|
+
});
|
|
609
|
+
if (_this.deferSDPAnswer) {
|
|
610
|
+
_this.deferSDPAnswer.resolve();
|
|
611
|
+
clearTimeout(_this.sdpResponseTimer);
|
|
612
|
+
_this.sdpResponseTimer = undefined;
|
|
613
|
+
}
|
|
614
|
+
});
|
|
615
|
+
_this.mediaProperties.webrtcMediaConnection.on(_internalMediaCore.Event.LOCAL_SDP_OFFER_GENERATED, function () {
|
|
616
|
+
// @ts-ignore
|
|
617
|
+
_this.webex.internal.newMetrics.submitClientEvent({
|
|
618
|
+
name: 'client.media-engine.local-sdp-generated',
|
|
619
|
+
options: {
|
|
620
|
+
meetingId: _this.id
|
|
621
|
+
}
|
|
622
|
+
});
|
|
623
|
+
|
|
624
|
+
// Instantiate Defer so that the SDP offer/answer exchange timeout can start, see waitForRemoteSDPAnswer()
|
|
625
|
+
_this.deferSDPAnswer = new _common.Defer();
|
|
626
|
+
});
|
|
627
|
+
_this.mediaProperties.webrtcMediaConnection.on(_internalMediaCore.Event.LOCAL_SDP_ANSWER_GENERATED, function () {
|
|
628
|
+
// we are sending "remote-sdp-received" only after we've generated the answer - this indicates that we've fully processed that incoming offer
|
|
629
|
+
// @ts-ignore
|
|
630
|
+
_this.webex.internal.newMetrics.submitClientEvent({
|
|
631
|
+
name: 'client.media-engine.remote-sdp-received',
|
|
632
|
+
options: {
|
|
633
|
+
meetingId: _this.id
|
|
634
|
+
}
|
|
635
|
+
});
|
|
636
|
+
});
|
|
637
|
+
});
|
|
584
638
|
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "setupMediaConnectionListeners", function () {
|
|
639
|
+
_this.setupSdpListeners();
|
|
585
640
|
_this.mediaProperties.webrtcMediaConnection.on(_internalMediaCore.Event.ROAP_STARTED, function () {
|
|
586
641
|
_this.isRoapInProgress = true;
|
|
587
642
|
});
|
|
@@ -593,28 +648,8 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
593
648
|
_this.mediaProperties.webrtcMediaConnection.on(_internalMediaCore.Event.ROAP_FAILURE, _this.handleRoapFailure);
|
|
594
649
|
_this.mediaProperties.webrtcMediaConnection.on(_internalMediaCore.Event.ROAP_MESSAGE_TO_SEND, function (event) {
|
|
595
650
|
var LOG_HEADER = "Meeting:index#setupMediaConnectionListeners.ROAP_MESSAGE_TO_SEND --> correlationId=".concat(_this.correlationId);
|
|
596
|
-
|
|
597
|
-
// @ts-ignore
|
|
598
|
-
var cdl = _this.webex.internal.newMetrics.callDiagnosticLatencies;
|
|
599
651
|
switch (event.roapMessage.messageType) {
|
|
600
652
|
case 'OK':
|
|
601
|
-
// @ts-ignore
|
|
602
|
-
_this.webex.internal.newMetrics.submitClientEvent({
|
|
603
|
-
name: 'client.media-engine.remote-sdp-received',
|
|
604
|
-
options: {
|
|
605
|
-
meetingId: _this.id
|
|
606
|
-
}
|
|
607
|
-
});
|
|
608
|
-
_metrics.default.sendBehavioralMetric(_constants2.default.ROAP_OFFER_TO_ANSWER_LATENCY, {
|
|
609
|
-
correlation_id: _this.correlationId,
|
|
610
|
-
latency: cdl.getLocalSDPGenRemoteSDPRecv(),
|
|
611
|
-
meetingId: _this.id
|
|
612
|
-
});
|
|
613
|
-
if (_this.deferSDPAnswer) {
|
|
614
|
-
_this.deferSDPAnswer.resolve();
|
|
615
|
-
clearTimeout(_this.sdpResponseTimer);
|
|
616
|
-
_this.sdpResponseTimer = undefined;
|
|
617
|
-
}
|
|
618
653
|
logRequest(_this.roap.sendRoapOK({
|
|
619
654
|
seq: event.roapMessage.seq,
|
|
620
655
|
mediaId: _this.mediaId,
|
|
@@ -624,16 +659,6 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
624
659
|
});
|
|
625
660
|
break;
|
|
626
661
|
case 'OFFER':
|
|
627
|
-
// @ts-ignore
|
|
628
|
-
_this.webex.internal.newMetrics.submitClientEvent({
|
|
629
|
-
name: 'client.media-engine.local-sdp-generated',
|
|
630
|
-
options: {
|
|
631
|
-
meetingId: _this.id
|
|
632
|
-
}
|
|
633
|
-
});
|
|
634
|
-
|
|
635
|
-
// Instantiate Defer so that the SDP offer/answer exchange timeout can start, see waitForRemoteSDPAnswer()
|
|
636
|
-
_this.deferSDPAnswer = new _common.Defer();
|
|
637
662
|
logRequest(_this.roap.sendRoapMediaRequest({
|
|
638
663
|
sdp: event.roapMessage.sdp,
|
|
639
664
|
seq: event.roapMessage.seq,
|
|
@@ -641,18 +666,17 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
641
666
|
meeting: (0, _assertThisInitialized2.default)(_this),
|
|
642
667
|
// or can pass meeting ID
|
|
643
668
|
reconnect: _this.reconnectionManager.isReconnectInProgress()
|
|
669
|
+
}).then(function (_ref2) {
|
|
670
|
+
var roapAnswer = _ref2.roapAnswer;
|
|
671
|
+
if (roapAnswer) {
|
|
672
|
+
_loggerProxy.default.logger.log("".concat(LOG_HEADER, " received Roap ANSWER in http response"));
|
|
673
|
+
_this.roapMessageReceived(roapAnswer);
|
|
674
|
+
}
|
|
644
675
|
}), {
|
|
645
676
|
logText: "".concat(LOG_HEADER, " Roap Offer")
|
|
646
677
|
});
|
|
647
678
|
break;
|
|
648
679
|
case 'ANSWER':
|
|
649
|
-
// @ts-ignore
|
|
650
|
-
_this.webex.internal.newMetrics.submitClientEvent({
|
|
651
|
-
name: 'client.media-engine.remote-sdp-received',
|
|
652
|
-
options: {
|
|
653
|
-
meetingId: _this.id
|
|
654
|
-
}
|
|
655
|
-
});
|
|
656
680
|
logRequest(_this.roap.sendRoapAnswer({
|
|
657
681
|
sdp: event.roapMessage.sdp,
|
|
658
682
|
seq: event.roapMessage.seq,
|
|
@@ -702,7 +726,7 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
702
726
|
_loggerProxy.default.logger.log("Meeting:index#setupMediaConnectionListeners --> REMOTE_TRACK_ADDED event received for webrtcMediaConnection: ".concat((0, _stringify.default)(event)));
|
|
703
727
|
if (event.track) {
|
|
704
728
|
var mediaTrack = event.track;
|
|
705
|
-
var remoteStream = new _mediaHelpers.RemoteStream(
|
|
729
|
+
var remoteStream = new _mediaHelpers.RemoteStream(_util5.default.createMediaStream([mediaTrack]));
|
|
706
730
|
|
|
707
731
|
// eslint-disable-next-line @typescript-eslint/no-shadow
|
|
708
732
|
var eventType;
|
|
@@ -931,12 +955,12 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
931
955
|
});
|
|
932
956
|
});
|
|
933
957
|
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "forceSendStatsReport", /*#__PURE__*/function () {
|
|
934
|
-
var
|
|
958
|
+
var _ref4 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(_ref3) {
|
|
935
959
|
var callFrom, LOG_HEADER, _this$mediaProperties, _this$mediaProperties2;
|
|
936
960
|
return _regenerator.default.wrap(function _callee$(_context) {
|
|
937
961
|
while (1) switch (_context.prev = _context.next) {
|
|
938
962
|
case 0:
|
|
939
|
-
callFrom =
|
|
963
|
+
callFrom = _ref3.callFrom;
|
|
940
964
|
LOG_HEADER = "Meeting:index#forceSendStatsReport --> called from ".concat(callFrom, " : ");
|
|
941
965
|
_context.prev = 2;
|
|
942
966
|
_context.next = 5;
|
|
@@ -956,7 +980,7 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
956
980
|
}, _callee, null, [[2, 8]]);
|
|
957
981
|
}));
|
|
958
982
|
return function (_x) {
|
|
959
|
-
return
|
|
983
|
+
return _ref4.apply(this, arguments);
|
|
960
984
|
};
|
|
961
985
|
}());
|
|
962
986
|
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "mediaNegotiatedEvent", function () {
|
|
@@ -1865,12 +1889,12 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
1865
1889
|
}, {
|
|
1866
1890
|
key: "fetchMeetingInfoInternal",
|
|
1867
1891
|
value: function () {
|
|
1868
|
-
var _fetchMeetingInfoInternal = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4(
|
|
1869
|
-
var destination, destinationType,
|
|
1892
|
+
var _fetchMeetingInfoInternal = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4(_ref7) {
|
|
1893
|
+
var destination, destinationType, _ref7$password, password, _ref7$captchaCode, captchaCode, _ref7$extraParams, extraParams, _ref7$sendCAevents, sendCAevents, captchaInfo, info, _err$body, _err$body2;
|
|
1870
1894
|
return _regenerator.default.wrap(function _callee4$(_context4) {
|
|
1871
1895
|
while (1) switch (_context4.prev = _context4.next) {
|
|
1872
1896
|
case 0:
|
|
1873
|
-
destination =
|
|
1897
|
+
destination = _ref7.destination, destinationType = _ref7.destinationType, _ref7$password = _ref7.password, password = _ref7$password === void 0 ? null : _ref7$password, _ref7$captchaCode = _ref7.captchaCode, captchaCode = _ref7$captchaCode === void 0 ? null : _ref7$captchaCode, _ref7$extraParams = _ref7.extraParams, extraParams = _ref7$extraParams === void 0 ? {} : _ref7$extraParams, _ref7$sendCAevents = _ref7.sendCAevents, sendCAevents = _ref7$sendCAevents === void 0 ? false : _ref7$sendCAevents;
|
|
1874
1898
|
_context4.prev = 1;
|
|
1875
1899
|
captchaInfo = captchaCode ? {
|
|
1876
1900
|
code: captchaCode,
|
|
@@ -2052,12 +2076,12 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
2052
2076
|
}, {
|
|
2053
2077
|
key: "fetchMeetingInfo",
|
|
2054
2078
|
value: function () {
|
|
2055
|
-
var _fetchMeetingInfo = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee6(
|
|
2056
|
-
var
|
|
2079
|
+
var _fetchMeetingInfo = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee6(_ref8) {
|
|
2080
|
+
var _ref8$password, password, _ref8$captchaCode, captchaCode, _ref8$extraParams, extraParams, _ref8$sendCAevents, sendCAevents;
|
|
2057
2081
|
return _regenerator.default.wrap(function _callee6$(_context6) {
|
|
2058
2082
|
while (1) switch (_context6.prev = _context6.next) {
|
|
2059
2083
|
case 0:
|
|
2060
|
-
|
|
2084
|
+
_ref8$password = _ref8.password, password = _ref8$password === void 0 ? null : _ref8$password, _ref8$captchaCode = _ref8.captchaCode, captchaCode = _ref8$captchaCode === void 0 ? null : _ref8$captchaCode, _ref8$extraParams = _ref8.extraParams, extraParams = _ref8$extraParams === void 0 ? {} : _ref8$extraParams, _ref8$sendCAevents = _ref8.sendCAevents, sendCAevents = _ref8$sendCAevents === void 0 ? false : _ref8$sendCAevents;
|
|
2061
2085
|
// when fetch meeting info is called directly by the client, we want to clear out the random timer for sdk to do it
|
|
2062
2086
|
if (this.fetchMeetingInfoTimeoutId) {
|
|
2063
2087
|
clearTimeout(this.fetchMeetingInfoTimeoutId);
|
|
@@ -2537,10 +2561,10 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
2537
2561
|
key: "setupLocusControlsListener",
|
|
2538
2562
|
value: function setupLocusControlsListener() {
|
|
2539
2563
|
var _this13 = this;
|
|
2540
|
-
this.locusInfo.on(_constants.LOCUSINFO.EVENTS.CONTROLS_RECORDING_UPDATED, function (
|
|
2541
|
-
var state =
|
|
2542
|
-
modifiedBy =
|
|
2543
|
-
lastModified =
|
|
2564
|
+
this.locusInfo.on(_constants.LOCUSINFO.EVENTS.CONTROLS_RECORDING_UPDATED, function (_ref9) {
|
|
2565
|
+
var state = _ref9.state,
|
|
2566
|
+
modifiedBy = _ref9.modifiedBy,
|
|
2567
|
+
lastModified = _ref9.lastModified;
|
|
2544
2568
|
var event;
|
|
2545
2569
|
switch (state) {
|
|
2546
2570
|
case _constants.RECORDING_STATE.RECORDING:
|
|
@@ -2571,8 +2595,8 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
2571
2595
|
function: 'setupLocusControlsListener'
|
|
2572
2596
|
}, event, _this13.recording);
|
|
2573
2597
|
});
|
|
2574
|
-
this.locusInfo.on(_constants.LOCUSINFO.EVENTS.CONTROLS_MEETING_CONTAINER_UPDATED, function (
|
|
2575
|
-
var meetingContainerUrl =
|
|
2598
|
+
this.locusInfo.on(_constants.LOCUSINFO.EVENTS.CONTROLS_MEETING_CONTAINER_UPDATED, function (_ref10) {
|
|
2599
|
+
var meetingContainerUrl = _ref10.meetingContainerUrl;
|
|
2576
2600
|
_triggerProxy.default.trigger(_this13, {
|
|
2577
2601
|
file: 'meeting/index',
|
|
2578
2602
|
function: 'setupLocusControlsListener'
|
|
@@ -2580,9 +2604,9 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
2580
2604
|
meetingContainerUrl: meetingContainerUrl
|
|
2581
2605
|
});
|
|
2582
2606
|
});
|
|
2583
|
-
this.locusInfo.on(_constants.LOCUSINFO.EVENTS.CONTROLS_MEETING_TRANSCRIBE_UPDATED, function (
|
|
2584
|
-
var caption =
|
|
2585
|
-
transcribing =
|
|
2607
|
+
this.locusInfo.on(_constants.LOCUSINFO.EVENTS.CONTROLS_MEETING_TRANSCRIBE_UPDATED, function (_ref11) {
|
|
2608
|
+
var caption = _ref11.caption,
|
|
2609
|
+
transcribing = _ref11.transcribing;
|
|
2586
2610
|
// @ts-ignore - config coming from registerPlugin
|
|
2587
2611
|
if (transcribing && _this13.transcription && _this13.config.receiveTranscription) {
|
|
2588
2612
|
_this13.receiveTranscription();
|
|
@@ -2596,24 +2620,24 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
2596
2620
|
});
|
|
2597
2621
|
}
|
|
2598
2622
|
});
|
|
2599
|
-
this.locusInfo.on(_constants.LOCUSINFO.EVENTS.CONTROLS_MEETING_BREAKOUT_UPDATED, function (
|
|
2600
|
-
var breakout =
|
|
2623
|
+
this.locusInfo.on(_constants.LOCUSINFO.EVENTS.CONTROLS_MEETING_BREAKOUT_UPDATED, function (_ref12) {
|
|
2624
|
+
var breakout = _ref12.breakout;
|
|
2601
2625
|
_this13.breakouts.updateBreakout(breakout);
|
|
2602
2626
|
_triggerProxy.default.trigger(_this13, {
|
|
2603
2627
|
file: 'meeting/index',
|
|
2604
2628
|
function: 'setupLocusControlsListener'
|
|
2605
2629
|
}, _constants.EVENT_TRIGGERS.MEETING_BREAKOUTS_UPDATE);
|
|
2606
2630
|
});
|
|
2607
|
-
this.locusInfo.on(_constants.LOCUSINFO.EVENTS.CONTROLS_MEETING_INTERPRETATION_UPDATED, function (
|
|
2608
|
-
var interpretation =
|
|
2631
|
+
this.locusInfo.on(_constants.LOCUSINFO.EVENTS.CONTROLS_MEETING_INTERPRETATION_UPDATED, function (_ref13) {
|
|
2632
|
+
var interpretation = _ref13.interpretation;
|
|
2609
2633
|
_this13.simultaneousInterpretation.updateInterpretation(interpretation);
|
|
2610
2634
|
_triggerProxy.default.trigger(_this13, {
|
|
2611
2635
|
file: 'meeting/index',
|
|
2612
2636
|
function: 'setupLocusControlsListener'
|
|
2613
2637
|
}, _constants.EVENT_TRIGGERS.MEETING_INTERPRETATION_UPDATE);
|
|
2614
2638
|
});
|
|
2615
|
-
this.locusInfo.on(_constants.LOCUSINFO.EVENTS.CONTROLS_JOIN_BREAKOUT_FROM_MAIN, function (
|
|
2616
|
-
var mainLocusUrl =
|
|
2639
|
+
this.locusInfo.on(_constants.LOCUSINFO.EVENTS.CONTROLS_JOIN_BREAKOUT_FROM_MAIN, function (_ref14) {
|
|
2640
|
+
var mainLocusUrl = _ref14.mainLocusUrl;
|
|
2617
2641
|
_this13.meetingRequest.getLocusStatusByUrl(mainLocusUrl).catch(function (error) {
|
|
2618
2642
|
// clear main session cache when attendee join into breakout and forbidden to get locus from main locus url,
|
|
2619
2643
|
// which means main session is not active for the attendee
|
|
@@ -2622,8 +2646,8 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
2622
2646
|
}
|
|
2623
2647
|
});
|
|
2624
2648
|
});
|
|
2625
|
-
this.locusInfo.on(_constants.LOCUSINFO.EVENTS.CONTROLS_ENTRY_EXIT_TONE_UPDATED, function (
|
|
2626
|
-
var entryExitTone =
|
|
2649
|
+
this.locusInfo.on(_constants.LOCUSINFO.EVENTS.CONTROLS_ENTRY_EXIT_TONE_UPDATED, function (_ref15) {
|
|
2650
|
+
var entryExitTone = _ref15.entryExitTone;
|
|
2627
2651
|
_triggerProxy.default.trigger(_this13, {
|
|
2628
2652
|
file: 'meeting/index',
|
|
2629
2653
|
function: 'setupLocusControlsListener'
|
|
@@ -2631,8 +2655,8 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
2631
2655
|
entryExitTone: entryExitTone
|
|
2632
2656
|
});
|
|
2633
2657
|
});
|
|
2634
|
-
this.locusInfo.on(_constants.LOCUSINFO.EVENTS.CONTROLS_MUTE_ON_ENTRY_CHANGED, function (
|
|
2635
|
-
var state =
|
|
2658
|
+
this.locusInfo.on(_constants.LOCUSINFO.EVENTS.CONTROLS_MUTE_ON_ENTRY_CHANGED, function (_ref16) {
|
|
2659
|
+
var state = _ref16.state;
|
|
2636
2660
|
_triggerProxy.default.trigger(_this13, {
|
|
2637
2661
|
file: 'meeting/index',
|
|
2638
2662
|
function: 'setupLocusControlsListener'
|
|
@@ -2640,8 +2664,8 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
2640
2664
|
state: state
|
|
2641
2665
|
});
|
|
2642
2666
|
});
|
|
2643
|
-
this.locusInfo.on(_constants.LOCUSINFO.EVENTS.CONTROLS_SHARE_CONTROL_CHANGED, function (
|
|
2644
|
-
var state =
|
|
2667
|
+
this.locusInfo.on(_constants.LOCUSINFO.EVENTS.CONTROLS_SHARE_CONTROL_CHANGED, function (_ref17) {
|
|
2668
|
+
var state = _ref17.state;
|
|
2645
2669
|
_triggerProxy.default.trigger(_this13, {
|
|
2646
2670
|
file: 'meeting/index',
|
|
2647
2671
|
function: 'setupLocusControlsListener'
|
|
@@ -2649,8 +2673,8 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
2649
2673
|
state: state
|
|
2650
2674
|
});
|
|
2651
2675
|
});
|
|
2652
|
-
this.locusInfo.on(_constants.LOCUSINFO.EVENTS.CONTROLS_DISALLOW_UNMUTE_CHANGED, function (
|
|
2653
|
-
var state =
|
|
2676
|
+
this.locusInfo.on(_constants.LOCUSINFO.EVENTS.CONTROLS_DISALLOW_UNMUTE_CHANGED, function (_ref18) {
|
|
2677
|
+
var state = _ref18.state;
|
|
2654
2678
|
_triggerProxy.default.trigger(_this13, {
|
|
2655
2679
|
file: 'meeting/index',
|
|
2656
2680
|
function: 'setupLocusControlsListener'
|
|
@@ -2658,8 +2682,8 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
2658
2682
|
state: state
|
|
2659
2683
|
});
|
|
2660
2684
|
});
|
|
2661
|
-
this.locusInfo.on(_constants.LOCUSINFO.EVENTS.CONTROLS_REACTIONS_CHANGED, function (
|
|
2662
|
-
var state =
|
|
2685
|
+
this.locusInfo.on(_constants.LOCUSINFO.EVENTS.CONTROLS_REACTIONS_CHANGED, function (_ref19) {
|
|
2686
|
+
var state = _ref19.state;
|
|
2663
2687
|
_triggerProxy.default.trigger(_this13, {
|
|
2664
2688
|
file: 'meeting/index',
|
|
2665
2689
|
function: 'setupLocusControlsListener'
|
|
@@ -2667,8 +2691,8 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
2667
2691
|
state: state
|
|
2668
2692
|
});
|
|
2669
2693
|
});
|
|
2670
|
-
this.locusInfo.on(_constants.LOCUSINFO.EVENTS.CONTROLS_VIEW_THE_PARTICIPANTS_LIST_CHANGED, function (
|
|
2671
|
-
var state =
|
|
2694
|
+
this.locusInfo.on(_constants.LOCUSINFO.EVENTS.CONTROLS_VIEW_THE_PARTICIPANTS_LIST_CHANGED, function (_ref20) {
|
|
2695
|
+
var state = _ref20.state;
|
|
2672
2696
|
_triggerProxy.default.trigger(_this13, {
|
|
2673
2697
|
file: 'meeting/index',
|
|
2674
2698
|
function: 'setupLocusControlsListener'
|
|
@@ -2676,8 +2700,8 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
2676
2700
|
state: state
|
|
2677
2701
|
});
|
|
2678
2702
|
});
|
|
2679
|
-
this.locusInfo.on(_constants.LOCUSINFO.EVENTS.CONTROLS_RAISE_HAND_CHANGED, function (
|
|
2680
|
-
var state =
|
|
2703
|
+
this.locusInfo.on(_constants.LOCUSINFO.EVENTS.CONTROLS_RAISE_HAND_CHANGED, function (_ref21) {
|
|
2704
|
+
var state = _ref21.state;
|
|
2681
2705
|
_triggerProxy.default.trigger(_this13, {
|
|
2682
2706
|
file: 'meeting/index',
|
|
2683
2707
|
function: 'setupLocusControlsListener'
|
|
@@ -2685,8 +2709,8 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
2685
2709
|
state: state
|
|
2686
2710
|
});
|
|
2687
2711
|
});
|
|
2688
|
-
this.locusInfo.on(_constants.LOCUSINFO.EVENTS.CONTROLS_VIDEO_CHANGED, function (
|
|
2689
|
-
var state =
|
|
2712
|
+
this.locusInfo.on(_constants.LOCUSINFO.EVENTS.CONTROLS_VIDEO_CHANGED, function (_ref22) {
|
|
2713
|
+
var state = _ref22.state;
|
|
2690
2714
|
_triggerProxy.default.trigger(_this13, {
|
|
2691
2715
|
file: 'meeting/index',
|
|
2692
2716
|
function: 'setupLocusControlsListener'
|
|
@@ -2732,7 +2756,7 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
2732
2756
|
var _this14 = this;
|
|
2733
2757
|
// Will get triggered on local and remote share
|
|
2734
2758
|
this.locusInfo.on(_constants.EVENTS.LOCUS_INFO_UPDATE_MEDIA_SHARES, /*#__PURE__*/function () {
|
|
2735
|
-
var
|
|
2759
|
+
var _ref23 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee7(payload) {
|
|
2736
2760
|
var _payload$previous, _payload$previous2;
|
|
2737
2761
|
var _payload$current, contentShare, whiteboardShare, previousContentShare, previousWhiteboardShare, newShareStatus, oldShareStatus, sendStartedSharingRemote, _this14$mediaProperti;
|
|
2738
2762
|
return _regenerator.default.wrap(function _callee7$(_context7) {
|
|
@@ -2924,7 +2948,7 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
2924
2948
|
}, _callee7, null, [[26,, 30, 33]]);
|
|
2925
2949
|
}));
|
|
2926
2950
|
return function (_x5) {
|
|
2927
|
-
return
|
|
2951
|
+
return _ref23.apply(this, arguments);
|
|
2928
2952
|
};
|
|
2929
2953
|
}());
|
|
2930
2954
|
}
|
|
@@ -3259,7 +3283,7 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
3259
3283
|
}
|
|
3260
3284
|
});
|
|
3261
3285
|
this.locusInfo.on(_constants.EVENTS.DESTROY_MEETING, /*#__PURE__*/function () {
|
|
3262
|
-
var
|
|
3286
|
+
var _ref24 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee8(payload) {
|
|
3263
3287
|
return _regenerator.default.wrap(function _callee8$(_context8) {
|
|
3264
3288
|
while (1) switch (_context8.prev = _context8.next) {
|
|
3265
3289
|
case 0:
|
|
@@ -3319,7 +3343,7 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
3319
3343
|
}, _callee8, null, [[8, 14]]);
|
|
3320
3344
|
}));
|
|
3321
3345
|
return function (_x6) {
|
|
3322
|
-
return
|
|
3346
|
+
return _ref24.apply(this, arguments);
|
|
3323
3347
|
};
|
|
3324
3348
|
}());
|
|
3325
3349
|
}
|
|
@@ -3547,19 +3571,19 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
3547
3571
|
var _this$meetingInfo2, _this$meetingInfo3, _this$meetingInfo4, _this$meetingInfo4$vi, _this$meetingInfo5, _this$meetingInfo5$vi;
|
|
3548
3572
|
var changed = false;
|
|
3549
3573
|
changed = this.inMeetingActions.set({
|
|
3550
|
-
canUseVoip: ((_this$meetingInfo2 = this.meetingInfo) === null || _this$meetingInfo2 === void 0 ? void 0 : _this$meetingInfo2.supportVoIP) === true &&
|
|
3574
|
+
canUseVoip: ((_this$meetingInfo2 = this.meetingInfo) === null || _this$meetingInfo2 === void 0 ? void 0 : _this$meetingInfo2.supportVoIP) === true && _util4.default.hasPolicies({
|
|
3551
3575
|
requiredPolicies: [_constants.SELF_POLICY.SUPPORT_VOIP],
|
|
3552
3576
|
policies: this.selfUserPolicies
|
|
3553
3577
|
}) || !this.arePolicyRestrictionsSupported(),
|
|
3554
|
-
canDoVideo:
|
|
3578
|
+
canDoVideo: _util4.default.hasPolicies({
|
|
3555
3579
|
requiredPolicies: [_constants.SELF_POLICY.SUPPORT_VIDEO],
|
|
3556
3580
|
policies: this.selfUserPolicies
|
|
3557
3581
|
}) && !!((_this$meetingInfo3 = this.meetingInfo) !== null && _this$meetingInfo3 !== void 0 && _this$meetingInfo3.video) || !this.arePolicyRestrictionsSupported(),
|
|
3558
|
-
supportHDV:
|
|
3582
|
+
supportHDV: _util4.default.hasPolicies({
|
|
3559
3583
|
requiredPolicies: [_constants.SELF_POLICY.SUPPORT_HDV],
|
|
3560
3584
|
policies: this.selfUserPolicies
|
|
3561
3585
|
}) && ((_this$meetingInfo4 = this.meetingInfo) === null || _this$meetingInfo4 === void 0 ? void 0 : (_this$meetingInfo4$vi = _this$meetingInfo4.video) === null || _this$meetingInfo4$vi === void 0 ? void 0 : _this$meetingInfo4$vi.supportHDV) || !this.arePolicyRestrictionsSupported(),
|
|
3562
|
-
supportHQV:
|
|
3586
|
+
supportHQV: _util4.default.hasPolicies({
|
|
3563
3587
|
requiredPolicies: [_constants.SELF_POLICY.SUPPORT_HQV],
|
|
3564
3588
|
policies: this.selfUserPolicies
|
|
3565
3589
|
}) && ((_this$meetingInfo5 = this.meetingInfo) === null || _this$meetingInfo5 === void 0 ? void 0 : (_this$meetingInfo5$vi = _this$meetingInfo5.video) === null || _this$meetingInfo5$vi === void 0 ? void 0 : _this$meetingInfo5$vi.supportHQV) || !this.arePolicyRestrictionsSupported()
|
|
@@ -3571,16 +3595,16 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
3571
3595
|
canLock: _util.default.canUserLock(this.userDisplayHints),
|
|
3572
3596
|
canUnlock: _util.default.canUserUnlock(this.userDisplayHints),
|
|
3573
3597
|
canShareWhiteBoard: _util.default.canShareWhiteBoard(this.userDisplayHints),
|
|
3574
|
-
canSetDisallowUnmute:
|
|
3575
|
-
canUnsetDisallowUnmute:
|
|
3576
|
-
canSetMuteOnEntry:
|
|
3577
|
-
canUnsetMuteOnEntry:
|
|
3578
|
-
canSetMuted:
|
|
3579
|
-
canUnsetMuted:
|
|
3580
|
-
canStartRecording:
|
|
3581
|
-
canStopRecording:
|
|
3582
|
-
canPauseRecording:
|
|
3583
|
-
canResumeRecording:
|
|
3598
|
+
canSetDisallowUnmute: _util4.default.canSetDisallowUnmute(this.userDisplayHints),
|
|
3599
|
+
canUnsetDisallowUnmute: _util4.default.canUnsetDisallowUnmute(this.userDisplayHints),
|
|
3600
|
+
canSetMuteOnEntry: _util4.default.canSetMuteOnEntry(this.userDisplayHints),
|
|
3601
|
+
canUnsetMuteOnEntry: _util4.default.canUnsetMuteOnEntry(this.userDisplayHints),
|
|
3602
|
+
canSetMuted: _util4.default.canSetMuted(this.userDisplayHints),
|
|
3603
|
+
canUnsetMuted: _util4.default.canUnsetMuted(this.userDisplayHints),
|
|
3604
|
+
canStartRecording: _util3.default.canUserStart(this.userDisplayHints, this.selfUserPolicies),
|
|
3605
|
+
canStopRecording: _util3.default.canUserStop(this.userDisplayHints, this.selfUserPolicies),
|
|
3606
|
+
canPauseRecording: _util3.default.canUserPause(this.userDisplayHints, this.selfUserPolicies),
|
|
3607
|
+
canResumeRecording: _util3.default.canUserResume(this.userDisplayHints, this.selfUserPolicies),
|
|
3584
3608
|
canRaiseHand: _util.default.canUserRaiseHand(this.userDisplayHints),
|
|
3585
3609
|
canLowerAllHands: _util.default.canUserLowerAllHands(this.userDisplayHints),
|
|
3586
3610
|
canLowerSomeoneElsesHand: _util.default.canUserLowerSomeoneElsesHand(this.userDisplayHints),
|
|
@@ -3603,111 +3627,111 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
3603
3627
|
canUserAskForHelp: _util.default.canUserAskForHelp(this.userDisplayHints),
|
|
3604
3628
|
canUserRenameSelfAndObserved: _util.default.canUserRenameSelfAndObserved(this.userDisplayHints),
|
|
3605
3629
|
canUserRenameOthers: _util.default.canUserRenameOthers(this.userDisplayHints),
|
|
3606
|
-
canMuteAll:
|
|
3630
|
+
canMuteAll: _util4.default.hasHints({
|
|
3607
3631
|
requiredHints: [_constants.DISPLAY_HINTS.MUTE_ALL],
|
|
3608
3632
|
displayHints: this.userDisplayHints
|
|
3609
3633
|
}),
|
|
3610
|
-
canUnmuteAll:
|
|
3634
|
+
canUnmuteAll: _util4.default.hasHints({
|
|
3611
3635
|
requiredHints: [_constants.DISPLAY_HINTS.UNMUTE_ALL],
|
|
3612
3636
|
displayHints: this.userDisplayHints
|
|
3613
3637
|
}),
|
|
3614
|
-
canEnableHardMute:
|
|
3638
|
+
canEnableHardMute: _util4.default.hasHints({
|
|
3615
3639
|
requiredHints: [_constants.DISPLAY_HINTS.ENABLE_HARD_MUTE],
|
|
3616
3640
|
displayHints: this.userDisplayHints
|
|
3617
3641
|
}),
|
|
3618
|
-
canDisableHardMute:
|
|
3642
|
+
canDisableHardMute: _util4.default.hasHints({
|
|
3619
3643
|
requiredHints: [_constants.DISPLAY_HINTS.DISABLE_HARD_MUTE],
|
|
3620
3644
|
displayHints: this.userDisplayHints
|
|
3621
3645
|
}),
|
|
3622
|
-
canEnableMuteOnEntry:
|
|
3646
|
+
canEnableMuteOnEntry: _util4.default.hasHints({
|
|
3623
3647
|
requiredHints: [_constants.DISPLAY_HINTS.ENABLE_MUTE_ON_ENTRY],
|
|
3624
3648
|
displayHints: this.userDisplayHints
|
|
3625
3649
|
}),
|
|
3626
|
-
canDisableMuteOnEntry:
|
|
3650
|
+
canDisableMuteOnEntry: _util4.default.hasHints({
|
|
3627
3651
|
requiredHints: [_constants.DISPLAY_HINTS.DISABLE_MUTE_ON_ENTRY],
|
|
3628
3652
|
displayHints: this.userDisplayHints
|
|
3629
3653
|
}),
|
|
3630
|
-
canEnableReactions:
|
|
3654
|
+
canEnableReactions: _util4.default.hasHints({
|
|
3631
3655
|
requiredHints: [_constants.DISPLAY_HINTS.ENABLE_REACTIONS],
|
|
3632
3656
|
displayHints: this.userDisplayHints
|
|
3633
3657
|
}),
|
|
3634
|
-
canDisableReactions:
|
|
3658
|
+
canDisableReactions: _util4.default.hasHints({
|
|
3635
3659
|
requiredHints: [_constants.DISPLAY_HINTS.DISABLE_REACTIONS],
|
|
3636
3660
|
displayHints: this.userDisplayHints
|
|
3637
3661
|
}),
|
|
3638
|
-
canEnableReactionDisplayNames:
|
|
3662
|
+
canEnableReactionDisplayNames: _util4.default.hasHints({
|
|
3639
3663
|
requiredHints: [_constants.DISPLAY_HINTS.ENABLE_SHOW_DISPLAY_NAME],
|
|
3640
3664
|
displayHints: this.userDisplayHints
|
|
3641
3665
|
}),
|
|
3642
|
-
canDisableReactionDisplayNames:
|
|
3666
|
+
canDisableReactionDisplayNames: _util4.default.hasHints({
|
|
3643
3667
|
requiredHints: [_constants.DISPLAY_HINTS.DISABLE_SHOW_DISPLAY_NAME],
|
|
3644
3668
|
displayHints: this.userDisplayHints
|
|
3645
3669
|
}),
|
|
3646
|
-
canUpdateShareControl:
|
|
3670
|
+
canUpdateShareControl: _util4.default.hasHints({
|
|
3647
3671
|
requiredHints: [_constants.DISPLAY_HINTS.SHARE_CONTROL],
|
|
3648
3672
|
displayHints: this.userDisplayHints
|
|
3649
3673
|
}),
|
|
3650
|
-
canEnableViewTheParticipantsList:
|
|
3674
|
+
canEnableViewTheParticipantsList: _util4.default.hasHints({
|
|
3651
3675
|
requiredHints: [_constants.DISPLAY_HINTS.ENABLE_VIEW_THE_PARTICIPANT_LIST],
|
|
3652
3676
|
displayHints: this.userDisplayHints
|
|
3653
3677
|
}),
|
|
3654
|
-
canDisableViewTheParticipantsList:
|
|
3678
|
+
canDisableViewTheParticipantsList: _util4.default.hasHints({
|
|
3655
3679
|
requiredHints: [_constants.DISPLAY_HINTS.DISABLE_VIEW_THE_PARTICIPANT_LIST],
|
|
3656
3680
|
displayHints: this.userDisplayHints
|
|
3657
3681
|
}),
|
|
3658
|
-
canEnableRaiseHand:
|
|
3682
|
+
canEnableRaiseHand: _util4.default.hasHints({
|
|
3659
3683
|
requiredHints: [_constants.DISPLAY_HINTS.ENABLE_RAISE_HAND],
|
|
3660
3684
|
displayHints: this.userDisplayHints
|
|
3661
3685
|
}),
|
|
3662
|
-
canDisableRaiseHand:
|
|
3686
|
+
canDisableRaiseHand: _util4.default.hasHints({
|
|
3663
3687
|
requiredHints: [_constants.DISPLAY_HINTS.DISABLE_RAISE_HAND],
|
|
3664
3688
|
displayHints: this.userDisplayHints
|
|
3665
3689
|
}),
|
|
3666
|
-
canEnableVideo:
|
|
3690
|
+
canEnableVideo: _util4.default.hasHints({
|
|
3667
3691
|
requiredHints: [_constants.DISPLAY_HINTS.ENABLE_VIDEO],
|
|
3668
3692
|
displayHints: this.userDisplayHints
|
|
3669
3693
|
}),
|
|
3670
|
-
canDisableVideo:
|
|
3694
|
+
canDisableVideo: _util4.default.hasHints({
|
|
3671
3695
|
requiredHints: [_constants.DISPLAY_HINTS.DISABLE_VIDEO],
|
|
3672
3696
|
displayHints: this.userDisplayHints
|
|
3673
3697
|
}),
|
|
3674
|
-
canShareFile:
|
|
3698
|
+
canShareFile: _util4.default.hasHints({
|
|
3675
3699
|
requiredHints: [_constants.DISPLAY_HINTS.SHARE_FILE],
|
|
3676
3700
|
displayHints: this.userDisplayHints
|
|
3677
|
-
}) &&
|
|
3701
|
+
}) && _util4.default.hasPolicies({
|
|
3678
3702
|
requiredPolicies: [_constants.SELF_POLICY.SUPPORT_FILE_SHARE],
|
|
3679
3703
|
policies: this.selfUserPolicies
|
|
3680
3704
|
}) || !this.arePolicyRestrictionsSupported,
|
|
3681
|
-
canTransferFile:
|
|
3705
|
+
canTransferFile: _util4.default.hasPolicies({
|
|
3682
3706
|
requiredPolicies: [_constants.SELF_POLICY.SUPPORT_FILE_TRANSFER],
|
|
3683
3707
|
policies: this.selfUserPolicies
|
|
3684
3708
|
}),
|
|
3685
|
-
canShareApplication:
|
|
3709
|
+
canShareApplication: _util4.default.hasHints({
|
|
3686
3710
|
requiredHints: [_constants.DISPLAY_HINTS.SHARE_APPLICATION],
|
|
3687
3711
|
displayHints: this.userDisplayHints
|
|
3688
|
-
}) &&
|
|
3712
|
+
}) && _util4.default.hasPolicies({
|
|
3689
3713
|
requiredPolicies: [_constants.SELF_POLICY.SUPPORT_APP_SHARE],
|
|
3690
3714
|
policies: this.selfUserPolicies
|
|
3691
3715
|
}) || !this.arePolicyRestrictionsSupported(),
|
|
3692
|
-
canShareCamera:
|
|
3716
|
+
canShareCamera: _util4.default.hasHints({
|
|
3693
3717
|
requiredHints: [_constants.DISPLAY_HINTS.SHARE_CAMERA],
|
|
3694
3718
|
displayHints: this.userDisplayHints
|
|
3695
|
-
}) &&
|
|
3719
|
+
}) && _util4.default.hasPolicies({
|
|
3696
3720
|
requiredPolicies: [_constants.SELF_POLICY.SUPPORT_CAMERA_SHARE],
|
|
3697
3721
|
policies: this.selfUserPolicies
|
|
3698
3722
|
}),
|
|
3699
|
-
canShareDesktop:
|
|
3723
|
+
canShareDesktop: _util4.default.hasHints({
|
|
3700
3724
|
requiredHints: [_constants.DISPLAY_HINTS.SHARE_DESKTOP],
|
|
3701
3725
|
displayHints: this.userDisplayHints
|
|
3702
|
-
}) &&
|
|
3726
|
+
}) && _util4.default.hasPolicies({
|
|
3703
3727
|
requiredPolicies: [_constants.SELF_POLICY.SUPPORT_DESKTOP_SHARE],
|
|
3704
3728
|
policies: this.selfUserPolicies
|
|
3705
3729
|
}) || !this.arePolicyRestrictionsSupported(),
|
|
3706
|
-
canShareContent:
|
|
3730
|
+
canShareContent: _util4.default.hasHints({
|
|
3707
3731
|
requiredHints: [_constants.DISPLAY_HINTS.SHARE_CONTENT],
|
|
3708
3732
|
displayHints: this.userDisplayHints
|
|
3709
3733
|
}) || !this.arePolicyRestrictionsSupported(),
|
|
3710
|
-
canAnnotate:
|
|
3734
|
+
canAnnotate: _util4.default.hasPolicies({
|
|
3711
3735
|
requiredPolicies: [_constants.SELF_POLICY.SUPPORT_ANNOTATION],
|
|
3712
3736
|
policies: this.selfUserPolicies
|
|
3713
3737
|
})
|