@webex/plugin-meetings 3.10.0-webex-services-ready.1 → 3.10.0-webex-services-ready.2
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/hashTree/types.js +3 -2
- package/dist/hashTree/types.js.map +1 -1
- package/dist/interpretation/index.js +1 -1
- package/dist/interpretation/siLanguage.js +1 -1
- package/dist/locus-info/index.js +19 -28
- package/dist/locus-info/index.js.map +1 -1
- package/dist/locus-info/types.js.map +1 -1
- package/dist/meeting/index.js +22 -7
- package/dist/meeting/index.js.map +1 -1
- package/dist/types/hashTree/types.d.ts +2 -0
- package/dist/types/locus-info/index.d.ts +5 -15
- package/dist/types/locus-info/types.d.ts +9 -1
- package/dist/webinar/index.js +1 -1
- package/package.json +20 -20
- package/src/hashTree/types.ts +2 -0
- package/src/locus-info/index.ts +17 -23
- package/src/locus-info/types.ts +6 -1
- package/src/meeting/index.ts +20 -1
- package/test/unit/spec/locus-info/index.js +55 -3
- package/test/unit/spec/meeting/index.js +29 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["types.ts"],"sourcesContent":["import {HtMeta} from '../hashTree/types';\n\nexport type LocusFullState = {\n active: boolean;\n count: number;\n lastActive: string;\n locked: boolean;\n sessionId: string;\n seessionIds: string[];\n startTime: number;\n state: string;\n type: string;\n};\n\nexport type LocusDTO = {\n controls?: any;\n fullState?: LocusFullState;\n host?: {\n id: string;\n incomingCallProtocols: any[];\n isExternal: boolean;\n name: string;\n orgId: string;\n };\n htMeta?: HtMeta;\n info?: any;\n jsSdkMeta?: {\n removedParticipantIds: string[]; // list of ids of participants that are removed in the last update\n };\n links?:
|
|
1
|
+
{"version":3,"names":[],"sources":["types.ts"],"sourcesContent":["import {HtMeta} from '../hashTree/types';\n\nexport type LocusFullState = {\n active: boolean;\n count: number;\n lastActive: string;\n locked: boolean;\n sessionId: string;\n seessionIds: string[];\n startTime: number;\n state: string;\n type: string;\n};\n\nexport type Links = {\n services: Record<'breakout' | 'record', {url: string}>; // there exist also other services, but these are the ones we currently use\n resources: Record<'webcastInstance' | 'visibleDataSets', {url: string}>; // there exist also other resources, but these are the ones we currently use\n};\n\nexport type LocusDTO = {\n controls?: any;\n fullState?: LocusFullState;\n host?: {\n id: string;\n incomingCallProtocols: any[];\n isExternal: boolean;\n name: string;\n orgId: string;\n };\n htMeta?: HtMeta;\n info?: any;\n jsSdkMeta?: {\n removedParticipantIds: string[]; // list of ids of participants that are removed in the last update\n };\n links?: Links;\n mediaShares?: any[];\n meetings?: any[];\n participants: any[];\n replaces?: any[];\n self?: any;\n sequence?: {\n dirtyParticipants: number;\n entries: number[];\n rangeEnd: number;\n rangeStart: number;\n sequenceHash: number;\n sessionToken: string;\n since: string;\n totalParticipants: number;\n };\n syncUrl?: string;\n url?: string;\n};\n"],"mappings":"","ignoreList":[]}
|
package/dist/meeting/index.js
CHANGED
|
@@ -5834,6 +5834,8 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
5834
5834
|
_leaveError,
|
|
5835
5835
|
leaveError,
|
|
5836
5836
|
shouldRetry,
|
|
5837
|
+
_error2,
|
|
5838
|
+
_error3,
|
|
5837
5839
|
_args14 = arguments,
|
|
5838
5840
|
_t9,
|
|
5839
5841
|
_t0;
|
|
@@ -5925,6 +5927,19 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
5925
5927
|
// so there is no point doing a retry
|
|
5926
5928
|
shouldRetry = false;
|
|
5927
5929
|
}
|
|
5930
|
+
if (_internalPluginMetrics.CallDiagnosticUtils.isBrowserMediaError(_t9)) {
|
|
5931
|
+
shouldRetry = false;
|
|
5932
|
+
// eslint-disable-next-line no-ex-assign
|
|
5933
|
+
_t9 = (0, _lodash.merge)({
|
|
5934
|
+
error: {
|
|
5935
|
+
body: {
|
|
5936
|
+
errorCode: _internalPluginMetrics.CallDiagnosticUtils.getBrowserMediaErrorCode(_t9),
|
|
5937
|
+
message: (_error2 = _t9) === null || _error2 === void 0 ? void 0 : _error2.message,
|
|
5938
|
+
name: (_error3 = _t9) === null || _error3 === void 0 ? void 0 : _error3.name
|
|
5939
|
+
}
|
|
5940
|
+
}
|
|
5941
|
+
});
|
|
5942
|
+
}
|
|
5928
5943
|
|
|
5929
5944
|
// we only want to call leave if join was successful and this was a retry or we won't be doing any more retries
|
|
5930
5945
|
if (!(joined && (isRetry || !shouldRetry))) {
|
|
@@ -6273,9 +6288,9 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
6273
6288
|
joinFailed,
|
|
6274
6289
|
joinSuccess,
|
|
6275
6290
|
_errorMessage2,
|
|
6276
|
-
|
|
6291
|
+
_error4,
|
|
6277
6292
|
_errorMessage3,
|
|
6278
|
-
|
|
6293
|
+
_error5,
|
|
6279
6294
|
_args17 = arguments,
|
|
6280
6295
|
_t10;
|
|
6281
6296
|
return _regenerator.default.wrap(function (_context17) {
|
|
@@ -6359,11 +6374,11 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
6359
6374
|
break;
|
|
6360
6375
|
}
|
|
6361
6376
|
_errorMessage2 = "Meeting:index#join --> ".concat(options.meetingQuality, " not defined");
|
|
6362
|
-
|
|
6377
|
+
_error4 = new Error(_errorMessage2);
|
|
6363
6378
|
_loggerProxy.default.logger.error(_errorMessage2);
|
|
6364
|
-
joinFailed(
|
|
6379
|
+
joinFailed(_error4);
|
|
6365
6380
|
this.deferJoin = undefined;
|
|
6366
|
-
return _context17.abrupt("return", _promise.default.reject(
|
|
6381
|
+
return _context17.abrupt("return", _promise.default.reject(_error4));
|
|
6367
6382
|
case 3:
|
|
6368
6383
|
this.mediaProperties.setRemoteQualityLevel(options.meetingQuality);
|
|
6369
6384
|
case 4:
|
|
@@ -6377,8 +6392,8 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
6377
6392
|
}
|
|
6378
6393
|
_errorMessage3 = "Meeting:index#join --> ".concat(options.meetingQuality.remote, " not defined");
|
|
6379
6394
|
_loggerProxy.default.logger.error(_errorMessage3);
|
|
6380
|
-
|
|
6381
|
-
joinFailed(
|
|
6395
|
+
_error5 = new Error(_errorMessage3);
|
|
6396
|
+
joinFailed(_error5);
|
|
6382
6397
|
this.deferJoin = undefined;
|
|
6383
6398
|
return _context17.abrupt("return", _promise.default.reject(new Error(_errorMessage3)));
|
|
6384
6399
|
case 5:
|