diff --git a/lib/media/segment_index.js b/lib/media/segment_index.js index bad96a0343..544d9bd7b9 100644 --- a/lib/media/segment_index.js +++ b/lib/media/segment_index.js @@ -363,6 +363,8 @@ shaka.media.SegmentIndex = class { lastReference.status, lastReference.hlsAes128Key, ); + this.references[this.references.length - 1].discontinuitySequence = + lastReference.discontinuitySequence; }