agora-appbuilder-core 4.1.10-beta.1 → 4.1.11
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/template/agora-rn-uikit/src/Utils/isBotUser.ts +1 -1
- package/template/android/app/build.gradle +0 -7
- package/template/bridge/rtc/webNg/RtcEngine.ts +2 -2
- package/template/bridge/rtm/web/Types.ts +0 -183
- package/template/bridge/rtm/web/index.ts +488 -450
- package/template/customization-api/typeDefinition.ts +0 -1
- package/template/defaultConfig.js +3 -4
- package/template/global.d.ts +0 -1
- package/template/ios/Podfile +0 -41
- package/template/package.json +5 -5
- package/template/src/AppRoutes.tsx +3 -3
- package/template/src/ai-agent/components/ControlButtons.tsx +1 -1
- package/template/src/assets/font-styles.css +1 -33
- package/template/src/assets/fonts/icomoon.ttf +0 -0
- package/template/src/assets/selection.json +1 -1
- package/template/src/atoms/ActionMenu.tsx +93 -13
- package/template/src/atoms/CustomIcon.tsx +1 -8
- package/template/src/atoms/DropDownMulti.tsx +80 -29
- package/template/src/atoms/Dropdown.tsx +0 -5
- package/template/src/atoms/Input.tsx +2 -1
- package/template/src/atoms/TertiaryButton.tsx +1 -1
- package/template/src/atoms/UserAvatar.tsx +1 -1
- package/template/src/components/ChatContext.ts +3 -5
- package/template/src/components/Controls.tsx +167 -208
- package/template/src/components/DeviceConfigure.tsx +1 -1
- package/template/src/components/EventsConfigure.tsx +168 -118
- package/template/src/components/Navbar.tsx +11 -14
- package/template/src/components/RTMConfigure.tsx +819 -32
- package/template/src/components/beauty-effect/useBeautyEffects.tsx +13 -50
- package/template/src/components/chat/chatConfigure.tsx +1 -7
- package/template/src/components/chat-messages/useChatMessages.tsx +11 -43
- package/template/src/components/controls/useControlPermissionMatrix.tsx +4 -32
- package/template/src/components/participants/AllHostParticipants.tsx +2 -10
- package/template/src/components/participants/Participant.tsx +1 -7
- package/template/src/components/participants/UserActionMenuOptions.tsx +2 -12
- package/template/src/components/precall/joinCallBtn.native.tsx +7 -2
- package/template/src/components/precall/joinCallBtn.tsx +7 -2
- package/template/src/components/precall/joinWaitingRoomBtn.native.tsx +16 -15
- package/template/src/components/precall/joinWaitingRoomBtn.tsx +31 -17
- package/template/src/components/precall/textInput.tsx +45 -22
- package/template/src/components/precall/usePreCall.tsx +7 -0
- package/template/src/components/recordings/RecordingsDateTable.tsx +2 -3
- package/template/src/components/room-info/useRoomInfo.tsx +5 -0
- package/template/src/components/useUserPreference.tsx +12 -39
- package/template/src/components/virtual-background/useVB.tsx +0 -18
- package/template/src/components/whiteboard/WhiteboardConfigure.tsx +0 -27
- package/template/src/language/default-labels/videoCallScreenLabels.ts +27 -11
- package/template/src/logger/AppBuilderLogger.tsx +3 -11
- package/template/src/pages/VideoCall.tsx +518 -171
- package/template/src/pages/video-call/ActionSheetContent.tsx +77 -77
- package/template/src/pages/video-call/SidePanelHeader.tsx +81 -53
- package/template/src/pages/video-call/VideoCallScreen.tsx +0 -18
- package/template/src/pages/video-call/VideoCallScreenWrapper.tsx +1 -0
- package/template/src/rtm/RTMEngine.ts +37 -262
- package/template/src/rtm/utils.ts +1 -68
- package/template/src/rtm-events/constants.ts +7 -40
- package/template/src/rtm-events-api/Events.ts +39 -158
- package/template/src/subComponents/ChatBubble.tsx +3 -3
- package/template/src/subComponents/ChatContainer.tsx +9 -19
- package/template/src/subComponents/LocalAudioMute.tsx +2 -2
- package/template/src/subComponents/LocalVideoMute.tsx +2 -2
- package/template/src/subComponents/SidePanelEnum.tsx +0 -1
- package/template/src/subComponents/caption/Caption.tsx +48 -7
- package/template/src/subComponents/caption/CaptionContainer.tsx +324 -51
- package/template/src/subComponents/caption/CaptionIcon.tsx +35 -34
- package/template/src/subComponents/caption/CaptionText.tsx +103 -2
- package/template/src/subComponents/caption/LanguageSelectorPopup.tsx +179 -69
- package/template/src/subComponents/caption/Transcript.tsx +46 -11
- package/template/src/subComponents/caption/TranscriptIcon.tsx +27 -35
- package/template/src/subComponents/caption/TranscriptText.tsx +78 -3
- package/template/src/subComponents/caption/proto/ptoto.js +38 -4
- package/template/src/subComponents/caption/proto/test.proto +34 -19
- package/template/src/subComponents/caption/useCaption.tsx +754 -11
- package/template/src/subComponents/caption/useSTTAPI.tsx +118 -205
- package/template/src/subComponents/caption/useStreamMessageUtils.native.ts +152 -33
- package/template/src/subComponents/caption/useStreamMessageUtils.ts +165 -34
- package/template/src/subComponents/caption/utils.ts +171 -3
- package/template/src/subComponents/chat/ChatSendButton.tsx +0 -1
- package/template/src/subComponents/screenshare/ScreenshareButton.tsx +0 -16
- package/template/src/subComponents/screenshare/ScreenshareConfigure.native.tsx +1 -1
- package/template/src/subComponents/waiting-rooms/WaitingRoomControls.tsx +4 -7
- package/template/src/utils/SdkEvents.ts +3 -0
- package/template/src/utils/useEndCall.ts +4 -4
- package/template/src/utils/useMuteToggleLocal.ts +10 -14
- package/template/src/utils/useSpeechToText.ts +31 -20
- package/template/bridge/rtm/web/index-legacy.ts +0 -540
- package/template/src/components/RTMConfigure-legacy.tsx +0 -848
- package/template/src/components/UserGlobalPreferenceProvider.tsx +0 -227
- package/template/src/components/breakout-room/BreakoutRoomPanel.tsx +0 -58
- package/template/src/components/breakout-room/context/BreakoutRoomContext.tsx +0 -2508
- package/template/src/components/breakout-room/events/BreakoutRoomEventsConfigure.tsx +0 -272
- package/template/src/components/breakout-room/events/constants.ts +0 -17
- package/template/src/components/breakout-room/hoc/BreakoutRoomNameRenderer.tsx +0 -68
- package/template/src/components/breakout-room/hooks/useBreakoutRoomExit.ts +0 -49
- package/template/src/components/breakout-room/state/reducer.ts +0 -522
- package/template/src/components/breakout-room/state/types.ts +0 -54
- package/template/src/components/breakout-room/ui/BreakoutMeetingTitle.tsx +0 -60
- package/template/src/components/breakout-room/ui/BreakoutRoomActionMenu.tsx +0 -136
- package/template/src/components/breakout-room/ui/BreakoutRoomAnnouncementModal.tsx +0 -135
- package/template/src/components/breakout-room/ui/BreakoutRoomGroupSettings.tsx +0 -588
- package/template/src/components/breakout-room/ui/BreakoutRoomMainRoomUsers.tsx +0 -142
- package/template/src/components/breakout-room/ui/BreakoutRoomMemberActionMenu.tsx +0 -122
- package/template/src/components/breakout-room/ui/BreakoutRoomParticipants.tsx +0 -124
- package/template/src/components/breakout-room/ui/BreakoutRoomRaiseHand.tsx +0 -65
- package/template/src/components/breakout-room/ui/BreakoutRoomRenameModal.tsx +0 -227
- package/template/src/components/breakout-room/ui/BreakoutRoomSettings.tsx +0 -140
- package/template/src/components/breakout-room/ui/BreakoutRoomTransition.tsx +0 -52
- package/template/src/components/breakout-room/ui/BreakoutRoomView.tsx +0 -193
- package/template/src/components/breakout-room/ui/ExitBreakoutRoomIconButton.tsx +0 -79
- package/template/src/components/breakout-room/ui/ParticipantManualAssignmentModal.tsx +0 -638
- package/template/src/components/breakout-room/ui/SelectParticipantAssignmentStrategy.tsx +0 -57
- package/template/src/components/common/Dividers.tsx +0 -53
- package/template/src/components/controls/toolbar-items/ExitBreakoutRoomToolbarItem.tsx +0 -13
- package/template/src/components/raise-hand/RaiseHandButton.tsx +0 -50
- package/template/src/components/raise-hand/RaiseHandProvider.tsx +0 -308
- package/template/src/components/raise-hand/index.ts +0 -14
- package/template/src/components/room-info/useCurrentRoomInfo.tsx +0 -42
- package/template/src/components/room-info/useSetBreakoutRoomInfo.tsx +0 -64
- package/template/src/pages/video-call/BreakoutVideoCall.tsx +0 -213
- package/template/src/pages/video-call/VideoCallContent.tsx +0 -211
- package/template/src/pages/video-call/VideoCallStateWrapper.tsx +0 -495
- package/template/src/rtm/RTMConfigureBreakoutRoomProvider.tsx +0 -882
- package/template/src/rtm/RTMConfigureMainRoomProvider.tsx +0 -757
- package/template/src/rtm/RTMCoreProvider.tsx +0 -419
- package/template/src/rtm/RTMGlobalStateProvider.tsx +0 -706
- package/template/src/rtm/RTMStatusBanner.tsx +0 -99
- package/template/src/rtm/constants.ts +0 -12
- package/template/src/rtm/hooks/useMainRoomUserDisplayName.ts +0 -45
- package/template/src/rtm/rtm-presence-utils.ts +0 -344
- package/template/src/subComponents/chat/ChatAnnouncementView.tsx +0 -65
- package/template/src/utils/useDebouncedCallback.tsx +0 -20
|
@@ -86,7 +86,6 @@ export interface VideoCallInterface extends BeforeAndAfterInterface {
|
|
|
86
86
|
captionPanel?: React.ComponentType;
|
|
87
87
|
transcriptPanel?: React.ComponentType;
|
|
88
88
|
virtualBackgroundPanel?: React.ComponentType<VBPanelProps>;
|
|
89
|
-
breakoutRoomPanel?: React.ComponentType;
|
|
90
89
|
customLayout?: (layouts: LayoutItem[]) => LayoutItem[];
|
|
91
90
|
wrapper?: React.ComponentType;
|
|
92
91
|
customAgentInterface?: React.ComponentType<CustomAgentInterfaceProps>;
|
|
@@ -11,7 +11,7 @@ const DefaultConfig = {
|
|
|
11
11
|
PRECALL: true,
|
|
12
12
|
CHAT: true,
|
|
13
13
|
CLOUD_RECORDING: false,
|
|
14
|
-
RECORDING_MODE: '
|
|
14
|
+
RECORDING_MODE: 'WEB',
|
|
15
15
|
SCREEN_SHARING: true,
|
|
16
16
|
LANDING_SUB_HEADING: 'The Real-Time Engagement Platform',
|
|
17
17
|
ENCRYPTION_ENABLED: false,
|
|
@@ -77,8 +77,8 @@ const DefaultConfig = {
|
|
|
77
77
|
CHAT_ORG_NAME: '',
|
|
78
78
|
CHAT_APP_NAME: '',
|
|
79
79
|
CHAT_URL: '',
|
|
80
|
-
CLI_VERSION: '3.1.
|
|
81
|
-
CORE_VERSION: '4.1.
|
|
80
|
+
CLI_VERSION: '3.1.11',
|
|
81
|
+
CORE_VERSION: '4.1.11',
|
|
82
82
|
DISABLE_LANDSCAPE_MODE: false,
|
|
83
83
|
STT_AUTO_START: false,
|
|
84
84
|
CLOUD_RECORDING_AUTO_START: false,
|
|
@@ -91,7 +91,6 @@ const DefaultConfig = {
|
|
|
91
91
|
ENABLE_WAITING_ROOM_AUTO_APPROVAL: false,
|
|
92
92
|
ENABLE_WAITING_ROOM_AUTO_REQUEST: false,
|
|
93
93
|
ENABLE_TEXT_TRACKS: false,
|
|
94
|
-
ENABLE_BREAKOUT_ROOM: false,
|
|
95
94
|
};
|
|
96
95
|
|
|
97
96
|
module.exports = DefaultConfig;
|
package/template/global.d.ts
CHANGED
|
@@ -178,7 +178,6 @@ interface ConfigInterface {
|
|
|
178
178
|
ENABLE_WAITING_ROOM_AUTO_APPROVAL: boolean;
|
|
179
179
|
ENABLE_WAITING_ROOM_AUTO_REQUEST: boolean;
|
|
180
180
|
ENABLE_TEXT_TRACKS: boolean;
|
|
181
|
-
ENABLE_BREAKOUT_ROOM: boolean;
|
|
182
181
|
}
|
|
183
182
|
declare var $config: ConfigInterface;
|
|
184
183
|
declare module 'customization' {
|
package/template/ios/Podfile
CHANGED
|
@@ -5,13 +5,6 @@ require Pod::Executable.execute_command('node', ['-p',
|
|
|
5
5
|
{paths: [process.argv[1]]},
|
|
6
6
|
)', __dir__]).strip
|
|
7
7
|
|
|
8
|
-
require 'cocoapods'
|
|
9
|
-
class Pod::Installer::Xcode::TargetValidator
|
|
10
|
-
def verify_no_duplicate_framework_and_library_names(*)
|
|
11
|
-
# Do nothing - allows duplicate frameworks
|
|
12
|
-
end
|
|
13
|
-
end
|
|
14
|
-
|
|
15
8
|
platform :ios, min_ios_version_supported
|
|
16
9
|
prepare_react_native_project!
|
|
17
10
|
|
|
@@ -66,40 +59,6 @@ target 'HelloWorld' do
|
|
|
66
59
|
:mac_catalyst_enabled => false
|
|
67
60
|
)
|
|
68
61
|
__apply_Xcode_12_5_M1_post_install_workaround(installer)
|
|
69
|
-
|
|
70
|
-
# === BEGIN: Bitcode Stripping ===
|
|
71
|
-
bitcode_strip_path = `xcrun --find bitcode_strip`.chomp
|
|
72
|
-
|
|
73
|
-
def strip_bitcode(framework_path, bitcode_strip_path)
|
|
74
|
-
if File.exist?(framework_path)
|
|
75
|
-
puts ":wrench: Stripping bitcode from: #{framework_path}"
|
|
76
|
-
system("#{bitcode_strip_path} #{framework_path} -r -o #{framework_path}")
|
|
77
|
-
else
|
|
78
|
-
puts ":warning: Framework not found: #{framework_path}"
|
|
79
|
-
end
|
|
80
|
-
end
|
|
81
|
-
|
|
82
|
-
frameworks_to_strip = [
|
|
83
|
-
# Agora RTM - device & simulator
|
|
84
|
-
"Pods/AgoraRtm_iOS/AgoraRtmKit.xcframework/ios-arm64_armv7/AgoraRtmKit.framework/AgoraRtmKit",
|
|
85
|
-
"Pods/AgoraRtm_iOS/AgoraRtmKit.xcframework/ios-arm64_i386_x86_64-simulator/AgoraRtmKit.framework/AgoraRtmKit",
|
|
86
|
-
|
|
87
|
-
# Hermes - device & simulator
|
|
88
|
-
"Pods/hermes-engine/destroot/Library/Frameworks/universal/hermes.xcframework/ios-arm64/hermes.framework/hermes",
|
|
89
|
-
"Pods/hermes-engine/destroot/Library/Frameworks/universal/hermes.xcframework/ios-arm64_x86_64-simulator/hermes.framework/hermes"
|
|
90
|
-
]
|
|
91
|
-
|
|
92
|
-
frameworks_to_strip.each do |framework|
|
|
93
|
-
strip_bitcode(framework, bitcode_strip_path)
|
|
94
|
-
end
|
|
95
|
-
|
|
96
|
-
# Disable ENABLE_BITCODE for all Pod targets
|
|
97
|
-
installer.pods_project.targets.each do |target|
|
|
98
|
-
target.build_configurations.each do |config|
|
|
99
|
-
config.build_settings['ENABLE_BITCODE'] = 'NO'
|
|
100
|
-
end
|
|
101
|
-
end
|
|
102
|
-
# === END: Bitcode Stripping ===
|
|
103
62
|
end
|
|
104
63
|
end
|
|
105
64
|
|
package/template/package.json
CHANGED
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
"url": "https://github.com/AgoraIO-Community/app-builder-core"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@datadog/browser-logs": "
|
|
52
|
-
"@datadog/mobile-react-native": "2.
|
|
51
|
+
"@datadog/browser-logs": "^5.15.0",
|
|
52
|
+
"@datadog/mobile-react-native": "^2.3.2",
|
|
53
53
|
"@gorhom/bottom-sheet": "4.4.7",
|
|
54
54
|
"@netless/react-native-whiteboard": "^0.0.14",
|
|
55
55
|
"@openspacelabs/react-native-zoomable-view": "^2.1.1",
|
|
@@ -63,9 +63,9 @@
|
|
|
63
63
|
"agora-extension-ai-denoiser": "1.1.0",
|
|
64
64
|
"agora-extension-beauty-effect": "^1.0.2-beta",
|
|
65
65
|
"agora-extension-virtual-background": "^1.1.3",
|
|
66
|
-
"agora-react-native-rtm": "
|
|
66
|
+
"agora-react-native-rtm": "1.5.1",
|
|
67
67
|
"agora-rtc-sdk-ng": "4.23.4",
|
|
68
|
-
"agora-rtm-sdk": "
|
|
68
|
+
"agora-rtm-sdk": "1.5.1",
|
|
69
69
|
"buffer": "^6.0.3",
|
|
70
70
|
"electron-log": "4.3.5",
|
|
71
71
|
"electron-squirrel-startup": "1.0.0",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"nosleep.js": "0.12.0",
|
|
82
82
|
"npm": "^9.7.2",
|
|
83
83
|
"p-queue": "^7.3.4",
|
|
84
|
-
"protobufjs": "^7.2.
|
|
84
|
+
"protobufjs": "^7.2.5",
|
|
85
85
|
"react": "18.2.0",
|
|
86
86
|
"react-dom": "18.2.0",
|
|
87
87
|
"react-is": "18.0.0",
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import React from 'react';
|
|
13
13
|
import Join from './pages/Join';
|
|
14
|
+
import VideoCall from './pages/VideoCall';
|
|
14
15
|
import Create from './pages/Create';
|
|
15
16
|
import {Route, Switch, Redirect} from './components/Router';
|
|
16
17
|
import AuthRoute from './auth/AuthRoute';
|
|
@@ -24,7 +25,6 @@ import {useIsRecordingBot} from './subComponents/recording/useIsRecordingBot';
|
|
|
24
25
|
import {isValidReactComponent} from './utils/common';
|
|
25
26
|
import ErrorBoundary from './components/ErrorBoundary';
|
|
26
27
|
import {ErrorBoundaryFallback} from './components/ErrorBoundaryFallback';
|
|
27
|
-
import VideoCallStateWrapper from './pages/video-call/VideoCallStateWrapper';
|
|
28
28
|
|
|
29
29
|
function VideoCallWrapper(props) {
|
|
30
30
|
const {isRecordingBot} = useIsRecordingBot();
|
|
@@ -32,13 +32,13 @@ function VideoCallWrapper(props) {
|
|
|
32
32
|
return isRecordingBot ? (
|
|
33
33
|
<RecordingBotRoute history={props.history}>
|
|
34
34
|
<ErrorBoundary fallback={ErrorBoundaryFallbackComponent}>
|
|
35
|
-
<
|
|
35
|
+
<VideoCall />
|
|
36
36
|
</ErrorBoundary>
|
|
37
37
|
</RecordingBotRoute>
|
|
38
38
|
) : (
|
|
39
39
|
<AuthRoute>
|
|
40
40
|
<ErrorBoundary fallback={ErrorBoundaryFallbackComponent}>
|
|
41
|
-
<
|
|
41
|
+
<VideoCall />
|
|
42
42
|
</ErrorBoundary>
|
|
43
43
|
</AuthRoute>
|
|
44
44
|
);
|
|
@@ -31,7 +31,7 @@ export const MicButton = () => {
|
|
|
31
31
|
borderRadius: 50,
|
|
32
32
|
marginHorizontal: 8,
|
|
33
33
|
}}
|
|
34
|
-
onPress={
|
|
34
|
+
onPress={() => muteToggle(MUTE_LOCAL_TYPE.audio)}>
|
|
35
35
|
<Image
|
|
36
36
|
style={[styles.iconStyle, {tintColor: $config.FONT_COLOR}]}
|
|
37
37
|
source={audio ? MicOnIcon : MicOffIcon}
|
|
@@ -24,42 +24,10 @@
|
|
|
24
24
|
-moz-osx-font-smoothing: grayscale;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
.icon-
|
|
28
|
-
content: '\e9ac';
|
|
29
|
-
color: #ffab00;
|
|
30
|
-
}
|
|
31
|
-
.icon-open-room:before {
|
|
32
|
-
content: '\e9ab';
|
|
33
|
-
color: #fff;
|
|
34
|
-
}
|
|
35
|
-
.icon-people-assigned:before {
|
|
27
|
+
.icon-lang-translate:before {
|
|
36
28
|
content: '\e9a4';
|
|
37
|
-
color: #e8eaed;
|
|
38
|
-
}
|
|
39
|
-
.icon-double-up-arrow:before {
|
|
40
|
-
content: '\e9a5';
|
|
41
|
-
color: #fff;
|
|
42
|
-
}
|
|
43
|
-
.icon-move-up:before {
|
|
44
|
-
content: '\e9a6';
|
|
45
29
|
color: #fff;
|
|
46
30
|
}
|
|
47
|
-
.icon-close-room:before {
|
|
48
|
-
content: '\e9a7';
|
|
49
|
-
color: #fff;
|
|
50
|
-
}
|
|
51
|
-
.icon-announcement:before {
|
|
52
|
-
content: '\e9a8';
|
|
53
|
-
color: #fff;
|
|
54
|
-
}
|
|
55
|
-
.icon-settings-outlined:before {
|
|
56
|
-
content: '\e9a9';
|
|
57
|
-
color: #fff;
|
|
58
|
-
}
|
|
59
|
-
.icon-breakout-room:before {
|
|
60
|
-
content: '\e9aa';
|
|
61
|
-
color: #d9d9d9;
|
|
62
|
-
}
|
|
63
31
|
.icon-spotlight:before {
|
|
64
32
|
content: '\e9a3';
|
|
65
33
|
color: #fff;
|
|
Binary file
|