agora-appbuilder-core 4.0.0-beta.73 → 4.0.0-beta.75
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": "agora-appbuilder-core",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.75",
|
|
4
4
|
"description": "React Native template for RTE app builder",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"files": [
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
],
|
|
10
10
|
"scripts": {
|
|
11
11
|
"vercel-build": "npm run dev-setup && cd template && npm run web:build && cd .. && npm run copy-vercel",
|
|
12
|
-
"uikit": "rm -rf template/agora-rn-uikit && git clone https://github.com/AgoraIO-Community/ReactNative-UIKit.git template/agora-rn-uikit && cd template/agora-rn-uikit && git checkout v3-release-fixes",
|
|
12
|
+
"uikit": "rm -rf template/agora-rn-uikit && git clone https://github.com/AgoraIO-Community/ReactNative-UIKit.git template/agora-rn-uikit && cd template/agora-rn-uikit && git checkout v3-release-fixes-encryption",
|
|
13
13
|
"deps": "cd template && npm i",
|
|
14
14
|
"dev-setup": "npm run uikit && npm run deps && node devSetup.js",
|
|
15
15
|
"web-build": "cd template && npm run web:build && cd .. && npm run copy-vercel",
|
|
@@ -434,8 +434,8 @@ const RtcConfigure = (props: {children: React.ReactNode}) => {
|
|
|
434
434
|
//In livestreaming mode ->audience should not see their local video tile
|
|
435
435
|
mode == ChannelProfile.LiveBroadcasting &&
|
|
436
436
|
rtcProps?.role == ClientRole.Audience
|
|
437
|
-
? uidState.activeUids.filter((i) => i !== localUid)
|
|
438
|
-
: uidState.activeUids.filter((i) => i !== undefined),
|
|
437
|
+
? [...new Set(uidState.activeUids.filter((i) => i !== localUid))]
|
|
438
|
+
: [...new Set(uidState.activeUids.filter((i) => i !== undefined))],
|
|
439
439
|
pinnedUid:
|
|
440
440
|
uidState?.pinnedUid &&
|
|
441
441
|
uidState?.activeUids?.indexOf(uidState.pinnedUid) !== -1
|
|
@@ -1004,6 +1004,7 @@ export default class RtcEngine {
|
|
|
1004
1004
|
encryption: {
|
|
1005
1005
|
screenKey: string;
|
|
1006
1006
|
mode: RnEncryptionEnum;
|
|
1007
|
+
salt: string;
|
|
1007
1008
|
},
|
|
1008
1009
|
config: ScreenVideoTrackInitConfig = {},
|
|
1009
1010
|
audio: 'enable' | 'disable' | 'auto' = 'auto',
|
|
@@ -1024,6 +1025,8 @@ export default class RtcEngine {
|
|
|
1024
1025
|
await this.screenClient.setEncryptionConfig(
|
|
1025
1026
|
mode,
|
|
1026
1027
|
encryption.screenKey,
|
|
1028
|
+
encryption.salt,
|
|
1029
|
+
true, // encryptDataStream
|
|
1027
1030
|
);
|
|
1028
1031
|
} catch (e) {
|
|
1029
1032
|
console.log('e: Encryption for screenshare failed', e);
|
|
@@ -137,6 +137,8 @@ const PinnedVideo = ({renderData}) => {
|
|
|
137
137
|
{/* Pinned Video Top View(Desktop minimized and Mobile native and Mobile web) / Side View(Desktop maximized)*/}
|
|
138
138
|
{minUids?.map((minUid, i) => {
|
|
139
139
|
if (minUid === secondaryPinnedUid) return null;
|
|
140
|
+
if (minUid === pinnedUid) return null;
|
|
141
|
+
if (minUid === maxUid) return null;
|
|
140
142
|
//rendering minimized view
|
|
141
143
|
return (
|
|
142
144
|
<Pressable
|
|
@@ -864,7 +864,7 @@ export const VideoCallScreenLabels: I18nVideoCallScreenLabelsInterface = {
|
|
|
864
864
|
'Are you sure you want to stop recording? You can’t undo this action.',
|
|
865
865
|
[stopRecordingPopupPrimaryBtnText]: 'END RECORDING',
|
|
866
866
|
|
|
867
|
-
[clearAllWhiteboardPopupHeading]: 'Clear
|
|
867
|
+
[clearAllWhiteboardPopupHeading]: 'Clear Whiteboard?',
|
|
868
868
|
[clearAllWhiteboardPopupSubHeading]:
|
|
869
869
|
'Are you sure you want to clear the whiteboard?',
|
|
870
870
|
[clearAllWhiteboardPopupPrimaryBtnText]: 'CLEAR ALL',
|
|
@@ -913,7 +913,7 @@ export const VideoCallScreenLabels: I18nVideoCallScreenLabelsInterface = {
|
|
|
913
913
|
? 'Welcome to Chat!\nAll messages are deleted when call ends.'
|
|
914
914
|
: 'All messages are deleted when call ends.',
|
|
915
915
|
|
|
916
|
-
[groupChatInputPlaceHolderText]: name => `Chat
|
|
916
|
+
[groupChatInputPlaceHolderText]: name => `Chat publicly as ${name}...`,
|
|
917
917
|
[privateChatInputPlaceHolderText]: name => `Private Message to ${name}`,
|
|
918
918
|
|
|
919
919
|
[peoplePanelTurnoffAllCameraBtnText]: 'Turn off all cameras',
|