mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 03:12:29 +00:00
feat(config) add option to show recording link (#15336)
This commit is contained in:
@@ -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: {
|
||||
|
||||
@@ -526,6 +526,7 @@ export interface IConfig {
|
||||
recordings?: {
|
||||
recordAudioAndVideo?: boolean;
|
||||
showPrejoinWarning?: boolean;
|
||||
showRecordingLink?: boolean;
|
||||
suggestRecording?: boolean;
|
||||
};
|
||||
remoteVideoMenu?: {
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user