@trtc/calls-uikit-react 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-react",
3
- "version": "4.5.0",
3
+ "version": "4.5.1",
4
4
  "main": "./tuicall-uikit-react.umd.js",
5
5
  "module": "./tuicall-uikit-react.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 = 'react';
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
@@ -35,7 +35,7 @@ const TUICallType = {
35
35
  AUDIO_CALL: 1,
36
36
  VIDEO_CALL: 2,
37
37
  };
38
- const Version = '4.5.0'; // basic-demo 原来上报使用
38
+ const Version = '4.5.1'; // basic-demo 原来上报使用
39
39
 
40
40
  // 输出产物
41
41
  export {
@@ -10,7 +10,7 @@ import * as Et from "react";
10
10
  import he, { useState as m, useEffect as Q, createContext as Ke, useMemo as K, useContext as R, forwardRef as xi, useCallback as Re, useRef as Ne, useImperativeHandle as so, isValidElement as lo, useLayoutEffect as co } from "react";
11
11
  import * as Mo from "react-dom";
12
12
  import { createPortal as uo, render as Xa, unmountComponentAtNode as Io } from "react-dom";
13
- var g = /* @__PURE__ */ ((t) => (t.CALL = "call", t.CUSTOM = "custom", t))(g || {}), F = /* @__PURE__ */ ((t) => (t[t.UNKNOWN = 0] = "UNKNOWN", t[t.AUDIO = 1] = "AUDIO", t[t.VIDEO = 2] = "VIDEO", t))(F || {}), te = /* @__PURE__ */ ((t) => (t.UNKNOWN = "unknown", t.CALLEE = "callee", t.CALLER = "caller", t))(te || {}), b = /* @__PURE__ */ ((t) => (t.IDLE = "idle", t.CALLING = "calling", t.CONNECTED = "connected", t))(b || {}), bi = /* @__PURE__ */ ((t) => (t.CONTAIN = "contain", t.COVER = "cover", t.FILL = "fill", t))(bi || {}), Ri = /* @__PURE__ */ ((t) => (t.RESOLUTION_480P = "480p", t.RESOLUTION_720P = "720p", t.RESOLUTION_1080P = "1080p", t))(Ri || {}), Ka = /* @__PURE__ */ ((t) => (t.EN = "en", t["ZH-CN"] = "zh-cn", t.JA_JP = "ja_JP", t))(Ka || {});
13
+ var g = /* @__PURE__ */ ((t) => (t.CALL = "call", t.CUSTOM = "custom", t))(g || {}), F = /* @__PURE__ */ ((t) => (t[t.UNKNOWN = 0] = "UNKNOWN", t[t.AUDIO = 1] = "AUDIO", t[t.VIDEO = 2] = "VIDEO", t))(F || {}), te = /* @__PURE__ */ ((t) => (t.UNKNOWN = "unknown", t.CALLEE = "callee", t.CALLER = "caller", t))(te || {}), b = /* @__PURE__ */ ((t) => (t.IDLE = "idle", t.CALLING = "calling", t.CONNECTED = "connected", t))(b || {}), bi = /* @__PURE__ */ ((t) => (t.CONTAIN = "contain", t.COVER = "cover", t.FILL = "fill", t))(bi || {}), Ri = /* @__PURE__ */ ((t) => (t.RESOLUTION_360P = "360p", t.RESOLUTION_480P = "480p", t.RESOLUTION_540P = "540p", t.RESOLUTION_720P = "720p", t.RESOLUTION_1080P = "1080p", t))(Ri || {}), Ka = /* @__PURE__ */ ((t) => (t.EN = "en", t["ZH-CN"] = "zh-cn", t.JA_JP = "ja_JP", t))(Ka || {});
14
14
  const se = {
15
15
  IDLE: "idle",
16
16
  BE_INVITED: "be-invited",
@@ -2329,7 +2329,7 @@ var Ts = Object.defineProperty, Es = Object.getOwnPropertyDescriptor, ae = (t, e
2329
2329
  };
2330
2330
  const U = rr.getInstance(), E = Ft.getInstance(), it = Yn.getInstance();
2331
2331
  it.setTUIStore(E);
2332
- const ua = "4.5.0", Ia = "react";
2332
+ const ua = "4.5.1", Ia = "react";
2333
2333
  var Je;
2334
2334
  const ne = (Je = class {
2335
2335
  constructor() {
@@ -8570,7 +8570,7 @@ Kn.install = _N;
8570
8570
  const PN = {
8571
8571
  AUDIO_CALL: 1,
8572
8572
  VIDEO_CALL: 2
8573
- }, WN = "4.5.0";
8573
+ }, WN = "4.5.1";
8574
8574
  export {
8575
8575
  F as CallMediaType,
8576
8576
  FN as CallMessage,