feat: Handle recording already started error
This commit is contained in:
parent
e6e808c764
commit
981fc2f410
|
@ -508,6 +508,7 @@
|
||||||
"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",
|
||||||
|
"sessionAlreadyActive": "This session is already being recorded or live streamed.",
|
||||||
"signedInAs": "You are currently signed in as:",
|
"signedInAs": "You are currently signed in as:",
|
||||||
"signIn": "Sign in with Google",
|
"signIn": "Sign in with Google",
|
||||||
"signInCTA": "Sign in or enter your live stream key from YouTube.",
|
"signInCTA": "Sign in or enter your live stream key from YouTube.",
|
||||||
|
@ -772,6 +773,7 @@
|
||||||
"serviceDescription": "Your recording will be saved by the recording service",
|
"serviceDescription": "Your recording will be saved by the recording service",
|
||||||
"serviceDescriptionCloud": "Cloud recording",
|
"serviceDescriptionCloud": "Cloud recording",
|
||||||
"serviceName": "Recording service",
|
"serviceName": "Recording service",
|
||||||
|
"sessionAlreadyActive": "This session is already being recorded or live streamed.",
|
||||||
"signIn": "Sign in",
|
"signIn": "Sign in",
|
||||||
"signOut": "Sign out",
|
"signOut": "Sign out",
|
||||||
"unavailable": "Oops! The {{serviceName}} is currently unavailable. We're working on resolving the issue. Please try again later.",
|
"unavailable": "Oops! The {{serviceName}} is currently unavailable. We're working on resolving the issue. Please try again later.",
|
||||||
|
|
|
@ -261,6 +261,13 @@ function _showRecordingErrorNotification(recorderSession, dispatch) {
|
||||||
: 'recording.busyTitle'
|
: 'recording.busyTitle'
|
||||||
}));
|
}));
|
||||||
break;
|
break;
|
||||||
|
case JitsiMeetJS.constants.recording.error.UNEXPECTED_REQUEST:
|
||||||
|
dispatch(showRecordingError({
|
||||||
|
titleKey: isStreamMode
|
||||||
|
? 'liveStreaming.sessionAlreadyActive'
|
||||||
|
: 'recording.sessionAlreadyActive'
|
||||||
|
}));
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
dispatch(showRecordingError({
|
dispatch(showRecordingError({
|
||||||
descriptionKey: isStreamMode
|
descriptionKey: isStreamMode
|
||||||
|
|
Loading…
Reference in New Issue