From dd988b643181e911c80109bf18d0481b70537479 Mon Sep 17 00:00:00 2001 From: Nfrederiksen Date: Thu, 22 Aug 2024 13:46:12 +0200 Subject: [PATCH] fix: clean up duplicate log lines --- engine/session.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/engine/session.js b/engine/session.js index d21f14a..c2e3da5 100644 --- a/engine/session.js +++ b/engine/session.js @@ -1548,7 +1548,6 @@ class Session { debug(`[${this._sessionId}]: state=VOD_PLAYING (${sessionState.vodMediaSeqVideo}_${sessionState.vodMediaSeqAudio}_${sessionState.vodMediaSeqSubtitle}, ${currentVod.getLiveMediaSequencesCount()}_${currentVod.getLiveMediaSequencesCount("audio")}_${currentVod.getLiveMediaSequencesCount("subtitle")})`); return; case SessionState.VOD_NEXT_INITIATING: - debug(`[${this._sessionId}]: state=VOD_NEXT_INITIATING (${sessionState.vodMediaSeqVideo}_${sessionState.vodMediaSeqAudio}_${sessionState.vodMediaSeqSubtitle}, ${currentVod.getLiveMediaSequencesCount()}_${currentVod.getLiveMediaSequencesCount("audio")}_${currentVod.getLiveMediaSequencesCount("subtitle")})`); debug(`[${this._sessionId}]: state=VOD_NEXT_INITIATING (${sessionState.vodMediaSeqVideo}_${sessionState.vodMediaSeqAudio}_${sessionState.vodMediaSeqSubtitle}, ${currentVod.getLiveMediaSequencesCount()}_${currentVod.getLiveMediaSequencesCount("audio")}_${currentVod.getLiveMediaSequencesCount("subtitle")})`); if (!isLeader) { debug(`[${this._sessionId}]: not the leader so just waiting for the VOD to be initiated`); @@ -1670,7 +1669,6 @@ class Session { await this._playheadState.set("playheadRef", Date.now(), isLeader); await this._playheadState.set("diffCompensation", this.diffCompensation, isLeader); debug(`[${this._sessionId}]: sharing currentVod's diffCompensation=${this.diffCompensation}`); - debug(`[${this._sessionId}]: sharing currentVod's diffCompensation=${this.diffCompensation}`); this.produceEvent({ type: 'NOW_PLAYING', data: {