Skip to content

Commit

Permalink
fix(conference): save local recording when conference fails (#14606)
Browse files Browse the repository at this point in the history
  • Loading branch information
nitinkushwaha17 authored May 2, 2024
1 parent 62d0d25 commit 375314c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions react/features/base/conference/middleware.any.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit 375314c

Please sign in to comment.