@webex/plugin-meetings 3.0.0-beta.179 → 3.0.0-beta.180
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 +2 -0
- package/dist/meeting/index.js.map +1 -1
- package/dist/types/meeting/index.d.ts +1 -0
- package/package.json +19 -19
- package/src/meeting/index.ts +3 -0
- package/test/unit/spec/meeting/index.js +3 -2
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.180",
|
|
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.180",
|
|
36
|
+
"@webex/test-helper-chai": "3.0.0-beta.180",
|
|
37
|
+
"@webex/test-helper-mocha": "3.0.0-beta.180",
|
|
38
|
+
"@webex/test-helper-mock-webex": "3.0.0-beta.180",
|
|
39
|
+
"@webex/test-helper-retry": "3.0.0-beta.180",
|
|
40
|
+
"@webex/test-helper-test-users": "3.0.0-beta.180",
|
|
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.180",
|
|
50
50
|
"@webex/internal-media-core": "1.39.1",
|
|
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.180",
|
|
52
|
+
"@webex/internal-plugin-device": "3.0.0-beta.180",
|
|
53
|
+
"@webex/internal-plugin-llm": "3.0.0-beta.180",
|
|
54
|
+
"@webex/internal-plugin-mercury": "3.0.0-beta.180",
|
|
55
|
+
"@webex/internal-plugin-metrics": "3.0.0-beta.180",
|
|
56
|
+
"@webex/internal-plugin-support": "3.0.0-beta.180",
|
|
57
|
+
"@webex/internal-plugin-user": "3.0.0-beta.180",
|
|
58
|
+
"@webex/media-helpers": "3.0.0-beta.180",
|
|
59
|
+
"@webex/plugin-people": "3.0.0-beta.180",
|
|
60
|
+
"@webex/plugin-rooms": "3.0.0-beta.180",
|
|
61
|
+
"@webex/webex-core": "3.0.0-beta.180",
|
|
62
62
|
"ampersand-collection": "^2.0.2",
|
|
63
63
|
"bowser": "^2.11.0",
|
|
64
64
|
"btoa": "^1.2.1",
|
package/src/meeting/index.ts
CHANGED
|
@@ -550,6 +550,7 @@ export default class Meeting extends StatelessWebexPlugin {
|
|
|
550
550
|
environment: string;
|
|
551
551
|
namespace = MEETINGS;
|
|
552
552
|
annotationInfo: AnnotationInfo;
|
|
553
|
+
allowMediaInLobby: boolean;
|
|
553
554
|
|
|
554
555
|
/**
|
|
555
556
|
* @param {Object} attrs
|
|
@@ -5259,6 +5260,8 @@ export default class Meeting extends StatelessWebexPlugin {
|
|
|
5259
5260
|
allowMediaInLobby,
|
|
5260
5261
|
} = options;
|
|
5261
5262
|
|
|
5263
|
+
this.allowMediaInLobby = options?.allowMediaInLobby;
|
|
5264
|
+
|
|
5262
5265
|
// If the user is unjoined or guest waiting in lobby dont allow the user to addMedia
|
|
5263
5266
|
// @ts-ignore - isUserUnadmitted coming from SelfUtil
|
|
5264
5267
|
if (this.isUserUnadmitted && !this.wirelessShare && !allowMediaInLobby) {
|
|
@@ -1200,7 +1200,7 @@ describe('plugin-meetings', () => {
|
|
|
1200
1200
|
});
|
|
1201
1201
|
});
|
|
1202
1202
|
|
|
1203
|
-
const checkWorking = () => {
|
|
1203
|
+
const checkWorking = ({allowMediaInLobby} = {}) => {
|
|
1204
1204
|
assert.calledOnce(meeting.roap.doTurnDiscovery);
|
|
1205
1205
|
assert.calledWith(meeting.roap.doTurnDiscovery, meeting, false);
|
|
1206
1206
|
assert.calledOnce(meeting.mediaProperties.setMediaDirection);
|
|
@@ -1213,6 +1213,7 @@ describe('plugin-meetings', () => {
|
|
|
1213
1213
|
);
|
|
1214
1214
|
assert.calledOnce(meeting.setMercuryListener);
|
|
1215
1215
|
assert.calledOnce(fakeMediaConnection.initiateOffer);
|
|
1216
|
+
assert.equal(meeting.allowMediaInLobby, allowMediaInLobby);
|
|
1216
1217
|
}
|
|
1217
1218
|
|
|
1218
1219
|
it('should attach the media and return promise', async () => {
|
|
@@ -1246,7 +1247,7 @@ describe('plugin-meetings', () => {
|
|
|
1246
1247
|
assert.exists(media);
|
|
1247
1248
|
await media;
|
|
1248
1249
|
|
|
1249
|
-
checkWorking();
|
|
1250
|
+
checkWorking({allowMediaInLobby: true});
|
|
1250
1251
|
});
|
|
1251
1252
|
|
|
1252
1253
|
it('should pass the turn server info to the peer connection', async () => {
|