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(breakout-rooms) disable recording and live-streaming
Saúl Ibarra Corretgéce35a88299ef
diff --git a/react/features/recording/components/LiveStream/AbstractLiveStreamButton.js b/react/features/recording/components/LiveStream/AbstractLiveStreamButton.jsindex 09abae5694..dda4991f64 100644--- a/react/features/recording/components/LiveStream/AbstractLiveStreamButton.js+++ b/react/features/recording/components/LiveStream/AbstractLiveStreamButton.js@@ -8,6 +8,7 @@ import {isLocalParticipantModerator} from '../../../base/participants';import { AbstractButton, type AbstractButtonProps } from '../../../base/toolbox/components';+import { isInBreakoutRoom } from '../../../breakout-rooms/functions';import { maybeShowPremiumFeatureDialog } from '../../../jaas/actions';import { FEATURES } from '../../../jaas/constants';import { getActiveSession } from '../../functions';@@ -167,6 +168,12 @@ export function _mapStateToProps(state: Object, ownProps: Props) {_tooltip = 'dialog.liveStreamingDisabledBecauseOfActiveRecordingTooltip';}+ // disable the button if we are in a breakout room.+ if (isInBreakoutRoom(state)) {+ _disabled = true;+ visible = false;+ }+return {_disabled,_isLiveStreamRunning: Boolean(diff --git a/react/features/recording/components/Recording/AbstractRecordButton.js b/react/features/recording/components/Recording/AbstractRecordButton.jsindex 5ab94c9e67..3bede32f15 100644--- a/react/features/recording/components/Recording/AbstractRecordButton.js+++ b/react/features/recording/components/Recording/AbstractRecordButton.js@@ -12,6 +12,7 @@ import {isLocalParticipantModerator} from '../../../base/participants';import { AbstractButton, type AbstractButtonProps } from '../../../base/toolbox/components';+import { isInBreakoutRoom } from '../../../breakout-rooms/functions';import { maybeShowPremiumFeatureDialog } from '../../../jaas/actions';import { FEATURES } from '../../../jaas/constants';import { getActiveSession } from '../../functions';@@ -176,6 +177,12 @@ export function _mapStateToProps(state: Object, ownProps: Props): Object {_tooltip = 'dialog.recordingDisabledBecauseOfActiveLiveStreamingTooltip';}+ // disable the button if we are in a breakout room.+ if (isInBreakoutRoom(state)) {+ _disabled = true;+ visible = false;+ }+return {_disabled,_isRecordingRunning: Boolean(getActiveSession(state, JitsiRecordingConstants.mode.FILE)),