Skip to content

Commit

Permalink
fix log line
Browse files Browse the repository at this point in the history
  • Loading branch information
Nfrederiksen committed Aug 22, 2024
1 parent e457946 commit 2c617c8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion engine/session.js
Original file line number Diff line number Diff line change
Expand Up @@ -1548,6 +1548,7 @@ 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 @@ -1668,7 +1669,8 @@ class Session {
this.leaderIsSettingNextVod = false;
await this._playheadState.set("playheadRef", Date.now(), isLeader);
await this._playheadState.set("diffCompensation", this.diffCompensation, isLeader);
debug(`[${this._sessionId}]: sharing durrent vods diffCompensation=${this.diffCompensation}`);
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 2c617c8

Please sign in to comment.