@webex/plugin-meetings 3.0.0-beta.391 → 3.0.0-beta.392

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.
Files changed (51) hide show
  1. package/dist/breakouts/breakout.js +1 -1
  2. package/dist/breakouts/index.js +1 -1
  3. package/dist/config.js +1 -0
  4. package/dist/config.js.map +1 -1
  5. package/dist/constants.js +16 -7
  6. package/dist/constants.js.map +1 -1
  7. package/dist/interpretation/index.js +1 -1
  8. package/dist/interpretation/siLanguage.js +1 -1
  9. package/dist/meeting/index.js +738 -616
  10. package/dist/meeting/index.js.map +1 -1
  11. package/dist/meeting/util.js +4 -1
  12. package/dist/meeting/util.js.map +1 -1
  13. package/dist/meeting/voicea-meeting.js +172 -0
  14. package/dist/meeting/voicea-meeting.js.map +1 -0
  15. package/dist/meeting-info/meeting-info-v2.js +9 -6
  16. package/dist/meeting-info/meeting-info-v2.js.map +1 -1
  17. package/dist/meeting-info/util.js +7 -6
  18. package/dist/meeting-info/util.js.map +1 -1
  19. package/dist/meeting-info/utilv2.js +8 -4
  20. package/dist/meeting-info/utilv2.js.map +1 -1
  21. package/dist/member/index.js +0 -1
  22. package/dist/member/index.js.map +1 -1
  23. package/dist/types/constants.d.ts +8 -2
  24. package/dist/types/meeting/index.d.ts +56 -12
  25. package/dist/types/meeting/voicea-meeting.d.ts +16 -0
  26. package/dist/webinar/index.js +1 -1
  27. package/package.json +20 -20
  28. package/src/config.ts +2 -4
  29. package/src/constants.ts +11 -2
  30. package/src/meeting/index.ts +320 -157
  31. package/src/meeting/util.ts +5 -1
  32. package/src/meeting/voicea-meeting.ts +122 -0
  33. package/src/meeting-info/meeting-info-v2.ts +5 -11
  34. package/src/meeting-info/util.ts +12 -9
  35. package/src/meeting-info/utilv2.ts +24 -14
  36. package/src/member/index.ts +0 -1
  37. package/test/integration/spec/journey.js +2 -2
  38. package/test/unit/spec/breakouts/breakout.ts +2 -1
  39. package/test/unit/spec/breakouts/index.ts +7 -4
  40. package/test/unit/spec/locus-info/index.js +27 -18
  41. package/test/unit/spec/locus-info/selfUtils.js +6 -11
  42. package/test/unit/spec/media/index.ts +5 -0
  43. package/test/unit/spec/meeting/index.js +315 -87
  44. package/test/unit/spec/meeting/utils.js +52 -10
  45. package/test/unit/spec/meeting/voicea-meeting.ts +266 -0
  46. package/test/unit/spec/meeting-info/meetinginfov2.js +20 -15
  47. package/test/unit/spec/meetings/index.js +78 -10
  48. package/test/unit/spec/metrics/index.js +1 -2
  49. package/test/unit/spec/multistream/mediaRequestManager.ts +1 -0
  50. package/test/unit/spec/recording-controller/index.js +0 -1
  51. package/test/unit/spec/roap/turnDiscovery.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webex/plugin-meetings",
3
- "version": "3.0.0-beta.391",
3
+ "version": "3.0.0-beta.392",
4
4
  "description": "",
5
5
  "license": "Cisco EULA (https://www.cisco.com/c/en/us/products/end-user-license-agreement.html)",
6
6
  "contributors": [
@@ -33,12 +33,12 @@
33
33
  },
34
34
  "devDependencies": {
35
35
  "@peculiar/webcrypto": "^1.4.3",
36
- "@webex/plugin-meetings": "3.0.0-beta.391",
37
- "@webex/test-helper-chai": "3.0.0-beta.391",
38
- "@webex/test-helper-mocha": "3.0.0-beta.391",
39
- "@webex/test-helper-mock-webex": "3.0.0-beta.391",
40
- "@webex/test-helper-retry": "3.0.0-beta.391",
41
- "@webex/test-helper-test-users": "3.0.0-beta.391",
36
+ "@webex/plugin-meetings": "3.0.0-beta.392",
37
+ "@webex/test-helper-chai": "3.0.0-beta.392",
38
+ "@webex/test-helper-mocha": "3.0.0-beta.392",
39
+ "@webex/test-helper-mock-webex": "3.0.0-beta.392",
40
+ "@webex/test-helper-retry": "3.0.0-beta.392",
41
+ "@webex/test-helper-test-users": "3.0.0-beta.392",
42
42
  "chai": "^4.3.4",
43
43
  "chai-as-promised": "^7.1.1",
44
44
  "jsdom-global": "3.0.2",
@@ -47,19 +47,19 @@
47
47
  "typescript": "^4.7.4"
48
48
  },
49
49
  "dependencies": {
50
- "@webex/common": "3.0.0-beta.391",
50
+ "@webex/common": "3.0.0-beta.392",
51
51
  "@webex/internal-media-core": "2.2.9",
52
- "@webex/internal-plugin-conversation": "3.0.0-beta.391",
53
- "@webex/internal-plugin-device": "3.0.0-beta.391",
54
- "@webex/internal-plugin-llm": "3.0.0-beta.391",
55
- "@webex/internal-plugin-mercury": "3.0.0-beta.391",
56
- "@webex/internal-plugin-metrics": "3.0.0-beta.391",
57
- "@webex/internal-plugin-support": "3.0.0-beta.391",
58
- "@webex/internal-plugin-user": "3.0.0-beta.391",
59
- "@webex/media-helpers": "3.0.0-beta.391",
60
- "@webex/plugin-people": "3.0.0-beta.391",
61
- "@webex/plugin-rooms": "3.0.0-beta.391",
62
- "@webex/webex-core": "3.0.0-beta.391",
52
+ "@webex/internal-plugin-conversation": "3.0.0-beta.392",
53
+ "@webex/internal-plugin-device": "3.0.0-beta.392",
54
+ "@webex/internal-plugin-llm": "3.0.0-beta.392",
55
+ "@webex/internal-plugin-mercury": "3.0.0-beta.392",
56
+ "@webex/internal-plugin-metrics": "3.0.0-beta.392",
57
+ "@webex/internal-plugin-support": "3.0.0-beta.392",
58
+ "@webex/internal-plugin-user": "3.0.0-beta.392",
59
+ "@webex/media-helpers": "3.0.0-beta.392",
60
+ "@webex/plugin-people": "3.0.0-beta.392",
61
+ "@webex/plugin-rooms": "3.0.0-beta.392",
62
+ "@webex/webex-core": "3.0.0-beta.392",
63
63
  "ampersand-collection": "^2.0.2",
64
64
  "bowser": "^2.11.0",
65
65
  "btoa": "^1.2.1",
@@ -67,7 +67,7 @@
67
67
  "global": "^4.4.0",
68
68
  "ip-anonymize": "^0.1.0",
69
69
  "javascript-state-machine": "^3.1.0",
70
- "jsonwebtoken": "^8.5.1",
70
+ "jwt-decode": "3.1.2",
71
71
  "lodash": "^4.17.21",
72
72
  "sdp-transform": "^2.12.0",
73
73
  "uuid": "^3.3.2",
package/src/config.ts CHANGED
@@ -1,7 +1,5 @@
1
- import {
2
- // @ts-ignore
3
- deviceType,
4
- } from '@webex/common';
1
+ // @ts-ignore
2
+ import {deviceType} from '@webex/common';
5
3
 
6
4
  export default {
7
5
  // TODO: this needs to be defaulted
package/src/constants.ts CHANGED
@@ -48,6 +48,8 @@ export const MEETINGINFO = 'meetingInfo';
48
48
  export const MEET = 'meet';
49
49
  export const MEET_M = 'm';
50
50
  export const MEDIA = 'media';
51
+ export const MEET_CO = 'co';
52
+ export const MEET_CISCO = 'cisco';
51
53
 
52
54
  export const OFFLINE = 'offline';
53
55
  export const ONLINE = 'online';
@@ -70,6 +72,8 @@ export const TYPE = 'type';
70
72
  export const VIDEO = 'video';
71
73
  export const VIDEO_STATUS = 'videoStatus';
72
74
 
75
+ export const LANGUAGE_ENGLISH = 'en';
76
+
73
77
  // *********** UPPERCASE ONLY STRINGS ************
74
78
  // Please alphabetize
75
79
  export const _ANSWER_ = 'ANSWER';
@@ -298,8 +302,6 @@ export const EVENT_TRIGGERS = {
298
302
  MEETING_MEDIA_REMOTE_STARTED: 'meeting:media:remote:start',
299
303
  MEETING_STARTED_RECORDING: 'meeting:recording:started',
300
304
  MEETING_STOPPED_RECORDING: 'meeting:recording:stopped',
301
- MEETING_STARTED_RECEIVING_TRANSCRIPTION: 'meeting:receiveTranscription:started',
302
- MEETING_STOPPED_RECEIVING_TRANSCRIPTION: 'meeting:receiveTranscription:stopped',
303
305
  MEETING_RECEIVE_REACTIONS: 'meeting:receiveReactions',
304
306
  MEETING_PAUSED_RECORDING: 'meeting:recording:paused',
305
307
  MEETING_RESUMED_RECORDING: 'meeting:recording:resumed',
@@ -374,6 +376,12 @@ export const EVENT_TRIGGERS = {
374
376
  // Locus URL changed
375
377
  MEETING_LOCUS_URL_UPDATE: 'meeting:locus:locusUrl:update',
376
378
  MEETING_STREAM_PUBLISH_STATE_CHANGED: 'meeting:streamPublishStateChanged',
379
+
380
+ MEETING_TRANSCRIPTION_CONNECTED: 'meeting:transcription:connected',
381
+ MEETING_STARTED_RECEIVING_TRANSCRIPTION: 'meeting:receiveTranscription:started',
382
+ MEETING_STOPPED_RECEIVING_TRANSCRIPTION: 'meeting:receiveTranscription:stopped',
383
+
384
+ MEETING_CAPTION_RECEIVED: 'meeting:caption-received',
377
385
  };
378
386
 
379
387
  export const EVENT_TYPES = {
@@ -964,6 +972,7 @@ export const SELF_ROLES = {
964
972
  COHOST: 'COHOST',
965
973
  MODERATOR: 'MODERATOR',
966
974
  ATTENDEE: 'ATTENDEE',
975
+ PRESENTER: 'PRESENTER',
967
976
  };
968
977
 
969
978
  export const MEETING_STATE = {