@webex/plugin-meetings 3.12.0-auth-prejoin-fetch.1 → 3.12.0-llmrefactor.10
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/annotation/index.js +53 -17
- package/dist/annotation/index.js.map +1 -1
- package/dist/breakouts/breakout.js +1 -1
- package/dist/breakouts/index.js +35 -9
- package/dist/breakouts/index.js.map +1 -1
- package/dist/hashTree/hashTreeParser.js +101 -48
- package/dist/hashTree/hashTreeParser.js.map +1 -1
- package/dist/interceptors/dataChannelAuthToken.js +41 -59
- package/dist/interceptors/dataChannelAuthToken.js.map +1 -1
- package/dist/interpretation/index.js +1 -1
- package/dist/interpretation/siLanguage.js +1 -1
- package/dist/locus-info/index.js +27 -2
- package/dist/locus-info/index.js.map +1 -1
- package/dist/locus-info/types.js +2 -1
- package/dist/locus-info/types.js.map +1 -1
- package/dist/meeting/index.js +913 -921
- package/dist/meeting/index.js.map +1 -1
- package/dist/meeting/util.js +5 -1
- package/dist/meeting/util.js.map +1 -1
- package/dist/meeting/voicea-meeting.js +2 -1
- package/dist/meeting/voicea-meeting.js.map +1 -1
- package/dist/meeting-info/meeting-info-v2.js +36 -92
- package/dist/meeting-info/meeting-info-v2.js.map +1 -1
- package/dist/meetings/index.js +33 -93
- package/dist/meetings/index.js.map +1 -1
- package/dist/meetings/meetings.types.js.map +1 -1
- package/dist/types/annotation/index.d.ts +19 -0
- package/dist/types/hashTree/hashTreeParser.d.ts +12 -0
- package/dist/types/locus-info/index.d.ts +6 -0
- package/dist/types/locus-info/types.d.ts +1 -0
- package/dist/types/meeting/index.d.ts +47 -20
- package/dist/types/meeting/util.d.ts +3 -1
- package/dist/types/meeting-info/meeting-info-v2.d.ts +1 -24
- package/dist/types/meetings/index.d.ts +2 -13
- package/dist/types/meetings/meetings.types.d.ts +1 -15
- package/dist/webinar/index.js +298 -255
- package/dist/webinar/index.js.map +1 -1
- package/package.json +21 -21
- package/src/annotation/index.ts +55 -25
- package/src/breakouts/index.ts +33 -11
- package/src/hashTree/hashTreeParser.ts +67 -3
- package/src/interceptors/dataChannelAuthToken.ts +48 -77
- package/src/locus-info/index.ts +20 -0
- package/src/locus-info/types.ts +1 -0
- package/src/meeting/index.ts +318 -332
- package/src/meeting/util.ts +2 -2
- package/src/meeting/voicea-meeting.ts +1 -1
- package/src/meeting-info/meeting-info-v2.ts +18 -74
- package/src/meetings/index.ts +6 -70
- package/src/meetings/meetings.types.ts +1 -17
- package/src/webinar/index.ts +168 -188
- package/test/unit/spec/annotation/index.ts +214 -182
- package/test/unit/spec/breakouts/index.ts +126 -25
- package/test/unit/spec/hashTree/hashTreeParser.ts +212 -1
- package/test/unit/spec/interceptors/dataChannelAuthToken.ts +81 -99
- package/test/unit/spec/locus-info/index.js +79 -0
- package/test/unit/spec/meeting/index.js +979 -701
- package/test/unit/spec/meeting/utils.js +16 -2
- package/test/unit/spec/meeting/voicea-meeting.ts +85 -1
- package/test/unit/spec/meeting-info/meetinginfov2.js +0 -210
- package/test/unit/spec/meetings/index.js +5 -231
- package/test/unit/spec/webinar/index.ts +886 -718
package/src/meeting/util.ts
CHANGED
|
@@ -365,7 +365,7 @@ const MeetingUtil = {
|
|
|
365
365
|
});
|
|
366
366
|
},
|
|
367
367
|
|
|
368
|
-
cleanUp: (meeting) => {
|
|
368
|
+
cleanUp: (meeting, {preserveVoiceaChannel = true}: {preserveVoiceaChannel?: boolean} = {}) => {
|
|
369
369
|
meeting.getWebexObject().internal.device.meetingEnded();
|
|
370
370
|
meeting.stopPeriodicLogUpload();
|
|
371
371
|
|
|
@@ -396,7 +396,7 @@ const MeetingUtil = {
|
|
|
396
396
|
.then(() => meeting.stopKeepAlive())
|
|
397
397
|
.then(() => {
|
|
398
398
|
if (meeting.config?.enableAutomaticLLM) {
|
|
399
|
-
return meeting.cleanupLLMConneciton({throwOnError: false});
|
|
399
|
+
return meeting.cleanupLLMConneciton({throwOnError: false, preserveVoiceaChannel});
|
|
400
400
|
}
|
|
401
401
|
|
|
402
402
|
return undefined;
|
|
@@ -102,7 +102,7 @@ export const processNewCaptions = ({
|
|
|
102
102
|
|
|
103
103
|
interimTranscriptionIds.push(interimId);
|
|
104
104
|
} else {
|
|
105
|
-
transcriptData.interimCaptions[transcriptId].forEach((innerInterimId) => {
|
|
105
|
+
(transcriptData.interimCaptions[transcriptId] ?? []).forEach((innerInterimId) => {
|
|
106
106
|
const interimTranscriptIndex = transcriptData.captions.findIndex(
|
|
107
107
|
(transcript) => transcript.id === innerInterimId
|
|
108
108
|
);
|
|
@@ -10,17 +10,6 @@ import BEHAVIORAL_METRICS from '../metrics/constants';
|
|
|
10
10
|
|
|
11
11
|
import MeetingInfoUtil from './utilv2';
|
|
12
12
|
|
|
13
|
-
type MeetingInfoApi = 'meetingInfo' | 'preJoin';
|
|
14
|
-
|
|
15
|
-
export type PreJoinContext = {
|
|
16
|
-
correlationId: string;
|
|
17
|
-
sessionCorrelationId?: string;
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
type MeetingInfoV2Config =
|
|
21
|
-
| {api?: 'meetingInfo'; preJoinContext?: never}
|
|
22
|
-
| {api: 'preJoin'; preJoinContext: PreJoinContext};
|
|
23
|
-
|
|
24
13
|
const PASSWORD_ERROR_DEFAULT_MESSAGE =
|
|
25
14
|
'Password required. Call fetchMeetingInfo() with password argument';
|
|
26
15
|
const CAPTCHA_ERROR_DEFAULT_MESSAGE =
|
|
@@ -286,30 +275,12 @@ export class MeetingInfoV2StaticMeetingLinkAlreadyExists extends Error {
|
|
|
286
275
|
export default class MeetingInfoV2 {
|
|
287
276
|
webex: any;
|
|
288
277
|
|
|
289
|
-
private readonly api: MeetingInfoApi;
|
|
290
|
-
|
|
291
|
-
private readonly preJoinContext?: PreJoinContext;
|
|
292
|
-
|
|
293
278
|
/**
|
|
294
279
|
*
|
|
295
280
|
* @param {WebexSDK} webex
|
|
296
|
-
* @param {MeetingInfoV2Config} config
|
|
297
281
|
*/
|
|
298
|
-
constructor(webex
|
|
282
|
+
constructor(webex) {
|
|
299
283
|
this.webex = webex;
|
|
300
|
-
this.api = config.api ?? 'meetingInfo';
|
|
301
|
-
this.preJoinContext = config.preJoinContext;
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
/**
|
|
305
|
-
* Creates a meeting-info provider whose requests consistently use preJoin.
|
|
306
|
-
*
|
|
307
|
-
* @param {WebexSDK} webex
|
|
308
|
-
* @param {PreJoinContext} preJoinContext identifiers retained for later requests
|
|
309
|
-
* @returns {MeetingInfoV2}
|
|
310
|
-
*/
|
|
311
|
-
static createPreJoinProvider(webex, preJoinContext: PreJoinContext): MeetingInfoV2 {
|
|
312
|
-
return new MeetingInfoV2(webex, {api: 'preJoin', preJoinContext});
|
|
313
284
|
}
|
|
314
285
|
|
|
315
286
|
/**
|
|
@@ -683,9 +654,7 @@ export default class MeetingInfoV2 {
|
|
|
683
654
|
fullSiteUrl: string = null,
|
|
684
655
|
classificationId: string = null
|
|
685
656
|
) {
|
|
686
|
-
const {meetingId, sendCAevents, correlationId
|
|
687
|
-
const {correlationId: preJoinCorrelationId, sessionCorrelationId} = this.preJoinContext ?? {};
|
|
688
|
-
const correlationId = preJoinCorrelationId ?? meetingCorrelationId;
|
|
657
|
+
const {meetingId, sendCAevents, correlationId} = options;
|
|
689
658
|
|
|
690
659
|
const destinationType = await MeetingInfoUtil.getDestinationType({
|
|
691
660
|
destination,
|
|
@@ -711,7 +680,7 @@ export default class MeetingInfoV2 {
|
|
|
711
680
|
captchaInfo,
|
|
712
681
|
installedOrgID,
|
|
713
682
|
locusId,
|
|
714
|
-
extraParams
|
|
683
|
+
extraParams,
|
|
715
684
|
registrationId,
|
|
716
685
|
disableWebRedirect: true,
|
|
717
686
|
});
|
|
@@ -735,7 +704,6 @@ export default class MeetingInfoV2 {
|
|
|
735
704
|
const requestOptions: any = {
|
|
736
705
|
method: HTTP_VERBS.POST,
|
|
737
706
|
body,
|
|
738
|
-
...(this.api === 'preJoin' && {headers: {correlationId}}),
|
|
739
707
|
};
|
|
740
708
|
|
|
741
709
|
if (meetingId && sendCAevents && correlationId) {
|
|
@@ -745,50 +713,31 @@ export default class MeetingInfoV2 {
|
|
|
745
713
|
const directURI = await MeetingInfoUtil.getDirectMeetingInfoURI(destinationType);
|
|
746
714
|
|
|
747
715
|
if (fullSiteUrl) {
|
|
748
|
-
requestOptions.uri = `https://${fullSiteUrl}/wbxappapi/v1
|
|
716
|
+
requestOptions.uri = `https://${fullSiteUrl}/wbxappapi/v1/meetingInfo`;
|
|
749
717
|
} else if (directURI) {
|
|
750
|
-
requestOptions.uri =
|
|
751
|
-
this.api === 'preJoin' ? directURI.replace(/\/meetingInfo$/, '/preJoin') : directURI;
|
|
718
|
+
requestOptions.uri = directURI;
|
|
752
719
|
} else {
|
|
753
720
|
requestOptions.service = WBXAPPAPI_SERVICE;
|
|
754
|
-
requestOptions.resource =
|
|
721
|
+
requestOptions.resource = 'meetingInfo';
|
|
755
722
|
}
|
|
756
723
|
|
|
757
|
-
|
|
758
|
-
? {meetingId}
|
|
759
|
-
: {
|
|
760
|
-
correlationId,
|
|
761
|
-
sessionCorrelationId,
|
|
762
|
-
meetingJoinPhase: 'pre-join' as const,
|
|
763
|
-
};
|
|
764
|
-
const shouldSendCAEvents =
|
|
765
|
-
sendCAevents && (meetingId || (this.api === 'preJoin' && correlationId));
|
|
766
|
-
|
|
767
|
-
if (shouldSendCAEvents) {
|
|
724
|
+
if (meetingId && sendCAevents) {
|
|
768
725
|
this.webex.internal.newMetrics.submitInternalEvent({
|
|
769
726
|
name: 'internal.client.meetinginfo.request',
|
|
770
727
|
});
|
|
771
728
|
|
|
772
729
|
this.webex.internal.newMetrics.submitClientEvent({
|
|
773
730
|
name: 'client.meetinginfo.request',
|
|
774
|
-
options:
|
|
731
|
+
options: {
|
|
732
|
+
meetingId,
|
|
733
|
+
},
|
|
775
734
|
});
|
|
776
735
|
}
|
|
777
736
|
|
|
778
737
|
return this.webex
|
|
779
738
|
.request(requestOptions)
|
|
780
739
|
.then((response) => {
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
if (this.api === 'preJoin') {
|
|
784
|
-
if (!response?.body?.meetingInfo) {
|
|
785
|
-
throw new Error('PreJoin response did not include meetingInfo');
|
|
786
|
-
}
|
|
787
|
-
|
|
788
|
-
normalizedResponse = {...response, body: response.body.meetingInfo};
|
|
789
|
-
}
|
|
790
|
-
|
|
791
|
-
if (shouldSendCAEvents) {
|
|
740
|
+
if (meetingId && sendCAevents) {
|
|
792
741
|
this.webex.internal.newMetrics.submitInternalEvent({
|
|
793
742
|
name: 'internal.client.meetinginfo.response',
|
|
794
743
|
});
|
|
@@ -797,27 +746,22 @@ export default class MeetingInfoV2 {
|
|
|
797
746
|
name: 'client.meetinginfo.response',
|
|
798
747
|
payload: {
|
|
799
748
|
identifiers: {
|
|
800
|
-
meetingLookupUrl:
|
|
749
|
+
meetingLookupUrl: response?.url,
|
|
801
750
|
},
|
|
802
751
|
},
|
|
803
752
|
options: {
|
|
804
|
-
|
|
805
|
-
webexConferenceIdStr:
|
|
806
|
-
|
|
807
|
-
globalMeetingId: normalizedResponse?.body?.meetingId,
|
|
753
|
+
meetingId,
|
|
754
|
+
webexConferenceIdStr: response?.body?.confIdStr || response?.body?.confID,
|
|
755
|
+
globalMeetingId: response?.body?.meetingId,
|
|
808
756
|
},
|
|
809
757
|
});
|
|
810
758
|
}
|
|
811
759
|
Metrics.sendBehavioralMetric(BEHAVIORAL_METRICS.FETCH_MEETING_INFO_V1_SUCCESS);
|
|
812
760
|
|
|
813
|
-
return
|
|
761
|
+
return response;
|
|
814
762
|
})
|
|
815
763
|
.catch((err) => {
|
|
816
|
-
if (
|
|
817
|
-
err.body.data = {...err.body.data, meetingInfo: err.body.meetingInfo};
|
|
818
|
-
}
|
|
819
|
-
|
|
820
|
-
if (shouldSendCAEvents) {
|
|
764
|
+
if (meetingId && sendCAevents) {
|
|
821
765
|
this.webex.internal.newMetrics.submitInternalEvent({
|
|
822
766
|
name: 'internal.client.meetinginfo.response',
|
|
823
767
|
});
|
|
@@ -830,7 +774,7 @@ export default class MeetingInfoV2 {
|
|
|
830
774
|
},
|
|
831
775
|
},
|
|
832
776
|
options: {
|
|
833
|
-
|
|
777
|
+
meetingId,
|
|
834
778
|
rawError: err,
|
|
835
779
|
},
|
|
836
780
|
});
|
package/src/meetings/index.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint no-shadow: ["error", { "allow": ["eventType"] }] */
|
|
2
|
-
import {cloneDeep, clone, set, once
|
|
2
|
+
import {cloneDeep, clone, set, once} from 'lodash';
|
|
3
3
|
import {WasmRuntimeProbe} from '@webex/web-capabilities';
|
|
4
4
|
import '@webex/internal-plugin-mercury';
|
|
5
5
|
import '@webex/internal-plugin-conversation';
|
|
@@ -61,8 +61,6 @@ import {
|
|
|
61
61
|
INoiseReductionEffect,
|
|
62
62
|
IVirtualBackgroundEffect,
|
|
63
63
|
MeetingRegistrationStatus,
|
|
64
|
-
PrefetchedMeetingInfo,
|
|
65
|
-
PrefetchMeetingInfoParams,
|
|
66
64
|
SitePreferencesResponse,
|
|
67
65
|
} from './meetings.types';
|
|
68
66
|
import MeetingsUtil from './util';
|
|
@@ -1487,7 +1485,7 @@ export default class Meetings extends WebexPlugin {
|
|
|
1487
1485
|
* @memberof Meetings
|
|
1488
1486
|
*/
|
|
1489
1487
|
private destroy(meeting: Meeting, reason: object) {
|
|
1490
|
-
MeetingUtil.cleanUp(meeting);
|
|
1488
|
+
MeetingUtil.cleanUp(meeting, {preserveVoiceaChannel: false});
|
|
1491
1489
|
// keep some basic info about the deleted meeting forever
|
|
1492
1490
|
this.deletedMeetings.set(meeting.id, {
|
|
1493
1491
|
id: meeting.id,
|
|
@@ -1563,7 +1561,6 @@ export default class Meetings extends WebexPlugin {
|
|
|
1563
1561
|
* @param {String} [meetingLookupUrl] - meeting info prefetch url
|
|
1564
1562
|
* @param {string} sessionCorrelationId - the optional specified sessionCorrelationId (callStateForMetrics.sessionCorrelationId) can be provided instead
|
|
1565
1563
|
* @param {String} classificationId - If space support classification, it will provide it while start instant meeting
|
|
1566
|
-
* @param {PrefetchedMeetingInfo} prefetchedMeetingInfo - meeting information requested before creating the Meeting
|
|
1567
1564
|
* @returns {Promise<Meeting>} A new Meeting.
|
|
1568
1565
|
* @public
|
|
1569
1566
|
* @memberof Meetings
|
|
@@ -1579,15 +1576,8 @@ export default class Meetings extends WebexPlugin {
|
|
|
1579
1576
|
meetingInfo = undefined,
|
|
1580
1577
|
meetingLookupUrl = undefined,
|
|
1581
1578
|
sessionCorrelationId: string = undefined,
|
|
1582
|
-
classificationId: string = undefined
|
|
1583
|
-
prefetchedMeetingInfo: PrefetchedMeetingInfo = undefined
|
|
1579
|
+
classificationId: string = undefined
|
|
1584
1580
|
) {
|
|
1585
|
-
if (meetingInfo && prefetchedMeetingInfo) {
|
|
1586
|
-
return Promise.reject(
|
|
1587
|
-
new Error('meetingInfo and prefetchedMeetingInfo cannot both be provided')
|
|
1588
|
-
);
|
|
1589
|
-
}
|
|
1590
|
-
|
|
1591
1581
|
// Validate meeting information based on the provided destination and
|
|
1592
1582
|
// type. This must be performed prior to determining if the meeting is
|
|
1593
1583
|
// found in the collection, as we mutate the destination for hydra person
|
|
@@ -1657,8 +1647,7 @@ export default class Meetings extends WebexPlugin {
|
|
|
1657
1647
|
failOnMissingMeetingInfo,
|
|
1658
1648
|
meetingInfo,
|
|
1659
1649
|
meetingLookupUrl,
|
|
1660
|
-
classificationId
|
|
1661
|
-
prefetchedMeetingInfo
|
|
1650
|
+
classificationId
|
|
1662
1651
|
).then((createdMeeting: any) => {
|
|
1663
1652
|
// If the meeting was successfully created.
|
|
1664
1653
|
if (createdMeeting && createdMeeting.on) {
|
|
@@ -1707,61 +1696,12 @@ export default class Meetings extends WebexPlugin {
|
|
|
1707
1696
|
}
|
|
1708
1697
|
meeting.updateCallStateForMetrics(callStateForMetrics);
|
|
1709
1698
|
|
|
1710
|
-
if (prefetchedMeetingInfo && isEmpty(meeting.meetingInfo)) {
|
|
1711
|
-
return meeting.consumePrefetchedMeetingInfo(prefetchedMeetingInfo).then(() => meeting);
|
|
1712
|
-
}
|
|
1713
|
-
|
|
1714
1699
|
// Return the existing meeting.
|
|
1715
1700
|
return Promise.resolve(meeting);
|
|
1716
1701
|
})
|
|
1717
1702
|
);
|
|
1718
1703
|
}
|
|
1719
1704
|
|
|
1720
|
-
/**
|
|
1721
|
-
* Starts meeting-information retrieval without creating or registering a Meeting.
|
|
1722
|
-
*
|
|
1723
|
-
* @param {PrefetchMeetingInfoParams} params request destination and metric identifiers
|
|
1724
|
-
* @returns {PrefetchedMeetingInfo} opaque handle consumed later by create() or Meeting
|
|
1725
|
-
* @public
|
|
1726
|
-
* @memberof Meetings
|
|
1727
|
-
*/
|
|
1728
|
-
public prefetchMeetingInfo({
|
|
1729
|
-
destination,
|
|
1730
|
-
type = null,
|
|
1731
|
-
extraParams = {},
|
|
1732
|
-
preJoinContext,
|
|
1733
|
-
classificationId = undefined,
|
|
1734
|
-
}: PrefetchMeetingInfoParams): PrefetchedMeetingInfo {
|
|
1735
|
-
const sendCAevents = !!preJoinContext.correlationId;
|
|
1736
|
-
// @ts-ignore - parent SDK instance inherited from WebexPlugin
|
|
1737
|
-
const {webex} = this;
|
|
1738
|
-
const meetingInfoProvider = MeetingInfoV2.createPreJoinProvider(webex, preJoinContext);
|
|
1739
|
-
const request = meetingInfoProvider.fetchMeetingInfo(
|
|
1740
|
-
destination,
|
|
1741
|
-
type,
|
|
1742
|
-
null,
|
|
1743
|
-
null,
|
|
1744
|
-
// @ts-ignore - config coming from registerPlugin
|
|
1745
|
-
this.config.installedOrgID,
|
|
1746
|
-
null,
|
|
1747
|
-
extraParams,
|
|
1748
|
-
{
|
|
1749
|
-
sendCAevents,
|
|
1750
|
-
},
|
|
1751
|
-
null,
|
|
1752
|
-
null,
|
|
1753
|
-
classificationId
|
|
1754
|
-
);
|
|
1755
|
-
|
|
1756
|
-
request.catch(() => undefined);
|
|
1757
|
-
|
|
1758
|
-
return {
|
|
1759
|
-
request,
|
|
1760
|
-
provider: meetingInfoProvider,
|
|
1761
|
-
extraParams,
|
|
1762
|
-
};
|
|
1763
|
-
}
|
|
1764
|
-
|
|
1765
1705
|
/**
|
|
1766
1706
|
* Enable static meeting links for given conversation url.
|
|
1767
1707
|
*
|
|
@@ -1824,7 +1764,6 @@ export default class Meetings extends WebexPlugin {
|
|
|
1824
1764
|
* @param {Object} [meetingInfo] - Pre-fetched complete meeting info
|
|
1825
1765
|
* @param {String} [meetingLookupUrl] - meeting info prefetch url
|
|
1826
1766
|
* @param {String} classificationId see create()
|
|
1827
|
-
* @param {PrefetchedMeetingInfo} prefetchedMeetingInfo - meeting information requested before creating the Meeting
|
|
1828
1767
|
* @returns {Promise} a new meeting instance complete with meeting info and destination
|
|
1829
1768
|
* @private
|
|
1830
1769
|
* @memberof Meetings
|
|
@@ -1838,8 +1777,7 @@ export default class Meetings extends WebexPlugin {
|
|
|
1838
1777
|
failOnMissingMeetingInfo = false,
|
|
1839
1778
|
meetingInfo = undefined,
|
|
1840
1779
|
meetingLookupUrl = undefined,
|
|
1841
|
-
classificationId = undefined
|
|
1842
|
-
prefetchedMeetingInfo: PrefetchedMeetingInfo = undefined
|
|
1780
|
+
classificationId = undefined
|
|
1843
1781
|
) {
|
|
1844
1782
|
const meeting = new Meeting(
|
|
1845
1783
|
{
|
|
@@ -1898,8 +1836,6 @@ export default class Meetings extends WebexPlugin {
|
|
|
1898
1836
|
|
|
1899
1837
|
if (meetingInfo) {
|
|
1900
1838
|
meeting.injectMeetingInfo(meetingInfo, meetingInfoOptions, meetingLookupUrl);
|
|
1901
|
-
} else if (prefetchedMeetingInfo) {
|
|
1902
|
-
await meeting.consumePrefetchedMeetingInfo(prefetchedMeetingInfo);
|
|
1903
1839
|
} else if (type !== DESTINATION_TYPE.ONE_ON_ONE_CALL && !isOneOnOneCallLocus) {
|
|
1904
1840
|
// ignore fetchMeetingInfo for 1:1 meetings
|
|
1905
1841
|
if (enableUnifiedMeetings && !isMeetingActive && useRandomDelayForInfo && waitingTime > 0) {
|
|
@@ -1941,7 +1877,7 @@ export default class Meetings extends WebexPlugin {
|
|
|
1941
1877
|
);
|
|
1942
1878
|
}
|
|
1943
1879
|
LoggerProxy.logger.debug(
|
|
1944
|
-
`Meetings:index#createMeeting --> Debug ${err} fetching
|
|
1880
|
+
`Meetings:index#createMeeting --> Debug ${err} fetching /meetingInfo for creation.`
|
|
1945
1881
|
);
|
|
1946
1882
|
} finally {
|
|
1947
1883
|
// For type LOCUS_ID we need to parse the locus object to get the information
|
|
@@ -2,9 +2,7 @@ import type {
|
|
|
2
2
|
NoiseReductionEffectOptions,
|
|
3
3
|
VirtualBackgroundEffectOptions,
|
|
4
4
|
} from '@webex/media-helpers';
|
|
5
|
-
import
|
|
6
|
-
import type {PreJoinContext} from '../meeting-info/meeting-info-v2';
|
|
7
|
-
import {DESTINATION_TYPE, Enum} from '../constants';
|
|
5
|
+
import {Enum} from '../constants';
|
|
8
6
|
|
|
9
7
|
type INoiseReductionEffect = Omit<
|
|
10
8
|
NoiseReductionEffectOptions,
|
|
@@ -52,17 +50,3 @@ export type SitePreferencesResponse = {
|
|
|
52
50
|
webinarWebLink?: string;
|
|
53
51
|
};
|
|
54
52
|
};
|
|
55
|
-
|
|
56
|
-
export type PrefetchMeetingInfoParams = {
|
|
57
|
-
destination: any;
|
|
58
|
-
type?: DESTINATION_TYPE;
|
|
59
|
-
extraParams?: Record<string, any>;
|
|
60
|
-
preJoinContext: PreJoinContext;
|
|
61
|
-
classificationId?: string;
|
|
62
|
-
};
|
|
63
|
-
|
|
64
|
-
export type PrefetchedMeetingInfo = {
|
|
65
|
-
request: Promise<any>;
|
|
66
|
-
provider: MeetingInfoV2;
|
|
67
|
-
extraParams: Record<string, any>;
|
|
68
|
-
};
|