Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
feat(config) add option to show recording link (#15336)
Mihaela Dumitru4d7c051dd0de
diff --git a/config.js b/config.jsindex 57fcbc04b2..05d4194a14 100644--- a/config.js+++ b/config.js@@ -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: {diff --git a/react/features/base/config/configType.ts b/react/features/base/config/configType.tsindex 34e34c1928..3de3ecd799 100644--- a/react/features/base/config/configType.ts+++ b/react/features/base/config/configType.ts@@ -526,6 +526,7 @@ export interface IConfig {recordings?: {recordAudioAndVideo?: boolean;showPrejoinWarning?: boolean;+ showRecordingLink?: boolean;suggestRecording?: boolean;};remoteVideoMenu?: {diff --git a/react/features/recording/actions.any.ts b/react/features/recording/actions.any.tsindex 4ff032664a..1f8d41edbf 100644--- a/react/features/recording/actions.any.ts+++ b/react/features/recording/actions.any.ts@@ -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);