@webex/plugin-meetings 2.30.1 → 2.31.0
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/constants.js +7 -1
- package/dist/constants.js.map +1 -1
- package/dist/locus-info/controlsUtils.js +9 -4
- package/dist/locus-info/controlsUtils.js.map +1 -1
- package/dist/locus-info/embeddedAppsUtils.js +7 -3
- package/dist/locus-info/embeddedAppsUtils.js.map +1 -1
- package/dist/locus-info/index.js +40 -3
- package/dist/locus-info/index.js.map +1 -1
- package/dist/locus-info/selfUtils.js +13 -1
- package/dist/locus-info/selfUtils.js.map +1 -1
- package/dist/meeting/index.js +38 -12
- package/dist/meeting/index.js.map +1 -1
- package/package.json +17 -17
- package/src/constants.ts +7 -1
- package/src/locus-info/controlsUtils.js +10 -2
- package/src/locus-info/embeddedAppsUtils.js +11 -4
- package/src/locus-info/index.js +211 -135
- package/src/locus-info/selfUtils.js +10 -1
- package/src/meeting/index.js +41 -0
- package/test/unit/spec/locus-info/controlsUtils.js +82 -0
- package/test/unit/spec/locus-info/index.js +498 -291
- package/test/unit/spec/locus-info/selfConstant.js +3 -1
- package/test/unit/spec/locus-info/selfUtils.js +74 -1
- package/test/unit/spec/meetings/index.js +82 -2
package/dist/meeting/index.js
CHANGED
|
@@ -2043,6 +2043,16 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
2043
2043
|
});
|
|
2044
2044
|
}
|
|
2045
2045
|
});
|
|
2046
|
+
this.locusInfo.on(_constants.LOCUSINFO.EVENTS.CONTROLS_ENTRY_EXIT_TONE_UPDATED, function (_ref8) {
|
|
2047
|
+
var entryExitTone = _ref8.entryExitTone;
|
|
2048
|
+
|
|
2049
|
+
_triggerProxy.default.trigger(_this11, {
|
|
2050
|
+
file: 'meeting/index',
|
|
2051
|
+
function: 'setupLocusControlsListener'
|
|
2052
|
+
}, _constants.EVENT_TRIGGERS.MEETING_ENTRY_EXIT_TONE_UPDATE, {
|
|
2053
|
+
entryExitTone: entryExitTone
|
|
2054
|
+
});
|
|
2055
|
+
});
|
|
2046
2056
|
}
|
|
2047
2057
|
/**
|
|
2048
2058
|
* Set up the locus info media shares listener
|
|
@@ -2469,6 +2479,22 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
2469
2479
|
});
|
|
2470
2480
|
}
|
|
2471
2481
|
});
|
|
2482
|
+
this.locusInfo.on(_constants.LOCUSINFO.EVENTS.SELF_CANNOT_VIEW_PARTICIPANT_LIST_CHANGE, function (payload) {
|
|
2483
|
+
_triggerProxy.default.trigger(_this16, {
|
|
2484
|
+
file: 'meeting/index',
|
|
2485
|
+
function: 'setUpLocusInfoSelfListener'
|
|
2486
|
+
}, _constants.EVENT_TRIGGERS.MEETING_SELF_CANNOT_VIEW_PARTICIPANT_LIST, {
|
|
2487
|
+
payload: payload
|
|
2488
|
+
});
|
|
2489
|
+
});
|
|
2490
|
+
this.locusInfo.on(_constants.LOCUSINFO.EVENTS.SELF_IS_SHARING_BLOCKED_CHANGE, function (payload) {
|
|
2491
|
+
_triggerProxy.default.trigger(_this16, {
|
|
2492
|
+
file: 'meeting/index',
|
|
2493
|
+
function: 'setUpLocusInfoSelfListener'
|
|
2494
|
+
}, _constants.EVENT_TRIGGERS.MEETING_SELF_IS_SHARING_BLOCKED, {
|
|
2495
|
+
payload: payload
|
|
2496
|
+
});
|
|
2497
|
+
});
|
|
2472
2498
|
}
|
|
2473
2499
|
/**
|
|
2474
2500
|
* Add LocusInfo nested object listeners (from child to parent)
|
|
@@ -3667,10 +3693,10 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
3667
3693
|
joinOptions = options.joinOptions,
|
|
3668
3694
|
audioVideoOptions = options.audioVideoOptions;
|
|
3669
3695
|
return this.join(joinOptions).then(function (joinResponse) {
|
|
3670
|
-
return _this29.getMediaStreams(mediaSettings, audioVideoOptions).then(function (
|
|
3671
|
-
var
|
|
3672
|
-
localStream =
|
|
3673
|
-
localShare =
|
|
3696
|
+
return _this29.getMediaStreams(mediaSettings, audioVideoOptions).then(function (_ref9) {
|
|
3697
|
+
var _ref10 = (0, _slicedToArray2.default)(_ref9, 2),
|
|
3698
|
+
localStream = _ref10[0],
|
|
3699
|
+
localShare = _ref10[1];
|
|
3674
3700
|
|
|
3675
3701
|
return _this29.addMedia({
|
|
3676
3702
|
mediaSettings: mediaSettings,
|
|
@@ -4074,7 +4100,7 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
4074
4100
|
|
|
4075
4101
|
return join;
|
|
4076
4102
|
}).then( /*#__PURE__*/function () {
|
|
4077
|
-
var
|
|
4103
|
+
var _ref11 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3(join) {
|
|
4078
4104
|
return _regenerator.default.wrap(function _callee3$(_context3) {
|
|
4079
4105
|
while (1) {
|
|
4080
4106
|
switch (_context3.prev = _context3.next) {
|
|
@@ -4119,7 +4145,7 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
4119
4145
|
}));
|
|
4120
4146
|
|
|
4121
4147
|
return function (_x2) {
|
|
4122
|
-
return
|
|
4148
|
+
return _ref11.apply(this, arguments);
|
|
4123
4149
|
};
|
|
4124
4150
|
}()).catch(function (error) {
|
|
4125
4151
|
var _error$error;
|
|
@@ -5763,9 +5789,9 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
5763
5789
|
sendVideo: this.mediaProperties.mediaDirection.sendVideo,
|
|
5764
5790
|
sendShare: this.mediaProperties.mediaDirection.sendShare
|
|
5765
5791
|
};
|
|
5766
|
-
return this.getMediaStreams(mediaDirection, _constants.VIDEO_RESOLUTIONS[level]).then(function (
|
|
5767
|
-
var
|
|
5768
|
-
localStream =
|
|
5792
|
+
return this.getMediaStreams(mediaDirection, _constants.VIDEO_RESOLUTIONS[level]).then(function (_ref13) {
|
|
5793
|
+
var _ref14 = (0, _slicedToArray2.default)(_ref13, 1),
|
|
5794
|
+
localStream = _ref14[0];
|
|
5769
5795
|
|
|
5770
5796
|
return _this52.updateVideo({
|
|
5771
5797
|
sendVideo: true,
|
|
@@ -5981,9 +6007,9 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
5981
6007
|
|
|
5982
6008
|
}, {
|
|
5983
6009
|
key: "handleMediaLogging",
|
|
5984
|
-
value: function handleMediaLogging(
|
|
5985
|
-
var audioTrack =
|
|
5986
|
-
videoTrack =
|
|
6010
|
+
value: function handleMediaLogging(_ref15) {
|
|
6011
|
+
var audioTrack = _ref15.audioTrack,
|
|
6012
|
+
videoTrack = _ref15.videoTrack;
|
|
5987
6013
|
|
|
5988
6014
|
_util.default.handleVideoLogging(videoTrack);
|
|
5989
6015
|
|