From 6d46c58c9f349c1fdef17a5e867389a01a3ffb7c Mon Sep 17 00:00:00 2001 From: Hristo Terezov Date: Wed, 4 Oct 2023 16:53:53 -0500 Subject: [PATCH] fix: Properly log remote track mute changes. --- modules/RTC/JitsiRemoteTrack.js | 2 ++ modules/connectivity/TrackStreamingStatus.ts | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/RTC/JitsiRemoteTrack.js b/modules/RTC/JitsiRemoteTrack.js index 92439b80ea..1ba74edfe1 100644 --- a/modules/RTC/JitsiRemoteTrack.js +++ b/modules/RTC/JitsiRemoteTrack.js @@ -222,6 +222,8 @@ export default class JitsiRemoteTrack extends JitsiTrack { } this.muted = value; + + logger.info(`Mute ${this}: ${value}`); this.emit(JitsiTrackEvents.TRACK_MUTE_CHANGED, this); } diff --git a/modules/connectivity/TrackStreamingStatus.ts b/modules/connectivity/TrackStreamingStatus.ts index ccff4c67ec..193a83db75 100644 --- a/modules/connectivity/TrackStreamingStatus.ts +++ b/modules/connectivity/TrackStreamingStatus.ts @@ -621,8 +621,6 @@ export class TrackStreamingStatusImpl { const sourceName = this.track.getSourceName(); - logger.debug(`Detector on track signalling mute changed: ${sourceName}`, track.isMuted()); - this.figureOutStreamingStatus(); }