@trtc/calls-uikit-react 4.4.5 → 4.4.6

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.4.5",
3
+ "version": "4.4.6",
4
4
  "main": "./tuicall-uikit-react.umd.js",
5
5
  "module": "./tuicall-uikit-react.es.js",
6
6
  "types": "./types/index.d.ts",
@@ -14,9 +14,9 @@
14
14
  },
15
15
  "dependencies": {
16
16
  "@tencentcloud/tui-core-lite": "1.0.0",
17
- "@trtc/call-engine-lite-js": "~3.5.5",
17
+ "@trtc/call-engine-lite-js": "~3.5.7",
18
18
  "@tencentcloud/lite-chat": "^1.6.3",
19
- "@trtc/call-engine-lite-wx": "~3.4.7"
19
+ "@trtc/call-engine-lite-wx": "~3.4.8"
20
20
  },
21
21
  "bugs": {
22
22
  "url": "https://github.com/tencentyun/TUICallKit/issues"
@@ -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.4.5';
30
+ const version = '4.4.6';
31
31
  import AIAssistant from './AIAssistant'; // 仅 web 支持 AI 实时字幕
32
32
  const frameWork = 'react';
33
33
  export { TUIGlobal, TUIStore, uiDesign };
@@ -321,7 +321,6 @@ export default class TUICallService {
321
321
  public setCameraDefaultState(isOpen: boolean) {
322
322
  uiDesign.setCameraDefaultState(isOpen);
323
323
  }
324
- // AI Subtitle functionality removed, focusing on real-time transcriber
325
324
  // =============================【实验性接口】=============================
326
325
  public callExperimentalAPI(jsonStr: string) {
327
326
  const jsonObj = JSON.parse(jsonStr);
@@ -332,6 +331,9 @@ export default class TUICallService {
332
331
 
333
332
  try {
334
333
  switch(api) {
334
+ case 'setAssetsPath':
335
+ TUICallEngine?.callExperimentalAPI?.(jsonStr);
336
+ break;
335
337
  case 'forceUseV2API':
336
338
  const { enable } = params;
337
339
  TUIStore.update(StoreName.CALL, NAME.IS_FORCE_USE_V2_API, !!enable);
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.4.5'; // basic-demo 原来上报使用
38
+ const Version = '4.4.6'; // basic-demo 原来上报使用
39
39
 
40
40
  // 输出产物
41
41
  export {