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(carmode) Don`t show rec/live labels after rec/ls finished
Horatiu Muresan90bcbebedb4a
diff --git a/react/features/recording/components/AbstractRecordingLabel.js b/react/features/recording/components/AbstractRecordingLabel.jsindex d3e1da6a6b..f4aeb7d618 100644--- a/react/features/recording/components/AbstractRecordingLabel.js+++ b/react/features/recording/components/AbstractRecordingLabel.js@@ -84,12 +84,30 @@ export default class AbstractRecordingLabelsuper(props);this.state = {- staleLabel: false+ staleLabel: true};this._updateStaleStatus({}, props);}+ /**+ * Implements React {@code Component}'s componentDidMount.+ *+ * @inheritdoc+ */+ componentDidMount() {+ this._mounted = true;+ }++ /**+ * Implements React {@code Component}'s componentWillUnmount.+ *+ * @inheritdoc+ */+ componentWillUnmount() {+ this._mounted = false;+ }+/*** Implements {@code Component#componentDidUpdate}.*@@ -149,6 +167,10 @@ export default class AbstractRecordingLabelif (newProps._status === JitsiRecordingConstants.status.OFF) {if (oldProps._status !== JitsiRecordingConstants.status.OFF) {setTimeout(() => {+ if (!this._mounted) {+ return;+ }+// Only if it's still OFF.if (this.props._status=== JitsiRecordingConstants.status.OFF) {