Skip to content

Commit

Permalink
fix: issues with alignment in HA mode (#312)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nfrederiksen authored Oct 4, 2024
1 parent b310e3b commit 61ee564
Show file tree
Hide file tree
Showing 4 changed files with 170 additions and 164 deletions.
4 changes: 2 additions & 2 deletions engine/session.js
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ class Session {
let mediaSequenceValue = 0;
if (currentVod.sequenceAlwaysContainNewSegments) {
mediaSequenceValue = currentVod.mediaSequenceValues[playheadState.vodMediaSeqVideo];
debug(`[${this._sessionId}]: {${mediaSequenceValue}}_{${currentVod.getLastSequenceMediaSequenceValue()}}`);
debug(`[${this._sessionId}]: V{${mediaSequenceValue}}_{${currentVod.getLastSequenceMediaSequenceValue()}}`);
} else {
mediaSequenceValue = playheadState.vodMediaSeqVideo;
}
Expand Down Expand Up @@ -556,7 +556,7 @@ class Session {
let audioSequenceValue = 0;
if (currentVod.sequenceAlwaysContainNewSegments) {
audioSequenceValue = currentVod.mediaSequenceValuesAudio[playheadState.vodMediaSeqAudio];
debug(`[${this._sessionId}]: {${audioSequenceValue}}_{${currentVod.getLastSequenceMediaSequenceValueAudio()}}`);
debug(`[${this._sessionId}]: A{${audioSequenceValue}}_{${currentVod.getLastSequenceMediaSequenceValueAudio()}}`);
} else {
audioSequenceValue = playheadState.vodMediaSeqAudio;
}
Expand Down
Loading

0 comments on commit 61ee564

Please sign in to comment.