|
|
@@ -120,6 +120,13 @@ function ConferenceInfo(props: Props) {
|
|
120
|
120
|
}
|
|
121
|
121
|
{ _showParticipantCount && <ParticipantsCount /> }
|
|
122
|
122
|
<E2EELabel />
|
|
|
123
|
+ {_hideRecordingLabel && (
|
|
|
124
|
+ <>
|
|
|
125
|
+ <RecordingLabel mode = { JitsiRecordingConstants.mode.FILE } />
|
|
|
126
|
+ <RecordingLabel mode = { JitsiRecordingConstants.mode.STREAM } />
|
|
|
127
|
+ <LocalRecordingLabel />
|
|
|
128
|
+ </>
|
|
|
129
|
+ )}
|
|
123
|
130
|
<TranscribingLabel />
|
|
124
|
131
|
<VideoQualityLabel />
|
|
125
|
132
|
<InsecureRoomNameLabel />
|
|
|
@@ -148,10 +155,12 @@ function _mapStateToProps(state) {
|
|
148
|
155
|
hideConferenceTimer,
|
|
149
|
156
|
hideConferenceSubject,
|
|
150
|
157
|
hideParticipantsStats,
|
|
151
|
|
- hideRecordingLabel
|
|
|
158
|
+ hideRecordingLabel,
|
|
|
159
|
+ iAmRecorder
|
|
152
|
160
|
} = state['features/base/config'];
|
|
153
|
161
|
const { clientWidth } = state['features/base/responsive-ui'];
|
|
154
|
162
|
|
|
|
163
|
+ const shouldHideRecordingLabel = hideRecordingLabel || iAmRecorder;
|
|
155
|
164
|
const fileRecordingStatus = getSessionStatusToShow(state, JitsiRecordingConstants.mode.FILE);
|
|
156
|
165
|
const streamRecordingStatus = getSessionStatusToShow(state, JitsiRecordingConstants.mode.STREAM);
|
|
157
|
166
|
const isFileRecording = fileRecordingStatus ? fileRecordingStatus !== JitsiRecordingConstants.status.OFF : false;
|
|
|
@@ -162,12 +171,12 @@ function _mapStateToProps(state) {
|
|
162
|
171
|
return {
|
|
163
|
172
|
_hideConferenceNameAndTimer: clientWidth < 300,
|
|
164
|
173
|
_hideConferenceTimer: Boolean(hideConferenceTimer),
|
|
165
|
|
- _hideRecordingLabel: hideRecordingLabel,
|
|
|
174
|
+ _hideRecordingLabel: shouldHideRecordingLabel,
|
|
166
|
175
|
_fullWidth: state['features/video-layout'].tileViewEnabled,
|
|
167
|
176
|
_showParticipantCount: participantCount > 2 && !hideParticipantsStats,
|
|
168
|
177
|
_subject: hideConferenceSubject ? '' : getConferenceName(state),
|
|
169
|
178
|
_visible: isToolboxVisible(state),
|
|
170
|
|
- _recordingLabel: (isFileRecording || isStreamRecording || isEngaged) && !hideRecordingLabel
|
|
|
179
|
+ _recordingLabel: (isFileRecording || isStreamRecording || isEngaged) && !shouldHideRecordingLabel
|
|
171
|
180
|
};
|
|
172
|
181
|
}
|
|
173
|
182
|
|