agora-appbuilder-core 4.0.20-beta.6 → 4.0.20
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 +1 -1
- package/template/Gulpfile.js +1 -1
- package/template/customization-api/sub-components.ts +0 -3
- package/template/customization-api/typeDefinition.ts +0 -2
- package/template/customization-api/utils.ts +0 -3
- package/template/defaultConfig.js +1 -4
- package/template/global.d.ts +0 -3
- package/template/src/AppRoutes.tsx +0 -7
- package/template/src/assets/font-styles.css +160 -164
- package/template/src/assets/fonts/icomoon.ttf +0 -0
- package/template/src/assets/selection.json +1 -3452
- package/template/src/atoms/CustomIcon.tsx +0 -1
- package/template/src/auth/AuthProvider.tsx +5 -0
- package/template/src/auth/config.ts +9 -1
- package/template/src/components/Controls.tsx +28 -42
- package/template/src/components/Navbar.tsx +1 -3
- package/template/src/components/chat/chatConfigure.native.tsx +15 -20
- package/template/src/components/chat/chatConfigure.tsx +20 -32
- package/template/src/components/precall/joinWaitingRoomBtn.native.tsx +3 -3
- package/template/src/components/precall/joinWaitingRoomBtn.tsx +3 -3
- package/template/src/components/recording-bot/RecordingBotRoute.tsx +0 -6
- package/template/src/components/recordings/recording-table.tsx +69 -165
- package/template/src/components/recordings/style.ts +0 -55
- package/template/src/components/recordings/utils.ts +4 -46
- package/template/src/language/default-labels/videoCallScreenLabels.ts +1 -3
- package/template/src/logger/transports/agora-transport.native.ts +3 -3
- package/template/src/logger/transports/agora-transport.ts +2 -2
- package/template/src/pages/VideoCall.tsx +22 -25
- package/template/src/pages/video-call/ActionSheetContent.tsx +0 -3
- package/template/src/pages/video-call/VideoCallScreen.tsx +3 -38
- package/template/src/rtm-events/constants.ts +8 -5
- package/template/src/subComponents/ChatInput.native.tsx +2 -4
- package/template/src/subComponents/ChatInput.tsx +2 -6
- package/template/src/subComponents/EndcallPopup.tsx +1 -5
- package/template/src/subComponents/caption/Transcript.tsx +1 -1
- package/template/src/subComponents/caption/TranscriptIcon.tsx +2 -2
- package/template/src/subComponents/caption/useSTTAPI.tsx +2 -17
- package/template/src/subComponents/chat/ChatActionMenu.tsx +2 -8
- package/template/src/subComponents/chat/ChatAttachment.native.tsx +4 -10
- package/template/src/subComponents/chat/ChatSendButton.tsx +2 -4
- package/template/src/subComponents/chat/ImagePopup.tsx +2 -8
- package/template/src/subComponents/recording/useIsRecordingBot.tsx +1 -2
- package/template/src/subComponents/recording/useRecording.tsx +127 -319
- package/template/src/subComponents/screenshare/ScreenshareConfigure.tsx +1 -30
- package/template/src/utils/useLocalAudio.ts +1 -32
- package/template/tsconfig_wsdk_index.json +2 -2
- package/template/src/utils/fetch-retry.ts +0 -23
- package/template/src/utils/useLocalVideo.ts +0 -69
- package/template/src/utils/useSpeechToText.ts +0 -102
package/package.json
CHANGED
package/template/Gulpfile.js
CHANGED
|
@@ -72,6 +72,3 @@ export type {
|
|
|
72
72
|
ToolbarCustomItem,
|
|
73
73
|
ToolbarPresetProps,
|
|
74
74
|
} from '../src/atoms/ToolbarPreset';
|
|
75
|
-
export {default as TranscriptPanel} from '../src/subComponents/caption/Transcript';
|
|
76
|
-
export type {TranscriptProps} from '../src/subComponents/caption/Transcript';
|
|
77
|
-
export {default as CaptionPanel} from '../src/subComponents/caption/CaptionContainer';
|
|
@@ -68,8 +68,6 @@ export interface VideoCallInterface extends BeforeAndAfterInterface {
|
|
|
68
68
|
//settingsPanel?: React.ComponentType;
|
|
69
69
|
participantsPanel?: React.ComponentType;
|
|
70
70
|
chat?: ChatCmpInterface;
|
|
71
|
-
captionPanel?: React.ComponentType;
|
|
72
|
-
transcriptPanel?: React.ComponentType;
|
|
73
71
|
customLayout?: (layouts: LayoutItem[]) => LayoutItem[];
|
|
74
72
|
wrapper?: React.ComponentType;
|
|
75
73
|
invitePopup?: {
|
|
@@ -32,6 +32,3 @@ export {isWeb, isIOS, isAndroid, isDesktop} from '../src/utils/common';
|
|
|
32
32
|
export {default as isMobileOrTablet} from '../src/utils/isMobileOrTablet';
|
|
33
33
|
export {useLocalUid} from '../agora-rn-uikit';
|
|
34
34
|
export {default as useLocalAudio} from '../src/utils/useLocalAudio';
|
|
35
|
-
export {default as useLocalVideo} from '../src/utils/useLocalVideo';
|
|
36
|
-
export type {LanguageType} from '../src/subComponents/caption/utils';
|
|
37
|
-
export {default as useSpeechToText} from '../src/utils/useSpeechToText';
|
|
@@ -11,7 +11,6 @@ const DefaultConfig = {
|
|
|
11
11
|
PRECALL: true,
|
|
12
12
|
CHAT: true,
|
|
13
13
|
CLOUD_RECORDING: false,
|
|
14
|
-
RECORDING_MODE: 'WEB',
|
|
15
14
|
SCREEN_SHARING: true,
|
|
16
15
|
LANDING_SUB_HEADING: 'The Real-Time Engagement Platform',
|
|
17
16
|
ENCRYPTION_ENABLED: false,
|
|
@@ -62,8 +61,6 @@ const DefaultConfig = {
|
|
|
62
61
|
ENABLE_IDP_AUTH: false,
|
|
63
62
|
ENABLE_TOKEN_AUTH: false,
|
|
64
63
|
ENABLE_STT: false,
|
|
65
|
-
ENABLE_CAPTION: true,
|
|
66
|
-
ENABLE_MEETING_TRANSCRIPT: true,
|
|
67
64
|
ENABLE_NOISE_CANCELLATION: true,
|
|
68
65
|
ENABLE_VIRTUAL_BACKGROUND: true,
|
|
69
66
|
ENABLE_WHITEBOARD: false,
|
|
@@ -72,7 +69,7 @@ const DefaultConfig = {
|
|
|
72
69
|
WHITEBOARD_APPIDENTIFIER: '',
|
|
73
70
|
WHITEBOARD_REGION: '',
|
|
74
71
|
ENABLE_NOISE_CANCELLATION_BY_DEFAULT: false,
|
|
75
|
-
CHAT_ORG_NAME:
|
|
72
|
+
CHAT_ORG_NAME:'',
|
|
76
73
|
CHAT_APP_NAME: '',
|
|
77
74
|
CHAT_URL: '',
|
|
78
75
|
};
|
package/template/global.d.ts
CHANGED
|
@@ -53,7 +53,6 @@ interface ConfigInterface {
|
|
|
53
53
|
PRECALL: boolean;
|
|
54
54
|
CHAT: boolean;
|
|
55
55
|
CLOUD_RECORDING: boolean;
|
|
56
|
-
RECORDING_MODE: 'WEB' | 'MIX';
|
|
57
56
|
SCREEN_SHARING: boolean;
|
|
58
57
|
CLIENT_ID: string;
|
|
59
58
|
LANDING_SUB_HEADING: string;
|
|
@@ -105,8 +104,6 @@ interface ConfigInterface {
|
|
|
105
104
|
ENABLE_IDP_AUTH: boolean;
|
|
106
105
|
PROJECT_ID: string;
|
|
107
106
|
ENABLE_STT: boolean;
|
|
108
|
-
ENABLE_CAPTION: boolean;
|
|
109
|
-
ENABLE_MEETING_TRANSCRIPT: boolean;
|
|
110
107
|
ENABLE_NOISE_CANCELLATION: boolean;
|
|
111
108
|
ENABLE_VIRTUAL_BACKGROUND: boolean;
|
|
112
109
|
ENABLE_WHITEBOARD: boolean;
|
|
@@ -22,17 +22,10 @@ import {CUSTOM_ROUTES_PREFIX, CustomRoutesInterface} from 'customization-api';
|
|
|
22
22
|
import PrivateRoute from './components/PrivateRoute';
|
|
23
23
|
import RecordingBotRoute from './components/recording-bot/RecordingBotRoute';
|
|
24
24
|
import {useIsRecordingBot} from './subComponents/recording/useIsRecordingBot';
|
|
25
|
-
import {LogSource, logger} from './logger/AppBuilderLogger';
|
|
26
25
|
import {isValidReactComponent} from './utils/common';
|
|
27
26
|
|
|
28
27
|
function VideoCallWrapper(props) {
|
|
29
28
|
const {isRecordingBotRoute} = useIsRecordingBot();
|
|
30
|
-
logger.debug(
|
|
31
|
-
LogSource.Internals,
|
|
32
|
-
'RECORDING',
|
|
33
|
-
'Check if this is a recording bot route',
|
|
34
|
-
isRecordingBotRoute,
|
|
35
|
-
);
|
|
36
29
|
return isRecordingBotRoute ? (
|
|
37
30
|
<RecordingBotRoute history={props.history}>
|
|
38
31
|
<VideoCall />
|