@trtc/calls-uikit-react 4.5.8 → 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.
- package/package.json +2 -2
- package/src/TUICallService/CallService/UIKitModal.ts +44 -3
- package/src/TUICallService/CallService/chatCombine.ts +8 -0
- package/src/TUICallService/CallService/index.ts +1 -1
- package/src/TUICallService/const/index.ts +5 -0
- package/src/TUICallService/index.ts +2 -0
- package/src/TUICallService/interface/ICallService.ts +2 -1
- package/src/TUICallService/locales/en.ts +4 -1
- package/src/TUICallService/locales/ja_JP.ts +4 -1
- package/src/TUICallService/locales/zh-cn.ts +4 -1
- package/src/index.ts +1 -1
- package/tuicall-uikit-react.es.js +1159 -1112
- package/tuicall-uikit-react.umd.js +3 -3
- package/types/TUICallService/const/index.d.ts +5 -0
- package/types/TUICallService/index.d.ts +2 -2
- package/types/TUICallService/interface/ICallService.d.ts +2 -1
- package/types/TUICallService/locales/en.d.ts +3 -0
- package/types/TUICallService/locales/ja_JP.d.ts +3 -0
- package/types/TUICallService/locales/zh-cn.d.ts +3 -0
|
@@ -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;
|
|
@@ -140,6 +141,8 @@ export declare const en: {
|
|
|
140
141
|
'error.10015': string;
|
|
141
142
|
'error.10015.chat': string;
|
|
142
143
|
'error.10016': string;
|
|
144
|
+
'error.10017': string;
|
|
145
|
+
'error.10018': string;
|
|
143
146
|
error: string;
|
|
144
147
|
'ai-subtitle': string;
|
|
145
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;
|
|
@@ -138,6 +139,8 @@ export declare const ja_JP: {
|
|
|
138
139
|
'error.10014': string;
|
|
139
140
|
'error.10015.chat': string;
|
|
140
141
|
'error.10016': string;
|
|
142
|
+
'error.10017': string;
|
|
143
|
+
'error.10018': string;
|
|
141
144
|
error: string;
|
|
142
145
|
'ai-subtitle': string;
|
|
143
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;
|
|
@@ -135,6 +136,8 @@ export declare const zh: {
|
|
|
135
136
|
'error.10015': string;
|
|
136
137
|
'error.10015.chat': string;
|
|
137
138
|
'error.10016': string;
|
|
139
|
+
'error.10017': string;
|
|
140
|
+
'error.10018': string;
|
|
138
141
|
error: string;
|
|
139
142
|
'ai-subtitle': string;
|
|
140
143
|
'ai-subtitle-settings': string;
|