@trtc/calls-uikit-react 4.5.7 → 4.5.9

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.
@@ -1 +1 @@
1
- export declare function handleModalError(error: any): void;
1
+ export declare function handleModalError(error: any, isFromChat?: boolean): void;
@@ -25,3 +25,8 @@ export declare enum ROOM_ID_TYPE {
25
25
  NUMBER_ROOM_ID = 1,
26
26
  STRING_ROOM_ID = 2
27
27
  }
28
+ export declare enum CloudRecordPolicy {
29
+ FollowConsoleConfig = 0,
30
+ Enable = 1,
31
+ Disable = 2
32
+ }
@@ -1,5 +1,5 @@
1
1
  import TUICallService, { TUIGlobal, TUIStore, uiDesign } from './CallService/index';
2
- import { StoreName, NAME, CallRole, CallMediaType, CallStatus, StatusChange, VideoResolution, VideoDisplayMode, AudioPlayBackDevice, FeatureButton, LayoutMode } from './const/index';
2
+ import { StoreName, NAME, CallRole, CallMediaType, CallStatus, StatusChange, VideoResolution, VideoDisplayMode, AudioPlayBackDevice, FeatureButton, LayoutMode, CloudRecordPolicy } from './const/index';
3
3
  import { t } from './locales/index';
4
4
  declare const TUICallKitAPI: TUICallService;
5
- export { TUIGlobal, TUIStore, StoreName, TUICallKitAPI, NAME, CallStatus, CallRole, CallMediaType, StatusChange, VideoResolution, VideoDisplayMode, AudioPlayBackDevice, t, uiDesign, FeatureButton, LayoutMode, };
5
+ export { TUIGlobal, TUIStore, StoreName, TUICallKitAPI, NAME, CallStatus, CallRole, CallMediaType, StatusChange, VideoResolution, VideoDisplayMode, AudioPlayBackDevice, t, uiDesign, FeatureButton, LayoutMode, CloudRecordPolicy, };
@@ -1,4 +1,4 @@
1
- import { CallStatus, CallRole } from '../const/index';
1
+ import { CallStatus, CallRole, CloudRecordPolicy } from '../const/index';
2
2
  type SDKAppID = {
3
3
  SDKAppID: number;
4
4
  } | {
@@ -21,6 +21,7 @@ export interface ICallsParams {
21
21
  userData?: string;
22
22
  timeout?: number;
23
23
  offlinePushInfo?: IOfflinePushInfo;
24
+ cloudRecordPolicy?: CloudRecordPolicy;
24
25
  }
25
26
  export interface IUserInfo {
26
27
  userId: string;
@@ -119,6 +119,7 @@ export declare const en: {
119
119
  'not-supported-webrtc': string;
120
120
  'blacklist-user-tips': string;
121
121
  'is-already-calling': string;
122
+ 'in-calling-cannot-start-new': string;
122
123
  'need-init': string;
123
124
  "can't call yourself": string;
124
125
  'Use-phone-and-computer': string;
@@ -137,6 +138,11 @@ export declare const en: {
137
138
  'error.10012': string;
138
139
  'error.10013': string;
139
140
  'error.10014': string;
141
+ 'error.10015': string;
142
+ 'error.10015.chat': string;
143
+ 'error.10016': string;
144
+ 'error.10017': string;
145
+ 'error.10018': string;
140
146
  error: string;
141
147
  'ai-subtitle': string;
142
148
  'ai-subtitle-settings': string;
@@ -121,6 +121,7 @@ export declare const ja_JP: {
121
121
  'not-supported-webrtc': string;
122
122
  'blacklist-user-tips': string;
123
123
  'is-already-calling': string;
124
+ 'in-calling-cannot-start-new': string;
124
125
  'need-init': string;
125
126
  "can't call yourself": string;
126
127
  'accept-error': string;
@@ -136,6 +137,10 @@ export declare const ja_JP: {
136
137
  'error.10012': string;
137
138
  'error.10013': string;
138
139
  'error.10014': string;
140
+ 'error.10015.chat': string;
141
+ 'error.10016': string;
142
+ 'error.10017': string;
143
+ 'error.10018': string;
139
144
  error: string;
140
145
  'ai-subtitle': string;
141
146
  'ai-subtitle-settings': string;
@@ -117,6 +117,7 @@ export declare const zh: {
117
117
  'not-supported-webrtc': string;
118
118
  'blacklist-user-tips': string;
119
119
  'is-already-calling': string;
120
+ 'in-calling-cannot-start-new': string;
120
121
  'need-init': string;
121
122
  "can't call yourself": string;
122
123
  'accept-error': string;
@@ -132,6 +133,11 @@ export declare const zh: {
132
133
  'error.10012': string;
133
134
  'error.10013': string;
134
135
  'error.10014': string;
136
+ 'error.10015': string;
137
+ 'error.10015.chat': string;
138
+ 'error.10016': string;
139
+ 'error.10017': string;
140
+ 'error.10018': string;
135
141
  error: string;
136
142
  'ai-subtitle': string;
137
143
  'ai-subtitle-settings': string;