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: decouple local recording from needing a valid jwt (#14434)
Avram Tudor68dc111e3c0a
diff --git a/react/features/recording/functions.ts b/react/features/recording/functions.tsindex c08b78b901..61eeba0652 100644--- a/react/features/recording/functions.ts+++ b/react/features/recording/functions.ts@@ -253,12 +253,12 @@ export function getRecordButtonProps(state: IReduxState) {const localRecordingEnabled = !localRecording?.disable && supportsLocalRecording();const dropboxEnabled = isDropboxEnabled(state);- const recordingEnabled = recordingService?.enabled || localRecordingEnabled || dropboxEnabled;+ const recordingEnabled = recordingService?.enabled || dropboxEnabled;- if (isModerator) {+ if (localRecordingEnabled) {+ visible = true;+ } else if (isModerator) {visible = recordingEnabled ? isJwtFeatureEnabled(state, 'recording', true) : false;- } else {- visible = navigator.product !== 'ReactNative' && localRecordingEnabled;}// disable the button if the livestreaming is running.