Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
fix(recording): enable start button when local recording is preselected
damencho11689f02ae4b
diff --git a/react/features/recording/components/Recording/AbstractStartRecordingDialogContent.tsx b/react/features/recording/components/Recording/AbstractStartRecordingDialogContent.tsxindex 5944ae0c61..e16e0aaa3b 100644--- a/react/features/recording/components/Recording/AbstractStartRecordingDialogContent.tsx+++ b/react/features/recording/components/Recording/AbstractStartRecordingDialogContent.tsx@@ -418,18 +418,21 @@ class AbstractStartRecordingDialogContent extends Component<IProps, IState> {return;}+ // Selecting local recording implies audio+video — ensure the flag is on+ // so _isChanged() reflects the selection and the Start button enables.+ // This must happen before the early return below: when LOCAL is+ // pre-selected by the dialog (no other service available) the flag+ // would otherwise never be set and the button would stay disabled.+ if (!shouldRecordAudioAndVideo) {+ onRecordAudioAndVideoChange(true);+ }+// act like group, cannot toggle offif (selectedRecordingService === RECORDING_TYPES.LOCAL) {return;}onChange(RECORDING_TYPES.LOCAL);-- // Selecting local recording implies audio+video — ensure the flag is on- // so _isChanged() reflects the selection and the Apply button enables.- if (!shouldRecordAudioAndVideo) {- onRecordAudioAndVideoChange(true);- }}/**