feat(recording) - Show recording started notification to the initiator (#8359)
* Show recording started notification to the initiator * Translate 'recording.on' language key for English and Turkish Translate 'liveStreaming.on' language key for English and Turkish
This commit is contained in:
parent
6f5534fcb6
commit
067610b3fd
|
@ -380,7 +380,7 @@
|
||||||
"getStreamKeyManually": "We weren’t able to fetch any live streams. Try getting your live stream key from YouTube.",
|
"getStreamKeyManually": "We weren’t able to fetch any live streams. Try getting your live stream key from YouTube.",
|
||||||
"invalidStreamKey": "Live stream key may be incorrect.",
|
"invalidStreamKey": "Live stream key may be incorrect.",
|
||||||
"off": "Live Streaming stopped",
|
"off": "Live Streaming stopped",
|
||||||
"on": "Live Streaming",
|
"on": "Live Streaming started",
|
||||||
"pending": "Starting Live Stream…",
|
"pending": "Starting Live Stream…",
|
||||||
"serviceName": "Live Streaming service",
|
"serviceName": "Live Streaming service",
|
||||||
"signedInAs": "You are currently signed in as:",
|
"signedInAs": "You are currently signed in as:",
|
||||||
|
@ -497,7 +497,7 @@
|
||||||
"live": "LIVE",
|
"live": "LIVE",
|
||||||
"loggedIn": "Logged in as {{userName}}",
|
"loggedIn": "Logged in as {{userName}}",
|
||||||
"off": "Recording stopped",
|
"off": "Recording stopped",
|
||||||
"on": "Recording",
|
"on": "Recording started",
|
||||||
"pending": "Preparing to record the meeting…",
|
"pending": "Preparing to record the meeting…",
|
||||||
"rec": "REC",
|
"rec": "REC",
|
||||||
"serviceDescription": "Your recording will be saved by the recording service",
|
"serviceDescription": "Your recording will be saved by the recording service",
|
||||||
|
|
|
@ -404,7 +404,7 @@
|
||||||
"invalidStreamKey": "Canlı akış anahtarı yanlış olabilir.",
|
"invalidStreamKey": "Canlı akış anahtarı yanlış olabilir.",
|
||||||
"off": "Canlı Akış durduruldu",
|
"off": "Canlı Akış durduruldu",
|
||||||
"offBy": "{{name}} canlı akışı durdurdu",
|
"offBy": "{{name}} canlı akışı durdurdu",
|
||||||
"on": "Canlı Akış",
|
"on": "Canlı Akış başlatıldı",
|
||||||
"onBy": "{{name}} canlı akışı başlattı",
|
"onBy": "{{name}} canlı akışı başlattı",
|
||||||
"pending": "Canlı Akış başlatılıyor...",
|
"pending": "Canlı Akış başlatılıyor...",
|
||||||
"serviceName": "Canlı Akış hizmeti",
|
"serviceName": "Canlı Akış hizmeti",
|
||||||
|
@ -564,7 +564,7 @@
|
||||||
"live": "CANLI",
|
"live": "CANLI",
|
||||||
"loggedIn": "{{userName}} olarak giriş yapıldı",
|
"loggedIn": "{{userName}} olarak giriş yapıldı",
|
||||||
"off": "Kayıt durdu",
|
"off": "Kayıt durdu",
|
||||||
"on": "Kaydediliyor",
|
"on": "Kayıt başladı",
|
||||||
"pending": "Toplantıyı kaydetmeye hazırlanıyor ...",
|
"pending": "Toplantıyı kaydetmeye hazırlanıyor ...",
|
||||||
"rec": "KAYIT",
|
"rec": "KAYIT",
|
||||||
"serviceDescription": "Kaydınız kayıt hizmeti tarafından kaydedilecektir",
|
"serviceDescription": "Kaydınız kayıt hizmeti tarafından kaydedilecektir",
|
||||||
|
@ -844,7 +844,7 @@
|
||||||
"sendFeedback": "Geri bildirim gönder",
|
"sendFeedback": "Geri bildirim gönder",
|
||||||
"terms": "Kurallar",
|
"terms": "Kurallar",
|
||||||
"title": "Güvenli, tüm özelliklere erişimli ve tamamen ücretsiz görüntülü arama"
|
"title": "Güvenli, tüm özelliklere erişimli ve tamamen ücretsiz görüntülü arama"
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
"lonelyMeetingExperience": {
|
"lonelyMeetingExperience": {
|
||||||
|
|
|
@ -416,7 +416,7 @@
|
||||||
"invalidStreamKey": "Live stream key may be incorrect.",
|
"invalidStreamKey": "Live stream key may be incorrect.",
|
||||||
"off": "Live Streaming stopped",
|
"off": "Live Streaming stopped",
|
||||||
"offBy": "{{name}} stopped the live streaming",
|
"offBy": "{{name}} stopped the live streaming",
|
||||||
"on": "Live Streaming",
|
"on": "Live Streaming started",
|
||||||
"onBy": "{{name}} started the live streaming",
|
"onBy": "{{name}} started the live streaming",
|
||||||
"pending": "Starting Live Stream...",
|
"pending": "Starting Live Stream...",
|
||||||
"serviceName": "Live Streaming service",
|
"serviceName": "Live Streaming service",
|
||||||
|
@ -596,7 +596,7 @@
|
||||||
"loggedIn": "Logged in as {{userName}}",
|
"loggedIn": "Logged in as {{userName}}",
|
||||||
"off": "Recording stopped",
|
"off": "Recording stopped",
|
||||||
"offBy": "{{name}} stopped the recording",
|
"offBy": "{{name}} stopped the recording",
|
||||||
"on": "Recording",
|
"on": "Recording started",
|
||||||
"onBy": "{{name}} started the recording",
|
"onBy": "{{name}} started the recording",
|
||||||
"pending": "Preparing to record the meeting...",
|
"pending": "Preparing to record the meeting...",
|
||||||
"rec": "REC",
|
"rec": "REC",
|
||||||
|
|
|
@ -147,11 +147,11 @@ export function showStartedRecordingNotification(streamType: string, participant
|
||||||
= streamType === JitsiMeetJS.constants.recording.mode.STREAM;
|
= streamType === JitsiMeetJS.constants.recording.mode.STREAM;
|
||||||
const descriptionArguments = { name: participantName };
|
const descriptionArguments = { name: participantName };
|
||||||
const dialogProps = isLiveStreaming ? {
|
const dialogProps = isLiveStreaming ? {
|
||||||
descriptionKey: 'liveStreaming.onBy',
|
descriptionKey: participantName ? 'liveStreaming.onBy' : 'liveStreaming.on',
|
||||||
descriptionArguments,
|
descriptionArguments,
|
||||||
titleKey: 'dialog.liveStreaming'
|
titleKey: 'dialog.liveStreaming'
|
||||||
} : {
|
} : {
|
||||||
descriptionKey: 'recording.onBy',
|
descriptionKey: participantName ? 'recording.onBy' : 'recording.on',
|
||||||
descriptionArguments,
|
descriptionArguments,
|
||||||
titleKey: 'dialog.recording'
|
titleKey: 'dialog.recording'
|
||||||
};
|
};
|
||||||
|
|
|
@ -155,13 +155,12 @@ MiddlewareRegistry.register(({ dispatch, getState }) => next => action => {
|
||||||
|
|
||||||
if (updatedSessionData.status === ON
|
if (updatedSessionData.status === ON
|
||||||
&& (!oldSessionData || oldSessionData.status !== ON)) {
|
&& (!oldSessionData || oldSessionData.status !== ON)) {
|
||||||
if (initiator) {
|
if (typeof recordingLimit === 'object') {
|
||||||
const initiatorName = initiator && getParticipantDisplayName(getState, initiator.getId());
|
|
||||||
|
|
||||||
initiatorName && dispatch(showStartedRecordingNotification(mode, initiatorName));
|
|
||||||
} else if (typeof recordingLimit === 'object') {
|
|
||||||
// Show notification with additional information to the initiator.
|
// Show notification with additional information to the initiator.
|
||||||
dispatch(showRecordingLimitNotification(mode));
|
dispatch(showRecordingLimitNotification(mode));
|
||||||
|
} else {
|
||||||
|
dispatch(showStartedRecordingNotification(
|
||||||
|
mode, initiator && getParticipantDisplayName(getState, initiator.getId())));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue