@webex/plugin-meetings 3.0.0-beta.190 → 3.0.0-beta.192

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webex/plugin-meetings",
3
- "version": "3.0.0-beta.190",
3
+ "version": "3.0.0-beta.192",
4
4
  "description": "",
5
5
  "license": "Cisco EULA (https://www.cisco.com/c/en/us/products/end-user-license-agreement.html)",
6
6
  "contributors": [
@@ -32,12 +32,12 @@
32
32
  "build": "yarn run -T tsc --declaration true --declarationDir ./dist/types"
33
33
  },
34
34
  "devDependencies": {
35
- "@webex/plugin-meetings": "3.0.0-beta.190",
36
- "@webex/test-helper-chai": "3.0.0-beta.190",
37
- "@webex/test-helper-mocha": "3.0.0-beta.190",
38
- "@webex/test-helper-mock-webex": "3.0.0-beta.190",
39
- "@webex/test-helper-retry": "3.0.0-beta.190",
40
- "@webex/test-helper-test-users": "3.0.0-beta.190",
35
+ "@webex/plugin-meetings": "3.0.0-beta.192",
36
+ "@webex/test-helper-chai": "3.0.0-beta.192",
37
+ "@webex/test-helper-mocha": "3.0.0-beta.192",
38
+ "@webex/test-helper-mock-webex": "3.0.0-beta.192",
39
+ "@webex/test-helper-retry": "3.0.0-beta.192",
40
+ "@webex/test-helper-test-users": "3.0.0-beta.192",
41
41
  "chai": "^4.3.4",
42
42
  "chai-as-promised": "^7.1.1",
43
43
  "jsdom-global": "3.0.2",
@@ -46,19 +46,19 @@
46
46
  "typescript": "^4.7.4"
47
47
  },
48
48
  "dependencies": {
49
- "@webex/common": "3.0.0-beta.190",
49
+ "@webex/common": "3.0.0-beta.192",
50
50
  "@webex/internal-media-core": "1.39.1",
51
- "@webex/internal-plugin-conversation": "3.0.0-beta.190",
52
- "@webex/internal-plugin-device": "3.0.0-beta.190",
53
- "@webex/internal-plugin-llm": "3.0.0-beta.190",
54
- "@webex/internal-plugin-mercury": "3.0.0-beta.190",
55
- "@webex/internal-plugin-metrics": "3.0.0-beta.190",
56
- "@webex/internal-plugin-support": "3.0.0-beta.190",
57
- "@webex/internal-plugin-user": "3.0.0-beta.190",
58
- "@webex/media-helpers": "3.0.0-beta.190",
59
- "@webex/plugin-people": "3.0.0-beta.190",
60
- "@webex/plugin-rooms": "3.0.0-beta.190",
61
- "@webex/webex-core": "3.0.0-beta.190",
51
+ "@webex/internal-plugin-conversation": "3.0.0-beta.192",
52
+ "@webex/internal-plugin-device": "3.0.0-beta.192",
53
+ "@webex/internal-plugin-llm": "3.0.0-beta.192",
54
+ "@webex/internal-plugin-mercury": "3.0.0-beta.192",
55
+ "@webex/internal-plugin-metrics": "3.0.0-beta.192",
56
+ "@webex/internal-plugin-support": "3.0.0-beta.192",
57
+ "@webex/internal-plugin-user": "3.0.0-beta.192",
58
+ "@webex/media-helpers": "3.0.0-beta.192",
59
+ "@webex/plugin-people": "3.0.0-beta.192",
60
+ "@webex/plugin-rooms": "3.0.0-beta.192",
61
+ "@webex/webex-core": "3.0.0-beta.192",
62
62
  "ampersand-collection": "^2.0.2",
63
63
  "bowser": "^2.11.0",
64
64
  "btoa": "^1.2.1",
@@ -2587,10 +2587,18 @@ export default class Meeting extends StatelessWebexPlugin {
2587
2587
  requiredHints: [DISPLAY_HINTS.DISABLE_RAISE_HAND],
2588
2588
  displayHints: payload.info.userDisplayHints,
2589
2589
  }),
2590
- canEnableVideo: ControlsOptionsUtil.hasHints({
2591
- requiredHints: [DISPLAY_HINTS.ENABLE_VIDEO],
2592
- displayHints: payload.info.userDisplayHints,
2593
- }),
2590
+ canEnableVideo:
2591
+ (ControlsOptionsUtil.hasHints({
2592
+ requiredHints: [DISPLAY_HINTS.ENABLE_VIDEO],
2593
+ displayHints: payload.info.userDisplayHints,
2594
+ }) &&
2595
+ ControlsOptionsUtil.hasPolicies({
2596
+ requiredPolicies: [SELF_POLICY.SUPPORT_VIDEO],
2597
+ policies: this.selfUserPolicies,
2598
+ })) ||
2599
+ // @ts-ignore
2600
+ !this.config.experimental.enableUnifiedMeetings ||
2601
+ this.isLocusCall(),
2594
2602
  canDisableVideo: ControlsOptionsUtil.hasHints({
2595
2603
  requiredHints: [DISPLAY_HINTS.DISABLE_VIDEO],
2596
2604
  displayHints: payload.info.userDisplayHints,
@@ -4102,6 +4110,12 @@ export default class Meeting extends StatelessWebexPlugin {
4102
4110
  opened LLM web socket connection successfully.`
4103
4111
  );
4104
4112
 
4113
+ if (!this.inMeetingActions.isClosedCaptionActive) {
4114
+ LoggerProxy.logger.error(
4115
+ `Meeting:index#receiveTranscription --> Transcription cannot be started until a licensed user enables it`
4116
+ );
4117
+ }
4118
+
4105
4119
  // retrieve and pass the payload
4106
4120
  this.transcription.subscribe((payload) => {
4107
4121
  Trigger.trigger(
@@ -5706,6 +5706,16 @@ describe('plugin-meetings', () => {
5706
5706
  callType: 'MEETING',
5707
5707
  expectedEnabled: false,
5708
5708
  },
5709
+ {
5710
+ actionName: 'canEnableVideo',
5711
+ callType: 'CALL',
5712
+ expectedEnabled: true,
5713
+ },
5714
+ {
5715
+ actionName: 'canEnableVideo',
5716
+ callType: 'MEETING',
5717
+ expectedEnabled: false,
5718
+ },
5709
5719
  {
5710
5720
  actionName: 'canShareDesktop',
5711
5721
  callType: 'CALL',
@@ -5764,6 +5774,11 @@ describe('plugin-meetings', () => {
5764
5774
  requiredDisplayHints: [DISPLAY_HINTS.SHARE_CAMERA],
5765
5775
  requiredPolicies: [SELF_POLICY.SUPPORT_CAMERA_SHARE],
5766
5776
  },
5777
+ {
5778
+ actionName: 'canEnableVideo',
5779
+ requiredDisplayHints: [DISPLAY_HINTS.ENABLE_VIDEO],
5780
+ requiredPolicies: [SELF_POLICY.SUPPORT_VIDEO],
5781
+ },
5767
5782
  {
5768
5783
  actionName: 'canBroadcastMessageToBreakout',
5769
5784
  requiredDisplayHints: [DISPLAY_HINTS.BROADCAST_MESSAGE_TO_BREAKOUT],
@@ -5785,6 +5800,12 @@ describe('plugin-meetings', () => {
5785
5800
  requiredPolicies: [],
5786
5801
  enableUnifiedMeetings: false,
5787
5802
  },
5803
+ {
5804
+ actionName: 'canEnableVideo',
5805
+ requiredDisplayHints: [],
5806
+ requiredPolicies: [],
5807
+ enableUnifiedMeetings: false,
5808
+ },
5788
5809
  {
5789
5810
  actionName: 'canShareApplication',
5790
5811
  requiredDisplayHints: [DISPLAY_HINTS.SHARE_APPLICATION],