@webex/plugin-meetings 3.0.0-beta.279 → 3.0.0-beta.280
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/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.280"
|
|
1045
1045
|
});
|
|
1046
1046
|
var _default = Breakouts;
|
|
1047
1047
|
exports.default = _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webex/plugin-meetings",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.280",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Cisco EULA (https://www.cisco.com/c/en/us/products/end-user-license-agreement.html)",
|
|
6
6
|
"contributors": [
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"build": "yarn run -T tsc --declaration true --declarationDir ./dist/types"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@webex/plugin-meetings": "3.0.0-beta.
|
|
36
|
-
"@webex/test-helper-chai": "3.0.0-beta.
|
|
37
|
-
"@webex/test-helper-mocha": "3.0.0-beta.
|
|
38
|
-
"@webex/test-helper-mock-webex": "3.0.0-beta.
|
|
39
|
-
"@webex/test-helper-retry": "3.0.0-beta.
|
|
40
|
-
"@webex/test-helper-test-users": "3.0.0-beta.
|
|
35
|
+
"@webex/plugin-meetings": "3.0.0-beta.280",
|
|
36
|
+
"@webex/test-helper-chai": "3.0.0-beta.280",
|
|
37
|
+
"@webex/test-helper-mocha": "3.0.0-beta.280",
|
|
38
|
+
"@webex/test-helper-mock-webex": "3.0.0-beta.280",
|
|
39
|
+
"@webex/test-helper-retry": "3.0.0-beta.280",
|
|
40
|
+
"@webex/test-helper-test-users": "3.0.0-beta.280",
|
|
41
41
|
"chai": "^4.3.4",
|
|
42
42
|
"chai-as-promised": "^7.1.1",
|
|
43
43
|
"jsdom-global": "3.0.2",
|
|
@@ -46,19 +46,19 @@
|
|
|
46
46
|
"typescript": "^4.7.4"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@webex/common": "3.0.0-beta.
|
|
49
|
+
"@webex/common": "3.0.0-beta.280",
|
|
50
50
|
"@webex/internal-media-core": "2.0.6",
|
|
51
|
-
"@webex/internal-plugin-conversation": "3.0.0-beta.
|
|
52
|
-
"@webex/internal-plugin-device": "3.0.0-beta.
|
|
53
|
-
"@webex/internal-plugin-llm": "3.0.0-beta.
|
|
54
|
-
"@webex/internal-plugin-mercury": "3.0.0-beta.
|
|
55
|
-
"@webex/internal-plugin-metrics": "3.0.0-beta.
|
|
56
|
-
"@webex/internal-plugin-support": "3.0.0-beta.
|
|
57
|
-
"@webex/internal-plugin-user": "3.0.0-beta.
|
|
58
|
-
"@webex/media-helpers": "3.0.0-beta.
|
|
59
|
-
"@webex/plugin-people": "3.0.0-beta.
|
|
60
|
-
"@webex/plugin-rooms": "3.0.0-beta.
|
|
61
|
-
"@webex/webex-core": "3.0.0-beta.
|
|
51
|
+
"@webex/internal-plugin-conversation": "3.0.0-beta.280",
|
|
52
|
+
"@webex/internal-plugin-device": "3.0.0-beta.280",
|
|
53
|
+
"@webex/internal-plugin-llm": "3.0.0-beta.280",
|
|
54
|
+
"@webex/internal-plugin-mercury": "3.0.0-beta.280",
|
|
55
|
+
"@webex/internal-plugin-metrics": "3.0.0-beta.280",
|
|
56
|
+
"@webex/internal-plugin-support": "3.0.0-beta.280",
|
|
57
|
+
"@webex/internal-plugin-user": "3.0.0-beta.280",
|
|
58
|
+
"@webex/media-helpers": "3.0.0-beta.280",
|
|
59
|
+
"@webex/plugin-people": "3.0.0-beta.280",
|
|
60
|
+
"@webex/plugin-rooms": "3.0.0-beta.280",
|
|
61
|
+
"@webex/webex-core": "3.0.0-beta.280",
|
|
62
62
|
"ampersand-collection": "^2.0.2",
|
|
63
63
|
"bowser": "^2.11.0",
|
|
64
64
|
"btoa": "^1.2.1",
|
|
@@ -44,14 +44,14 @@ const localStreams = {
|
|
|
44
44
|
},
|
|
45
45
|
};
|
|
46
46
|
|
|
47
|
-
|
|
47
|
+
// Updated expectedPublished from a boolean value to an object containing the stream and status properties
|
|
48
48
|
const waitForPublished = (meeting, expectedPublished, description) => {
|
|
49
49
|
return testUtils.waitForEvents([{
|
|
50
50
|
scope: meeting,
|
|
51
51
|
event: EVENT_TRIGGERS.MEETING_STREAM_PUBLISH_STATE_CHANGED,
|
|
52
52
|
match: (event) => {
|
|
53
53
|
console.log(`${description} is now ${event.isPublished ? 'published': 'not published'}`);
|
|
54
|
-
return (event.isPublished === expectedPublished);
|
|
54
|
+
return (event.isPublished === expectedPublished.status && event.stream.id === expectedPublished.stream.id) ;
|
|
55
55
|
}
|
|
56
56
|
}]);
|
|
57
57
|
};
|
|
@@ -498,7 +498,7 @@ skipInNode(describe)('plugin-meetings', () => {
|
|
|
498
498
|
|
|
499
499
|
it('alice update Audio', async () => {
|
|
500
500
|
const newMicrophoneStream = await createMicrophoneStream();
|
|
501
|
-
const newStreamPublished = waitForPublished(alice.meeting, true, "Alice AUDIO: new microphone stream");
|
|
501
|
+
const newStreamPublished = waitForPublished(alice.meeting, {stream: newMicrophoneStream, status: true}, "Alice AUDIO: new microphone stream");
|
|
502
502
|
|
|
503
503
|
await testUtils.delayedPromise(
|
|
504
504
|
alice.meeting
|
|
@@ -521,7 +521,7 @@ skipInNode(describe)('plugin-meetings', () => {
|
|
|
521
521
|
|
|
522
522
|
it('alice update video', async () => {
|
|
523
523
|
const newCameraStream = await createCameraStream();
|
|
524
|
-
const newStreamPublished = waitForPublished(alice.meeting, true, "Alice VIDEO: new camera stream");
|
|
524
|
+
const newStreamPublished = waitForPublished(alice.meeting, {stream: newCameraStream, status: true}, "Alice VIDEO: new camera stream");
|
|
525
525
|
|
|
526
526
|
await testUtils.delayedPromise(
|
|
527
527
|
alice.meeting
|
|
@@ -630,7 +630,7 @@ skipInNode(describe)('plugin-meetings', () => {
|
|
|
630
630
|
);
|
|
631
631
|
});
|
|
632
632
|
|
|
633
|
-
const screenShareVideoPublished = waitForPublished(alice.meeting, true, "alice's screen share video stream");
|
|
633
|
+
const screenShareVideoPublished = waitForPublished(alice.meeting, {stream: localStreams.alice.screenShare.video, status: true}, "alice's screen share video stream");
|
|
634
634
|
|
|
635
635
|
await testUtils.delayedPromise(alice.meeting.publishStreams({screenShare: {video: localStreams.alice.screenShare.video}}));
|
|
636
636
|
|
|
@@ -666,8 +666,8 @@ skipInNode(describe)('plugin-meetings', () => {
|
|
|
666
666
|
JSON.stringify(response, testUtils.getCircularReplacer())
|
|
667
667
|
);
|
|
668
668
|
});
|
|
669
|
-
const aliceScreenShareVideoUnpublished = waitForPublished(alice.meeting, false, "alice's screen share video stream");
|
|
670
|
-
const bobScreenShareVideoPublished = waitForPublished(bob.meeting, true, "bob's screen share video stream");
|
|
669
|
+
const aliceScreenShareVideoUnpublished = waitForPublished(alice.meeting, {stream: localStreams.alice.screenShare.video, status: false}, "alice's screen share video stream");
|
|
670
|
+
const bobScreenShareVideoPublished = waitForPublished(bob.meeting, {stream: localStreams.bob.screenShare.video, status: true}, "bob's screen share video stream");
|
|
671
671
|
|
|
672
672
|
await testUtils.delayedPromise(bob.meeting.publishStreams({screenShare: {video: localStreams.bob.screenShare.video}}));
|
|
673
673
|
|
|
@@ -689,7 +689,7 @@ skipInNode(describe)('plugin-meetings', () => {
|
|
|
689
689
|
});
|
|
690
690
|
|
|
691
691
|
it('bob stops sharing', async () => {
|
|
692
|
-
const screenShareVideoUnpublished = waitForPublished(bob.meeting, false, "bob's screen share video stream");
|
|
692
|
+
const screenShareVideoUnpublished = waitForPublished(bob.meeting, {stream: localStreams.bob.screenShare.video, status: false}, "bob's screen share video stream");
|
|
693
693
|
const stoppedSharingLocal = testUtils.waitForEvents([{scope: bob.meeting, event: 'meeting:stoppedSharingLocal'}]);
|
|
694
694
|
const stoppedSharingRemote = testUtils.waitForEvents([{scope: alice.meeting, event: 'meeting:stoppedSharingRemote'}]);
|
|
695
695
|
|
|
@@ -826,7 +826,7 @@ skipInNode(describe)('plugin-meetings', () => {
|
|
|
826
826
|
JSON.stringify(response, testUtils.getCircularReplacer())
|
|
827
827
|
);
|
|
828
828
|
});
|
|
829
|
-
const bobScreenShareVideoPublished = waitForPublished(bob.meeting, true, "bob's screen share video stream");
|
|
829
|
+
const bobScreenShareVideoPublished = waitForPublished(bob.meeting, {stream: localStreams.bob.screenShare.video, status: true}, "bob's screen share video stream");
|
|
830
830
|
|
|
831
831
|
await testUtils.delayedPromise(bob.meeting.publishStreams({screenShare: {video: localStreams.bob.screenShare.video}}));
|
|
832
832
|
|