fix(conference): save local recording when conference fails (#14606)

This commit is contained in:
Nitin Kushwaha
2024-05-03 01:16:09 +05:30
committed by GitHub
parent 62d0d25395
commit 375314cbbd

View File

@@ -165,6 +165,10 @@ function _conferenceFailed({ dispatch, getState }: IStore, next: Function, actio
const result = next(action);
const { enableForcedReload } = getState()['features/base/config'];
if (LocalRecordingManager.isRecordingLocally()) {
dispatch(stopLocalVideoRecording());
}
// Handle specific failure reasons.
switch (error.name) {
case JitsiConferenceErrors.CONFERENCE_RESTARTED: {