@webex/plugin-meetings 3.8.0-next.6 → 3.8.0-next.60
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/common/errors/webex-errors.js +12 -2
- package/dist/common/errors/webex-errors.js.map +1 -1
- package/dist/config.js +1 -0
- package/dist/config.js.map +1 -1
- package/dist/constants.js +16 -121
- package/dist/constants.js.map +1 -1
- package/dist/controls-options-manager/enums.js +2 -0
- package/dist/controls-options-manager/enums.js.map +1 -1
- package/dist/controls-options-manager/types.js.map +1 -1
- package/dist/controls-options-manager/util.js +52 -0
- package/dist/controls-options-manager/util.js.map +1 -1
- package/dist/interpretation/index.js +1 -1
- package/dist/interpretation/siLanguage.js +1 -1
- package/dist/locus-info/controlsUtils.js +28 -10
- package/dist/locus-info/controlsUtils.js.map +1 -1
- package/dist/locus-info/index.js +20 -1
- package/dist/locus-info/index.js.map +1 -1
- package/dist/locus-info/selfUtils.js +405 -418
- package/dist/locus-info/selfUtils.js.map +1 -1
- package/dist/media/index.js +8 -16
- package/dist/media/index.js.map +1 -1
- package/dist/meeting/in-meeting-actions.js +13 -1
- package/dist/meeting/in-meeting-actions.js.map +1 -1
- package/dist/meeting/index.js +548 -288
- package/dist/meeting/index.js.map +1 -1
- package/dist/meeting/locusMediaRequest.js +0 -17
- package/dist/meeting/locusMediaRequest.js.map +1 -1
- package/dist/meeting/muteState.js +0 -2
- package/dist/meeting/muteState.js.map +1 -1
- package/dist/meeting/request.js +30 -0
- package/dist/meeting/request.js.map +1 -1
- package/dist/meeting/request.type.js.map +1 -1
- package/dist/meeting/util.js +13 -2
- package/dist/meeting/util.js.map +1 -1
- package/dist/meeting-info/meeting-info-v2.js +359 -60
- package/dist/meeting-info/meeting-info-v2.js.map +1 -1
- package/dist/meetings/index.js +91 -1
- package/dist/meetings/index.js.map +1 -1
- package/dist/meetings/util.js +14 -0
- package/dist/meetings/util.js.map +1 -1
- package/dist/member/index.js +10 -0
- package/dist/member/index.js.map +1 -1
- package/dist/member/util.js +3 -0
- package/dist/member/util.js.map +1 -1
- package/dist/members/index.js +23 -0
- package/dist/members/index.js.map +1 -1
- package/dist/members/request.js +21 -0
- package/dist/members/request.js.map +1 -1
- package/dist/members/util.js +15 -0
- package/dist/members/util.js.map +1 -1
- package/dist/metrics/constants.js +9 -0
- package/dist/metrics/constants.js.map +1 -1
- package/dist/reachability/clusterReachability.js +63 -27
- package/dist/reachability/clusterReachability.js.map +1 -1
- package/dist/reachability/index.js +112 -47
- package/dist/reachability/index.js.map +1 -1
- package/dist/reachability/reachability.types.js +14 -0
- package/dist/reachability/reachability.types.js.map +1 -1
- package/dist/reachability/request.js +19 -3
- package/dist/reachability/request.js.map +1 -1
- package/dist/reconnection-manager/index.js +2 -2
- package/dist/reconnection-manager/index.js.map +1 -1
- package/dist/recording-controller/util.js +5 -5
- package/dist/recording-controller/util.js.map +1 -1
- package/dist/roap/index.js.map +1 -1
- package/dist/roap/turnDiscovery.js +45 -27
- package/dist/roap/turnDiscovery.js.map +1 -1
- package/dist/roap/types.js +17 -0
- package/dist/roap/types.js.map +1 -0
- package/dist/types/common/errors/webex-errors.d.ts +7 -1
- package/dist/types/config.d.ts +1 -0
- package/dist/types/constants.d.ts +11 -85
- package/dist/types/controls-options-manager/enums.d.ts +3 -1
- package/dist/types/controls-options-manager/types.d.ts +7 -1
- package/dist/types/locus-info/index.d.ts +1 -0
- package/dist/types/locus-info/selfUtils.d.ts +247 -1
- package/dist/types/meeting/in-meeting-actions.d.ts +12 -0
- package/dist/types/meeting/index.d.ts +54 -1
- package/dist/types/meeting/muteState.d.ts +0 -1
- package/dist/types/meeting/request.d.ts +12 -1
- package/dist/types/meeting/request.type.d.ts +6 -0
- package/dist/types/meeting/util.d.ts +3 -1
- package/dist/types/meeting-info/meeting-info-v2.d.ts +80 -0
- package/dist/types/meetings/index.d.ts +38 -0
- package/dist/types/member/index.d.ts +1 -0
- package/dist/types/members/index.d.ts +8 -0
- package/dist/types/members/request.d.ts +19 -0
- package/dist/types/members/util.d.ts +13 -0
- package/dist/types/metrics/constants.d.ts +9 -0
- package/dist/types/reachability/clusterReachability.d.ts +15 -7
- package/dist/types/reachability/index.d.ts +10 -1
- package/dist/types/reachability/reachability.types.d.ts +5 -0
- package/dist/types/roap/index.d.ts +3 -2
- package/dist/types/roap/turnDiscovery.d.ts +5 -17
- package/dist/types/roap/types.d.ts +16 -0
- package/dist/webinar/index.js +1 -1
- package/package.json +23 -23
- package/src/common/errors/webex-errors.ts +8 -1
- package/src/config.ts +1 -0
- package/src/constants.ts +18 -90
- package/src/controls-options-manager/enums.ts +2 -0
- package/src/controls-options-manager/types.ts +11 -1
- package/src/controls-options-manager/util.ts +62 -0
- package/src/locus-info/controlsUtils.ts +44 -14
- package/src/locus-info/index.ts +23 -1
- package/src/locus-info/selfUtils.ts +451 -447
- package/src/media/index.ts +11 -21
- package/src/meeting/in-meeting-actions.ts +24 -0
- package/src/meeting/index.ts +364 -92
- package/src/meeting/locusMediaRequest.ts +0 -18
- package/src/meeting/muteState.ts +0 -2
- package/src/meeting/request.ts +36 -1
- package/src/meeting/request.type.ts +7 -0
- package/src/meeting/util.ts +11 -2
- package/src/meeting-info/meeting-info-v2.ts +247 -6
- package/src/meetings/index.ts +107 -1
- package/src/meetings/util.ts +18 -0
- package/src/member/index.ts +11 -0
- package/src/member/util.ts +3 -0
- package/src/members/index.ts +25 -0
- package/src/members/request.ts +26 -0
- package/src/members/util.ts +16 -0
- package/src/metrics/constants.ts +9 -0
- package/src/reachability/clusterReachability.ts +73 -26
- package/src/reachability/index.ts +70 -1
- package/src/reachability/reachability.types.ts +6 -0
- package/src/reachability/request.ts +7 -0
- package/src/reconnection-manager/index.ts +2 -2
- package/src/recording-controller/util.ts +17 -13
- package/src/roap/index.ts +3 -7
- package/src/roap/turnDiscovery.ts +34 -39
- package/src/roap/types.ts +23 -0
- package/test/unit/spec/controls-options-manager/util.js +120 -0
- package/test/unit/spec/locus-info/controlsUtils.js +103 -9
- package/test/unit/spec/locus-info/index.js +28 -0
- package/test/unit/spec/media/index.ts +36 -16
- package/test/unit/spec/meeting/in-meeting-actions.ts +15 -4
- package/test/unit/spec/meeting/index.js +518 -34
- package/test/unit/spec/meeting/locusMediaRequest.ts +0 -30
- package/test/unit/spec/meeting/muteState.js +0 -2
- package/test/unit/spec/meeting/request.js +32 -1
- package/test/unit/spec/meeting/utils.js +119 -18
- package/test/unit/spec/meeting-info/meetinginfov2.js +443 -114
- package/test/unit/spec/meetings/index.js +120 -2
- package/test/unit/spec/member/index.js +7 -0
- package/test/unit/spec/member/util.js +24 -0
- package/test/unit/spec/members/index.js +103 -26
- package/test/unit/spec/members/request.js +45 -22
- package/test/unit/spec/members/utils.js +33 -0
- package/test/unit/spec/reachability/clusterReachability.ts +88 -56
- package/test/unit/spec/reachability/index.ts +101 -0
- package/test/unit/spec/reachability/request.js +47 -2
- package/test/unit/spec/reconnection-manager/index.js +4 -4
- package/test/unit/spec/roap/turnDiscovery.ts +110 -28
package/src/media/index.ts
CHANGED
@@ -21,6 +21,7 @@ import {MEDIA_TRACK_CONSTRAINT} from '../constants';
|
|
21
21
|
import Config from '../config';
|
22
22
|
import StaticConfig from '../common/config';
|
23
23
|
import BrowserDetection from '../common/browser-detection';
|
24
|
+
import {TurnServerInfo} from '../roap/types';
|
24
25
|
|
25
26
|
const {isBrowser} = BrowserDetection();
|
26
27
|
|
@@ -138,13 +139,10 @@ Media.createMediaConnection = (
|
|
138
139
|
remoteQualityLevel?: 'LOW' | 'MEDIUM' | 'HIGH';
|
139
140
|
enableRtx?: boolean;
|
140
141
|
enableExtmap?: boolean;
|
141
|
-
turnServerInfo?:
|
142
|
-
url: string;
|
143
|
-
username: string;
|
144
|
-
password: string;
|
145
|
-
};
|
142
|
+
turnServerInfo?: TurnServerInfo;
|
146
143
|
bundlePolicy?: BundlePolicy;
|
147
144
|
iceCandidatesTimeout?: number;
|
145
|
+
disableAudioMainDtx?: boolean;
|
148
146
|
}
|
149
147
|
) => {
|
150
148
|
const {
|
@@ -156,28 +154,16 @@ Media.createMediaConnection = (
|
|
156
154
|
turnServerInfo,
|
157
155
|
bundlePolicy,
|
158
156
|
iceCandidatesTimeout,
|
157
|
+
disableAudioMainDtx,
|
159
158
|
} = options;
|
160
159
|
|
161
160
|
const iceServers = [];
|
162
161
|
|
163
|
-
// we might not have any TURN server if TURN discovery failed or wasn't done or
|
164
|
-
|
165
|
-
if (turnServerInfo?.url) {
|
166
|
-
if (!isBrowser('firefox')) {
|
167
|
-
let bareTurnServer = turnServerInfo.url;
|
168
|
-
bareTurnServer = bareTurnServer.replace('turns:', 'turn:');
|
169
|
-
bareTurnServer = bareTurnServer.replace('443', '5004');
|
170
|
-
|
171
|
-
iceServers.push({
|
172
|
-
urls: bareTurnServer,
|
173
|
-
username: turnServerInfo.username || '',
|
174
|
-
credential: turnServerInfo.password || '',
|
175
|
-
});
|
176
|
-
}
|
177
|
-
|
162
|
+
// we might not have any TURN server if TURN discovery failed or wasn't done or we land on a video mesh node
|
163
|
+
if (turnServerInfo?.urls.length > 0) {
|
178
164
|
// TURN-TLS server
|
179
165
|
iceServers.push({
|
180
|
-
urls: turnServerInfo.
|
166
|
+
urls: turnServerInfo.urls,
|
181
167
|
username: turnServerInfo.username || '',
|
182
168
|
credential: turnServerInfo.password || '',
|
183
169
|
});
|
@@ -192,6 +178,10 @@ Media.createMediaConnection = (
|
|
192
178
|
config.bundlePolicy = bundlePolicy;
|
193
179
|
}
|
194
180
|
|
181
|
+
if (disableAudioMainDtx !== undefined) {
|
182
|
+
config.disableAudioMainDtx = disableAudioMainDtx;
|
183
|
+
}
|
184
|
+
|
195
185
|
return new MultistreamRoapMediaConnection(
|
196
186
|
config,
|
197
187
|
meetingId,
|
@@ -99,6 +99,12 @@ interface IInMeetingActions {
|
|
99
99
|
isPracticeSessionOff?: boolean;
|
100
100
|
canStartPracticeSession?: boolean;
|
101
101
|
canStopPracticeSession?: boolean;
|
102
|
+
requiresPostMeetingDataConsentPrompt?: boolean;
|
103
|
+
canEnableAnnotation?: boolean;
|
104
|
+
canDisableAnnotation?: boolean;
|
105
|
+
canEnableRemoteDesktopControl?: boolean;
|
106
|
+
canDisableRemoteDesktopControl?: boolean;
|
107
|
+
canMoveToLobby?: boolean;
|
102
108
|
}
|
103
109
|
|
104
110
|
/**
|
@@ -285,6 +291,18 @@ export default class InMeetingActions implements IInMeetingActions {
|
|
285
291
|
|
286
292
|
canStopPracticeSession = null;
|
287
293
|
|
294
|
+
requiresPostMeetingDataConsentPrompt = null;
|
295
|
+
|
296
|
+
canEnableAnnotation = null;
|
297
|
+
|
298
|
+
canDisableAnnotation = null;
|
299
|
+
|
300
|
+
canEnableRemoteDesktopControl = null;
|
301
|
+
|
302
|
+
canDisableRemoteDesktopControl = null;
|
303
|
+
|
304
|
+
canMoveToLobby = null;
|
305
|
+
|
288
306
|
/**
|
289
307
|
* Returns all meeting action options
|
290
308
|
* @returns {Object}
|
@@ -379,6 +397,12 @@ export default class InMeetingActions implements IInMeetingActions {
|
|
379
397
|
isPracticeSessionOff: this.isPracticeSessionOff,
|
380
398
|
canStartPracticeSession: this.canStartPracticeSession,
|
381
399
|
canStopPracticeSession: this.canStopPracticeSession,
|
400
|
+
requiresPostMeetingDataConsentPrompt: this.requiresPostMeetingDataConsentPrompt,
|
401
|
+
canEnableAnnotation: this.canEnableAnnotation,
|
402
|
+
canDisableAnnotation: this.canDisableAnnotation,
|
403
|
+
canEnableRemoteDesktopControl: this.canEnableRemoteDesktopControl,
|
404
|
+
canDisableRemoteDesktopControl: this.canDisableRemoteDesktopControl,
|
405
|
+
canMoveToLobby: this.canMoveToLobby,
|
382
406
|
});
|
383
407
|
|
384
408
|
/**
|