@webex/plugin-meetings 3.12.0-next.116 → 3.12.0-next.118
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/aiEnableRequest/index.js +1 -1
- 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 +3 -1
- package/dist/meeting/index.js.map +1 -1
- package/dist/webinar/index.js +1 -1
- package/package.json +5 -5
- package/src/meeting/index.ts +2 -1
- package/test/unit/spec/meeting/index.js +36 -0
package/dist/webinar/index.js
CHANGED
package/package.json
CHANGED
|
@@ -43,7 +43,7 @@
|
|
|
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-rooms": "3.12.0-next.
|
|
46
|
+
"@webex/plugin-rooms": "3.12.0-next.43",
|
|
47
47
|
"@webex/test-helper-chai": "3.12.0-next.5",
|
|
48
48
|
"@webex/test-helper-mocha": "3.12.0-next.5",
|
|
49
49
|
"@webex/test-helper-mock-webex": "3.12.0-next.5",
|
|
@@ -63,17 +63,17 @@
|
|
|
63
63
|
"@webex/common": "3.12.0-next.5",
|
|
64
64
|
"@webex/event-dictionary-ts": "^1.0.2215",
|
|
65
65
|
"@webex/internal-media-core": "2.28.2",
|
|
66
|
-
"@webex/internal-plugin-conversation": "3.12.0-next.
|
|
66
|
+
"@webex/internal-plugin-conversation": "3.12.0-next.43",
|
|
67
67
|
"@webex/internal-plugin-device": "3.12.0-next.38",
|
|
68
68
|
"@webex/internal-plugin-llm": "3.12.0-next.44",
|
|
69
69
|
"@webex/internal-plugin-mercury": "3.12.0-next.41",
|
|
70
70
|
"@webex/internal-plugin-metrics": "3.12.0-next.38",
|
|
71
|
-
"@webex/internal-plugin-support": "3.12.0-next.
|
|
71
|
+
"@webex/internal-plugin-support": "3.12.0-next.43",
|
|
72
72
|
"@webex/internal-plugin-user": "3.12.0-next.39",
|
|
73
73
|
"@webex/internal-plugin-voicea": "3.12.0-next.46",
|
|
74
74
|
"@webex/media-helpers": "3.12.0-next.11",
|
|
75
75
|
"@webex/plugin-people": "3.12.0-next.41",
|
|
76
|
-
"@webex/plugin-rooms": "3.12.0-next.
|
|
76
|
+
"@webex/plugin-rooms": "3.12.0-next.43",
|
|
77
77
|
"@webex/ts-sdp": "^1.8.1",
|
|
78
78
|
"@webex/web-capabilities": "^1.12.0",
|
|
79
79
|
"@webex/webex-core": "3.12.0-next.38",
|
|
@@ -94,5 +94,5 @@
|
|
|
94
94
|
"//": [
|
|
95
95
|
"TODO: upgrade jwt-decode when moving to node 18"
|
|
96
96
|
],
|
|
97
|
-
"version": "3.12.0-next.
|
|
97
|
+
"version": "3.12.0-next.118"
|
|
98
98
|
}
|
package/src/meeting/index.ts
CHANGED
|
@@ -8494,7 +8494,8 @@ export default class Meeting extends StatelessWebexPlugin {
|
|
|
8494
8494
|
return !member.isSelf && !member.isPairedWithSelf && !member.isAudioMuted;
|
|
8495
8495
|
});
|
|
8496
8496
|
|
|
8497
|
-
|
|
8497
|
+
// we also ignore any issues while we're waiting in the lobby, as we're not receiving any audio yet
|
|
8498
|
+
if (atLeastOneUnmutedOtherMember && !this.isUserUnadmitted) {
|
|
8498
8499
|
this.mediaProperties.sendMediaIssueMetric('inbound_audio', data.issueSubType, {
|
|
8499
8500
|
correlationId: this.correlationId,
|
|
8500
8501
|
isMultistream: this.isMultistream,
|
|
@@ -6208,6 +6208,7 @@ describe('plugin-meetings', () => {
|
|
|
6208
6208
|
member2: unmutedMember,
|
|
6209
6209
|
member3: selfMember,
|
|
6210
6210
|
});
|
|
6211
|
+
meeting.isUserUnadmitted = false;
|
|
6211
6212
|
|
|
6212
6213
|
// Reset the stub to clear any previous calls
|
|
6213
6214
|
TriggerProxy.trigger.resetHistory();
|
|
@@ -6233,6 +6234,41 @@ describe('plugin-meetings', () => {
|
|
|
6233
6234
|
}
|
|
6234
6235
|
);
|
|
6235
6236
|
});
|
|
6237
|
+
|
|
6238
|
+
it('should not trigger event or metric when the user is in the lobby', () => {
|
|
6239
|
+
const fakeEventData = {issueSubType: 'DECODE_RESULTS_IN_ZERO_AUDIO_LEVEL'};
|
|
6240
|
+
|
|
6241
|
+
const unmutedMember = {
|
|
6242
|
+
isSelf: false,
|
|
6243
|
+
isPairedWithSelf: false,
|
|
6244
|
+
isAudioMuted: false,
|
|
6245
|
+
};
|
|
6246
|
+
const selfMember = {
|
|
6247
|
+
isSelf: true,
|
|
6248
|
+
isPairedWithSelf: false,
|
|
6249
|
+
isAudioMuted: false,
|
|
6250
|
+
};
|
|
6251
|
+
meeting.members.membersCollection.getAll = sinon.stub().returns({
|
|
6252
|
+
member1: unmutedMember,
|
|
6253
|
+
member2: selfMember,
|
|
6254
|
+
});
|
|
6255
|
+
meeting.isUserUnadmitted = true;
|
|
6256
|
+
|
|
6257
|
+
// Reset the stub to clear any previous calls
|
|
6258
|
+
TriggerProxy.trigger.resetHistory();
|
|
6259
|
+
|
|
6260
|
+
// Emit the event from statsMonitor
|
|
6261
|
+
listeners[StatsMonitorEventNames.INBOUND_AUDIO_ISSUE](fakeEventData);
|
|
6262
|
+
|
|
6263
|
+
assert.neverCalledWith(
|
|
6264
|
+
TriggerProxy.trigger,
|
|
6265
|
+
meeting,
|
|
6266
|
+
sinon.match.object,
|
|
6267
|
+
EVENT_TRIGGERS.MEDIA_INBOUND_AUDIO_ISSUE_DETECTED,
|
|
6268
|
+
fakeEventData
|
|
6269
|
+
);
|
|
6270
|
+
assert.notCalled(meeting.mediaProperties.sendMediaIssueMetric);
|
|
6271
|
+
});
|
|
6236
6272
|
});
|
|
6237
6273
|
});
|
|
6238
6274
|
|