Skip to content

Commit

Permalink
fix: clean up duplicate log lines
Browse files Browse the repository at this point in the history
  • Loading branch information
Nfrederiksen committed Aug 22, 2024
1 parent 2c617c8 commit dd988b6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions engine/session.js
Original file line number Diff line number Diff line change
Expand Up @@ -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`);
Expand Down Expand Up @@ -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: {
Expand Down

0 comments on commit dd988b6

Please sign in to comment.