agora-appbuilder-core 4.0.20-beta.3 → 4.0.20-beta.4
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/src/components/Controls.tsx +1 -0
- package/template/src/components/precall/joinWaitingRoomBtn.native.tsx +3 -3
- package/template/src/components/precall/joinWaitingRoomBtn.tsx +3 -3
- package/template/src/components/recordings/recording-table.tsx +1 -1
- package/template/src/subComponents/screenshare/ScreenshareConfigure.tsx +12 -4
package/package.json
CHANGED
|
@@ -895,6 +895,7 @@ export const MoreButtonToolbarItem = () => {
|
|
|
895
895
|
$config.ENABLE_CAPTION &&
|
|
896
896
|
(isHost || (!isHost && isSTTActive))) ||
|
|
897
897
|
$config.ENABLE_NOISE_CANCELLATION ||
|
|
898
|
+
(isHost && $config.CLOUD_RECORDING && isWeb()) ||
|
|
898
899
|
($config.ENABLE_VIRTUAL_BACKGROUND && !$config.AUDIO_ROOM) ||
|
|
899
900
|
(isHost && $config.ENABLE_WHITEBOARD && isWebInternal()) ? (
|
|
900
901
|
<ToolbarItem testID="more-btn">
|
|
@@ -128,9 +128,9 @@ const JoinWaitingRoomBtn = (props: PreCallJoinWaitingRoomBtnProps) => {
|
|
|
128
128
|
screenShareUid: screenShare.uid,
|
|
129
129
|
whiteboard,
|
|
130
130
|
chat: {
|
|
131
|
-
user_token: chat
|
|
132
|
-
group_id: chat
|
|
133
|
-
is_group_owner: chat
|
|
131
|
+
user_token: chat?.userToken,
|
|
132
|
+
group_id: chat?.groupId,
|
|
133
|
+
is_group_owner: chat?.isGroupOwner,
|
|
134
134
|
},
|
|
135
135
|
},
|
|
136
136
|
};
|
|
@@ -134,9 +134,9 @@ const JoinWaitingRoomBtn = (props: PreCallJoinWaitingRoomBtnProps) => {
|
|
|
134
134
|
screenShareUid: screenShare.uid,
|
|
135
135
|
whiteboard,
|
|
136
136
|
chat: {
|
|
137
|
-
user_token: chat
|
|
138
|
-
group_id: chat
|
|
139
|
-
is_group_owner: chat
|
|
137
|
+
user_token: chat?.userToken,
|
|
138
|
+
group_id: chat?.groupId,
|
|
139
|
+
is_group_owner: chat?.isGroupOwner,
|
|
140
140
|
},
|
|
141
141
|
},
|
|
142
142
|
};
|
|
@@ -64,7 +64,7 @@ function RTableBody({status, recordings}) {
|
|
|
64
64
|
if (
|
|
65
65
|
recordingStatus === 'STOPPING' ||
|
|
66
66
|
recordingStatus === 'STARTED' ||
|
|
67
|
-
recordingStatus === 'INPROGRESS'
|
|
67
|
+
(recordingStatus === 'INPROGRESS' && !item?.download_url)
|
|
68
68
|
) {
|
|
69
69
|
return (
|
|
70
70
|
<View key={item.id} style={style.pt12}>
|
|
@@ -277,11 +277,20 @@ export const ScreenshareConfigure = (props: {
|
|
|
277
277
|
|
|
278
278
|
const executeRecordingQuery = (isScreenActive: boolean) => {
|
|
279
279
|
if (isScreenActive) {
|
|
280
|
-
|
|
281
|
-
|
|
280
|
+
// If recording is going on, set the presenter query
|
|
281
|
+
logger.log(
|
|
282
|
+
LogSource.Internals,
|
|
283
|
+
'SCREENSHARE',
|
|
284
|
+
'Recording is going on set presenter query',
|
|
285
|
+
);
|
|
282
286
|
executePresenterQuery(screenShareUid);
|
|
283
287
|
} else {
|
|
284
|
-
|
|
288
|
+
logger.log(
|
|
289
|
+
LogSource.Internals,
|
|
290
|
+
'SCREENSHARE',
|
|
291
|
+
'Recording is NOT going on set normal query',
|
|
292
|
+
);
|
|
293
|
+
// If no recording is going on, set the normal query
|
|
285
294
|
executeNormalQuery();
|
|
286
295
|
}
|
|
287
296
|
};
|
|
@@ -313,7 +322,6 @@ export const ScreenshareConfigure = (props: {
|
|
|
313
322
|
try {
|
|
314
323
|
if (props.isRecordingActive) {
|
|
315
324
|
executeRecordingQuery(isActive);
|
|
316
|
-
console.log('screenshare recording layout query executed');
|
|
317
325
|
}
|
|
318
326
|
// @ts-ignore
|
|
319
327
|
await rtc.RtcEngineUnsafe.startScreenshare(
|