@webex/plugin-meetings 3.7.0-next.55 → 3.7.0-next.57
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 -2
- package/dist/meeting/index.js.map +1 -1
- package/dist/webinar/index.js +1 -1
- package/package.json +21 -21
- package/src/meeting/index.ts +5 -2
- package/test/unit/spec/meeting/index.js +22 -1
package/dist/webinar/index.js
CHANGED
package/package.json
CHANGED
|
@@ -43,13 +43,13 @@
|
|
|
43
43
|
"@webex/eslint-config-legacy": "0.0.0",
|
|
44
44
|
"@webex/jest-config-legacy": "0.0.0",
|
|
45
45
|
"@webex/legacy-tools": "0.0.0",
|
|
46
|
-
"@webex/plugin-meetings": "3.7.0-next.
|
|
47
|
-
"@webex/plugin-rooms": "3.7.0-next.
|
|
48
|
-
"@webex/test-helper-chai": "3.7.0-next.
|
|
49
|
-
"@webex/test-helper-mocha": "3.7.0-next.
|
|
50
|
-
"@webex/test-helper-mock-webex": "3.7.0-next.
|
|
51
|
-
"@webex/test-helper-retry": "3.7.0-next.
|
|
52
|
-
"@webex/test-helper-test-users": "3.7.0-next.
|
|
46
|
+
"@webex/plugin-meetings": "3.7.0-next.57",
|
|
47
|
+
"@webex/plugin-rooms": "3.7.0-next.22",
|
|
48
|
+
"@webex/test-helper-chai": "3.7.0-next.16",
|
|
49
|
+
"@webex/test-helper-mocha": "3.7.0-next.16",
|
|
50
|
+
"@webex/test-helper-mock-webex": "3.7.0-next.16",
|
|
51
|
+
"@webex/test-helper-retry": "3.7.0-next.16",
|
|
52
|
+
"@webex/test-helper-test-users": "3.7.0-next.16",
|
|
53
53
|
"chai": "^4.3.4",
|
|
54
54
|
"chai-as-promised": "^7.1.1",
|
|
55
55
|
"eslint": "^8.24.0",
|
|
@@ -61,22 +61,22 @@
|
|
|
61
61
|
"typescript": "^4.7.4"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@webex/common": "3.7.0-next.
|
|
64
|
+
"@webex/common": "3.7.0-next.16",
|
|
65
65
|
"@webex/event-dictionary-ts": "^1.0.1643",
|
|
66
66
|
"@webex/internal-media-core": "2.14.3",
|
|
67
|
-
"@webex/internal-plugin-conversation": "3.7.0-next.
|
|
68
|
-
"@webex/internal-plugin-device": "3.7.0-next.
|
|
69
|
-
"@webex/internal-plugin-llm": "3.7.0-next.
|
|
70
|
-
"@webex/internal-plugin-mercury": "3.7.0-next.
|
|
71
|
-
"@webex/internal-plugin-metrics": "3.7.0-next.
|
|
72
|
-
"@webex/internal-plugin-support": "3.7.0-next.
|
|
73
|
-
"@webex/internal-plugin-user": "3.7.0-next.
|
|
74
|
-
"@webex/internal-plugin-voicea": "3.7.0-next.
|
|
75
|
-
"@webex/media-helpers": "3.7.0-next.
|
|
76
|
-
"@webex/plugin-people": "3.7.0-next.
|
|
77
|
-
"@webex/plugin-rooms": "3.7.0-next.
|
|
67
|
+
"@webex/internal-plugin-conversation": "3.7.0-next.22",
|
|
68
|
+
"@webex/internal-plugin-device": "3.7.0-next.16",
|
|
69
|
+
"@webex/internal-plugin-llm": "3.7.0-next.20",
|
|
70
|
+
"@webex/internal-plugin-mercury": "3.7.0-next.20",
|
|
71
|
+
"@webex/internal-plugin-metrics": "3.7.0-next.16",
|
|
72
|
+
"@webex/internal-plugin-support": "3.7.0-next.23",
|
|
73
|
+
"@webex/internal-plugin-user": "3.7.0-next.16",
|
|
74
|
+
"@webex/internal-plugin-voicea": "3.7.0-next.57",
|
|
75
|
+
"@webex/media-helpers": "3.7.0-next.22",
|
|
76
|
+
"@webex/plugin-people": "3.7.0-next.20",
|
|
77
|
+
"@webex/plugin-rooms": "3.7.0-next.22",
|
|
78
78
|
"@webex/web-capabilities": "^1.4.0",
|
|
79
|
-
"@webex/webex-core": "3.7.0-next.
|
|
79
|
+
"@webex/webex-core": "3.7.0-next.16",
|
|
80
80
|
"ampersand-collection": "^2.0.2",
|
|
81
81
|
"bowser": "^2.11.0",
|
|
82
82
|
"btoa": "^1.2.1",
|
|
@@ -92,5 +92,5 @@
|
|
|
92
92
|
"//": [
|
|
93
93
|
"TODO: upgrade jwt-decode when moving to node 18"
|
|
94
94
|
],
|
|
95
|
-
"version": "3.7.0-next.
|
|
95
|
+
"version": "3.7.0-next.57"
|
|
96
96
|
}
|
package/src/meeting/index.ts
CHANGED
|
@@ -6099,9 +6099,12 @@ export default class Meeting extends StatelessWebexPlugin {
|
|
|
6099
6099
|
* @returns {undefined}
|
|
6100
6100
|
*/
|
|
6101
6101
|
public roapMessageReceived = (roapMessage: RoapMessage) => {
|
|
6102
|
-
const mediaServer =
|
|
6102
|
+
const mediaServer =
|
|
6103
|
+
roapMessage.messageType === 'ANSWER'
|
|
6104
|
+
? MeetingsUtil.getMediaServer(roapMessage.sdp)
|
|
6105
|
+
: undefined;
|
|
6103
6106
|
|
|
6104
|
-
if (this.isMultistream && mediaServer !== 'homer') {
|
|
6107
|
+
if (this.isMultistream && mediaServer && mediaServer !== 'homer') {
|
|
6105
6108
|
throw new MultistreamNotSupportedError(
|
|
6106
6109
|
`Client asked for multistream backend (Homer), but got ${mediaServer} instead`
|
|
6107
6110
|
);
|
|
@@ -13260,7 +13260,7 @@ describe('plugin-meetings', () => {
|
|
|
13260
13260
|
|
|
13261
13261
|
describe('#roapMessageReceived', () => {
|
|
13262
13262
|
it('calls roapMessageReceived on the webrtc media connection', () => {
|
|
13263
|
-
const fakeMessage = {messageType: '
|
|
13263
|
+
const fakeMessage = {messageType: 'ANSWER', sdp: 'fake sdp'};
|
|
13264
13264
|
|
|
13265
13265
|
const getMediaServer = sinon.stub(MeetingsUtil, 'getMediaServer').returns('homer');
|
|
13266
13266
|
|
|
@@ -13298,5 +13298,26 @@ describe('plugin-meetings', () => {
|
|
|
13298
13298
|
|
|
13299
13299
|
assert.notCalled(meeting.mediaProperties.webrtcMediaConnection.roapMessageReceived);
|
|
13300
13300
|
});
|
|
13301
|
+
|
|
13302
|
+
it('does not call getMediaServer for a roap message other than ANSWER', async () => {
|
|
13303
|
+
const fakeMessage = {messageType: 'ERROR', sdp: 'fake sdp'};
|
|
13304
|
+
|
|
13305
|
+
meeting.isMultistream = true;
|
|
13306
|
+
meeting.mediaProperties.webrtcMediaConnection = {
|
|
13307
|
+
roapMessageReceived: sinon.stub(),
|
|
13308
|
+
};
|
|
13309
|
+
meeting.mediaProperties.webrtcMediaConnection.mediaServer = 'linus';
|
|
13310
|
+
|
|
13311
|
+
const getMediaServerStub = sinon.stub(MeetingsUtil, 'getMediaServer').returns('something');
|
|
13312
|
+
|
|
13313
|
+
meeting.roapMessageReceived(fakeMessage);
|
|
13314
|
+
|
|
13315
|
+
assert.calledOnceWithExactly(
|
|
13316
|
+
meeting.mediaProperties.webrtcMediaConnection.roapMessageReceived,
|
|
13317
|
+
fakeMessage
|
|
13318
|
+
);
|
|
13319
|
+
assert.notCalled(getMediaServerStub);
|
|
13320
|
+
assert.equal(meeting.mediaProperties.webrtcMediaConnection.mediaServer, 'linus'); // check that it hasn't been overwritten
|
|
13321
|
+
});
|
|
13301
13322
|
});
|
|
13302
13323
|
});
|