feat(config) add option to show recording link (#15336)

This commit is contained in:
Mihaela Dumitru
2024-11-27 09:32:38 +02:00
committed by GitHub
parent f3324ab165
commit 4d7c051dd0
3 changed files with 5 additions and 0 deletions

View File

@@ -385,6 +385,8 @@ var config = {
// // If true, shows a warning label in the prejoin screen to point out the possibility that
// // the call you're joining might be recorded.
// // showPrejoinWarning: true,
// // If true, the notification for recording start will display a link to download the cloud recording.
// // showRecordingLink: true,
// },
// recordingService: {

View File

@@ -526,6 +526,7 @@ export interface IConfig {
recordings?: {
recordAudioAndVideo?: boolean;
showPrejoinWarning?: boolean;
showRecordingLink?: boolean;
suggestRecording?: boolean;
};
remoteVideoMenu?: {

View File

@@ -260,6 +260,7 @@ export function showStartedRecordingNotification(
if (mode !== JitsiMeetJS.constants.recording.mode.STREAM) {
const recordingSharingUrl = getRecordingSharingUrl(state);
const iAmRecordingInitiator = getLocalParticipant(state)?.id === initiatorId;
const { showRecordingLink } = state['features/base/config'].recordings || {};
notifyProps.dialogProps = {
customActionHandler: undefined,
@@ -273,6 +274,7 @@ export function showStartedRecordingNotification(
if (recordingSharingUrl
&& isVpaasMeeting(state)
&& iAmRecordingInitiator
&& showRecordingLink
&& !isSavingRecordingOnDropbox(state)) {
const region = getMeetingRegion(state);
const tenant = getVpaasTenant(state);