Skip to content

Commit

Permalink
fix: Fix support of getAllThumbnails when using DASH multi-period (#6464
Browse files Browse the repository at this point in the history
)

Fixes #6461

---------

Co-authored-by: Wojciech Tyczyński <[email protected]>
  • Loading branch information
2 people authored and joeyparrish committed May 7, 2024
1 parent c3ce673 commit 59e1f10
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lib/media/segment_index.js
Original file line number Diff line number Diff line change
Expand Up @@ -659,6 +659,16 @@ shaka.media.MetaSegmentIndex = class extends shaka.media.SegmentIndex {
this.indexes_ = [];
}

/**
* @override
* @export
*/
forEachTopLevelReference(fn) {
for (const index of this.indexes_) {
index.forEachTopLevelReference(fn);
}
}

/**
* @override
* @export
Expand Down

0 comments on commit 59e1f10

Please sign in to comment.