@trtc/calls-uikit-vue2 4.5.0 → 4.5.1

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": "@trtc/calls-uikit-vue2",
3
- "version": "4.5.0",
3
+ "version": "4.5.1",
4
4
  "main": "./tuicall-uikit-vue2.umd.js",
5
5
  "module": "./tuicall-uikit-vue2.es.js",
6
6
  "types": "./types/index.d.ts",
@@ -14,7 +14,7 @@
14
14
  },
15
15
  "dependencies": {
16
16
  "@tencentcloud/tui-core-lite": "~1.0.1",
17
- "@trtc/call-engine-lite-js": "~4.0.0",
17
+ "@trtc/call-engine-lite-js": "~4.0.1",
18
18
  "@tencentcloud/lite-chat": "^1.6.3",
19
19
  "@trtc/call-engine-lite-wx": "~4.0.0"
20
20
  },
@@ -27,7 +27,7 @@ const TUIGlobal: ITUIGlobal = TuiGlobal.getInstance();
27
27
  const TUIStore: ITUIStore = TuiStore.getInstance();
28
28
  const uiDesign = UIDesign.getInstance();
29
29
  uiDesign.setTUIStore(TUIStore);
30
- const version = '4.5.0';
30
+ const version = '4.5.1';
31
31
  import AIAssistant from './AIAssistant'; // 仅 web 支持 AI 实时字幕
32
32
  const frameWork = 'vue2.7';
33
33
  export { TUIGlobal, TUIStore, uiDesign };
@@ -54,7 +54,9 @@ export enum VideoDisplayMode {
54
54
  * @property {String} 1080p
55
55
  */
56
56
  export enum VideoResolution {
57
- RESOLUTION_480P = '480p',
57
+ RESOLUTION_360P = '360p',
58
+ RESOLUTION_480P = '480p', // c++ 重构后, 480p 不支持, 使用的是 540p
59
+ RESOLUTION_540P = '540p',
58
60
  RESOLUTION_720P = '720p',
59
61
  RESOLUTION_1080P = '1080p',
60
62
  }
package/src/index.ts CHANGED
@@ -37,7 +37,7 @@ const TUICallType = {
37
37
  AUDIO_CALL: 1,
38
38
  VIDEO_CALL: 2,
39
39
  };
40
- const Version = '4.5.0'; // basic-demo 原来上报使用
40
+ const Version = '4.5.1'; // basic-demo 原来上报使用
41
41
 
42
42
  // 输出产物
43
43
  export {
@@ -2,7 +2,7 @@
2
2
  import { TUICallEvent as w, TUICallEngine as ke } from "@trtc/call-engine-lite-js";
3
3
  import re from "@tencentcloud/lite-chat/basic";
4
4
  import Oe, { inject as rA, ref as I, onMounted as AA, onUnmounted as $, toRefs as z, watch as q, computed as f, defineComponent as v, provide as oA, watchEffect as te, toRef as We, unref as En, nextTick as Kt, reactive as he } from "vue";
5
- var r = /* @__PURE__ */ ((a) => (a.CALL = "call", a.CUSTOM = "custom", a))(r || {}), R = /* @__PURE__ */ ((a) => (a[a.UNKNOWN = 0] = "UNKNOWN", a[a.AUDIO = 1] = "AUDIO", a[a.VIDEO = 2] = "VIDEO", a))(R || {}), J = /* @__PURE__ */ ((a) => (a.UNKNOWN = "unknown", a.CALLEE = "callee", a.CALLER = "caller", a))(J || {}), j = /* @__PURE__ */ ((a) => (a.IDLE = "idle", a.CALLING = "calling", a.CONNECTED = "connected", a))(j || {}), nt = /* @__PURE__ */ ((a) => (a.CONTAIN = "contain", a.COVER = "cover", a.FILL = "fill", a))(nt || {}), st = /* @__PURE__ */ ((a) => (a.RESOLUTION_480P = "480p", a.RESOLUTION_720P = "720p", a.RESOLUTION_1080P = "1080p", a))(st || {}), Jt = /* @__PURE__ */ ((a) => (a.EN = "en", a["ZH-CN"] = "zh-cn", a.JA_JP = "ja_JP", a))(Jt || {});
5
+ var r = /* @__PURE__ */ ((a) => (a.CALL = "call", a.CUSTOM = "custom", a))(r || {}), R = /* @__PURE__ */ ((a) => (a[a.UNKNOWN = 0] = "UNKNOWN", a[a.AUDIO = 1] = "AUDIO", a[a.VIDEO = 2] = "VIDEO", a))(R || {}), J = /* @__PURE__ */ ((a) => (a.UNKNOWN = "unknown", a.CALLEE = "callee", a.CALLER = "caller", a))(J || {}), j = /* @__PURE__ */ ((a) => (a.IDLE = "idle", a.CALLING = "calling", a.CONNECTED = "connected", a))(j || {}), nt = /* @__PURE__ */ ((a) => (a.CONTAIN = "contain", a.COVER = "cover", a.FILL = "fill", a))(nt || {}), st = /* @__PURE__ */ ((a) => (a.RESOLUTION_360P = "360p", a.RESOLUTION_480P = "480p", a.RESOLUTION_540P = "540p", a.RESOLUTION_720P = "720p", a.RESOLUTION_1080P = "1080p", a))(st || {}), Jt = /* @__PURE__ */ ((a) => (a.EN = "en", a["ZH-CN"] = "zh-cn", a.JA_JP = "ja_JP", a))(Jt || {});
6
6
  const nA = {
7
7
  IDLE: "idle",
8
8
  BE_INVITED: "be-invited",
@@ -2298,7 +2298,7 @@ var Us = Object.defineProperty, xs = Object.getOwnPropertyDescriptor, aA = (a, A
2298
2298
  };
2299
2299
  const y = QA.getInstance(), g = DA.getInstance(), jA = qA.getInstance();
2300
2300
  jA.setTUIStore(g);
2301
- const Gt = "4.5.0", kt = "vue2.7", oe = class {
2301
+ const Gt = "4.5.1", kt = "vue2.7", oe = class {
2302
2302
  constructor() {
2303
2303
  this._aiAssistant = null, this._tim = null, this._TUICore = null, this._timerId = -1, this._startTimeStamp = Qe(), this._bellContext = null, this._isFromChat = !1, this._currentGroupId = "", this._offlinePushInfo = null, this._permissionCheckTimer = null, this._chatCombine = null, this._engineEventHandler = null, this._isInitialized = !1, this._handleCallStatusChange = async (a) => {
2304
2304
  var A, t, e, n, s, u;
@@ -8802,7 +8802,7 @@ Ve.install = uM;
8802
8802
  const cM = {
8803
8803
  AUDIO_CALL: 1,
8804
8804
  VIDEO_CALL: 2
8805
- }, dM = "4.5.0";
8805
+ }, dM = "4.5.1";
8806
8806
  export {
8807
8807
  R as CallMediaType,
8808
8808
  J as CallRole,